API

Main.PiecewisePolynomials.PiecewisePolyType

Type for function piecewise polynomial.

PiecewisePoly(
    polys::Vector{<:Poly},
    knots::Vector{<:Real};
    issafe::Bool = false
    )

Arguments

  • polys – polynomials
  • knots – polynomials segments
  • issafe – if true, correctness of agruments is not cheched

Fields

  • polys::Vector{<:Poly} – function (type depends on the basis)
  • knots::Vector{<:Real} – support of the function
source