TPSAInterface

The TPSA package extension should provide overloads for the following functions:

TPSAInterface.getiFunction
geti(t, i::Integer)

Gets the i-th monomial coefficient in the TPS t, where i=0 specifies the scalar part, and the monomials are sorted by order.

source
TPSAInterface.getmFunction
getm(t, mono::AbstractArray{<:Integer})

Gets the coefficient of the monomial with orders mono.

source
TPSAInterface.seti!Function
seti!(t, v, i::Integer)

Sets the i-th monomial coefficient in the TPS t to v, where i=0 specifies the scalar part, and the monomials are sorted by order.

source
TPSAInterface.setm!Function
setm!(t, v, mono::AbstractArray{<:Integer})

Sets the coefficient of the monomial with orders mono to v.

source
TPSAInterface.cutord!Function

Sets t equal to t1 with monomials at order ord and above removed. Or, if ord is negative, will remove monomials with orders at and below abs(ord).

source