Differential operators
BSplineKit.DifferentialOps — Module
DifferentialOpsModule defining types describing differential operators and compositions thereof.
Operators
BSplineKit.DifferentialOps.AbstractDifferentialOp — Type
AbstractDifferentialOpRepresents a general differential operator.
BSplineKit.DifferentialOps.Derivative — Type
Derivative{n} <: AbstractDifferentialOpSpecifies the n-th derivative of a function.
BSplineKit.DifferentialOps.DerivativeUnitRange — Type
DerivativeUnitRange{m, n} <: AbstractDifferentialOpSpecifies a range of derivatives.
Examples
Two ways of constructing derivative ranges:
julia> Derivative(2):Derivative(4)
Derivative(2:4)
julia> Derivative(2:4)
Derivative(2:4)
julia> Tuple(Derivative(2:4))
(D{2}, D{3}, D{4})BSplineKit.DifferentialOps.ScaledDerivative — Type
ScaledDerivative{n} <: AbstractDifferentialOpn-th derivative of a function scaled by a constant coefficient.
BSplineKit.DifferentialOps.DifferentialOpSum — Type
DifferentialOpSum <: AbstractDifferentialOpSum of two differential operators.
BSplineKit.DifferentialOps.max_order — Function
max_order(op::AbstractDifferentialOp)
max_order(ops...)Get maximum derivative order of one or more differential operators.
Projections
BSplineKit.DifferentialOps.AbstractNormalDirection — Type
AbstractNormalDirectionRepresents the normal direction on a given domain boundary.
BSplineKit.DifferentialOps.LeftNormal — Type
LeftNormal <: AbstractNormalDirectionSpecifies the normal direction on the left boundary of a 1D domain.
The left normal direction goes opposite to the coordinate axis.
BSplineKit.DifferentialOps.RightNormal — Type
RightNormal <: AbstractNormalDirectionSpecifies the normal direction on the right boundary of a 1D domain.
The right normal direction is equal to that of the coordinate axis.
LinearAlgebra.dot — Method
dot(op::AbstractDifferentialOp, dir::AbstractNormalDirection) -> AbstractDifferentialOpProject derivative along a normal direction.
This should be used to convert from a normal derivative at the boundaries, to a derivative along the coordinate axes of the domain.
In practice, this returns op for RightNormal. For LeftNormal, it multiplies the odd-order derivatives by -1.