API
DACE.DA
DACE.DA
DACE.DA
DACE.deriv
DACE.deriv
DACE.eval
DACE.eval
DACE.eval
DACE.eval
DACE.eval
DACE.eval
DACE.eval
DACE.eval
DACE.eval
DACE.eval
DACE.eval
DACE.eval
DACE.eval
DACE.eval
DACE.eval
DACE.eval
DACE.evalScalar
DACE.evalScalar
DACE.evalScalar
DACE.evalScalar
DACE.evalScalar
DACE.evalScalar
DACE.getEps
DACE.getEpsMac
DACE.getMaxMonomials
DACE.getMaxOrder
DACE.getMaxVariables
DACE.getMonomials
DACE.getTO
DACE.init
DACE.popTO
DACE.pushTO
DACE.setEps
DACE.setTO
DACE.DA
— Typeabstract type DA <: Real
DA object representing a single polynomial.
The default constructor (with no arguments) creates an empty DA object representing the constant zero function.
DACE.DA
— MethodDA(i::Integer, c::Number)
Create a DA object as c
times the independent variable number i
.
DACE.DA
— MethodDA(c::Number)
Create a DA object with the constant part equal to c
.
DACE.deriv
— Methodderiv(
arg1::Union{DA, CxxWrap.CxxWrapCore.ConstCxxRef{<:DA}, CxxWrap.CxxWrapCore.CxxRef{<:DA}},
arg2::Integer
) -> DACE.DAAllocated
Derivative of DA arg1
with respect to given variable, arg2
DACE.deriv
— Methodderiv(
arg1::Union{DA, CxxWrap.CxxWrapCore.ConstCxxRef{<:DA}, CxxWrap.CxxWrapCore.CxxRef{<:DA}},
arg2::Union{CxxWrap.CxxWrapCore.ConstCxxRef{CxxWrap.StdLib.StdVector{UInt32}}, CxxWrap.CxxWrapCore.CxxRef{CxxWrap.StdLib.StdVector{UInt32}}, CxxWrap.StdLib.StdVector{UInt32}}
) -> DACE.DAAllocated
Derivative of DA arg1
with respect to given variables, arg2
DACE.eval
— Methodeval(
arg1::Union{AlgebraicVector{DA}, CxxWrap.CxxWrapCore.ConstCxxRef{<:AlgebraicVector{DA}}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{DA}}},
arg2::Union{AlgebraicVector{DA}, CxxWrap.CxxWrapCore.ConstCxxRef{<:AlgebraicVector{DA}}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{DA}}}
) -> DACE.AlgebraicVectorAllocated{DA}
Evaluation of arg1
with a vector of arguments, arg2
.
DACE.eval
— Methodeval(
arg1::Union{AlgebraicVector{DA}, CxxWrap.CxxWrapCore.ConstCxxRef{<:AlgebraicVector{DA}}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{DA}}},
arg2::Union{AlgebraicVector{Float64}, CxxWrap.CxxWrapCore.ConstCxxRef{<:AlgebraicVector{Float64}}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{Float64}}}
) -> DACE.AlgebraicVectorAllocated{Float64}
Evaluation of arg1
with a vector of arguments, arg2
.
DACE.eval
— Methodeval(
arg1::Union{AlgebraicVector{DA}, CxxWrap.CxxWrapCore.ConstCxxRef{<:AlgebraicVector{DA}}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{DA}}},
arg2::Union{CxxWrap.StdLib.StdVector{DA}, CxxWrap.CxxWrapCore.ConstCxxRef{<:CxxWrap.StdLib.StdVector{DA}}, CxxWrap.CxxWrapCore.CxxRef{<:CxxWrap.StdLib.StdVector{DA}}}
) -> CxxWrap.StdLib.StdVectorAllocated{DA}
Evaluation of arg1
with a vector of arguments, arg2
.
DACE.eval
— Methodeval(
arg1::Union{AlgebraicVector{DA}, CxxWrap.CxxWrapCore.ConstCxxRef{<:AlgebraicVector{DA}}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{DA}}},
arg2::Union{CxxWrap.StdLib.StdVector{Float64}, CxxWrap.CxxWrapCore.ConstCxxRef{<:CxxWrap.StdLib.StdVector{Float64}}, CxxWrap.CxxWrapCore.CxxRef{<:CxxWrap.StdLib.StdVector{Float64}}}
) -> CxxWrap.StdLib.StdVectorAllocated{Float64}
Evaluation of arg1
with a vector of arguments, arg2
.
DACE.eval
— Methodeval(
arg1::Union{DA, CxxWrap.CxxWrapCore.ConstCxxRef{<:DA}, CxxWrap.CxxWrapCore.CxxRef{<:DA}},
arg2::Union{AlgebraicVector{DA}, CxxWrap.CxxWrapCore.ConstCxxRef{<:AlgebraicVector{DA}}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{DA}}}
) -> DACE.DAAllocated
Evaluation of arg1
with a vector of arguments, arg2
.
DACE.eval
— Methodeval(
arg1::Union{DA, CxxWrap.CxxWrapCore.ConstCxxRef{<:DA}, CxxWrap.CxxWrapCore.CxxRef{<:DA}},
arg2::Union{AlgebraicVector{Float64}, CxxWrap.CxxWrapCore.ConstCxxRef{<:AlgebraicVector{Float64}}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{Float64}}}
) -> Float64
Evaluation of arg1
with a vector of arguments, arg2
.
DACE.eval
— Methodeval(
arg1::Union{DA, CxxWrap.CxxWrapCore.ConstCxxRef{<:DA}, CxxWrap.CxxWrapCore.CxxRef{<:DA}},
arg2::Union{CxxWrap.StdLib.StdVector{DA}, CxxWrap.CxxWrapCore.ConstCxxRef{<:CxxWrap.StdLib.StdVector{DA}}, CxxWrap.CxxWrapCore.CxxRef{<:CxxWrap.StdLib.StdVector{DA}}}
) -> DACE.DAAllocated
Evaluation of arg1
with a vector of arguments, arg2
.
DACE.eval
— Methodeval(
arg1::Union{DA, CxxWrap.CxxWrapCore.ConstCxxRef{<:DA}, CxxWrap.CxxWrapCore.CxxRef{<:DA}},
arg2::Union{CxxWrap.StdLib.StdVector{Float64}, CxxWrap.CxxWrapCore.ConstCxxRef{<:CxxWrap.StdLib.StdVector{Float64}}, CxxWrap.CxxWrapCore.CxxRef{<:CxxWrap.StdLib.StdVector{Float64}}}
) -> Float64
Evaluation of arg1
with a vector of arguments, arg2
.
DACE.eval
— Methodeval(
arg1::Union{compiledDA, CxxWrap.CxxWrapCore.ConstCxxRef{<:compiledDA}, CxxWrap.CxxWrapCore.CxxRef{<:compiledDA}},
arg2::Union{AlgebraicVector{DA}, CxxWrap.CxxWrapCore.ConstCxxRef{<:AlgebraicVector{DA}}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{DA}}},
arg3::Union{AlgebraicVector{DA}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{DA}}}
)
Evaluate the compiled polynomial, arg1
, with a vector of any arithmetic type, arg2
, and return vector of results, arg3
.
DACE.eval
— Methodeval(
arg1::Union{compiledDA, CxxWrap.CxxWrapCore.ConstCxxRef{<:compiledDA}, CxxWrap.CxxWrapCore.CxxRef{<:compiledDA}},
arg2::Union{AlgebraicVector{DA}, CxxWrap.CxxWrapCore.ConstCxxRef{<:AlgebraicVector{DA}}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{DA}}}
) -> DACE.AlgebraicVectorAllocated{DA}
Evaluation of arg1
with a vector of arguments, arg2
.
DACE.eval
— Methodeval(
arg1::Union{compiledDA, CxxWrap.CxxWrapCore.ConstCxxRef{<:compiledDA}, CxxWrap.CxxWrapCore.CxxRef{<:compiledDA}},
arg2::Union{AlgebraicVector{Float64}, CxxWrap.CxxWrapCore.ConstCxxRef{<:AlgebraicVector{Float64}}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{Float64}}},
arg3::Union{AlgebraicVector{Float64}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{Float64}}}
)
Evaluate the compiled polynomial, arg1
, with a vector of any arithmetic type, arg2
, and return vector of results, arg3
.
DACE.eval
— Methodeval(
arg1::Union{compiledDA, CxxWrap.CxxWrapCore.ConstCxxRef{<:compiledDA}, CxxWrap.CxxWrapCore.CxxRef{<:compiledDA}},
arg2::Union{AlgebraicVector{Float64}, CxxWrap.CxxWrapCore.ConstCxxRef{<:AlgebraicVector{Float64}}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{Float64}}}
) -> DACE.AlgebraicVectorAllocated{Float64}
Evaluation of arg1
with a vector of arguments, arg2
.
DACE.eval
— Methodeval(
arg1::Union{compiledDA, CxxWrap.CxxWrapCore.ConstCxxRef{<:compiledDA}, CxxWrap.CxxWrapCore.CxxRef{<:compiledDA}},
arg2::Union{CxxWrap.StdLib.StdVector{DA}, CxxWrap.CxxWrapCore.ConstCxxRef{<:CxxWrap.StdLib.StdVector{DA}}, CxxWrap.CxxWrapCore.CxxRef{<:CxxWrap.StdLib.StdVector{DA}}},
arg3::Union{CxxWrap.StdLib.StdVector{DA}, CxxWrap.CxxWrapCore.CxxRef{<:CxxWrap.StdLib.StdVector{DA}}}
)
Evaluate the compiled polynomial, arg1
, with a vector of any arithmetic type, arg2
, and return vector of results, arg3
.
DACE.eval
— Methodeval(
arg1::Union{compiledDA, CxxWrap.CxxWrapCore.ConstCxxRef{<:compiledDA}, CxxWrap.CxxWrapCore.CxxRef{<:compiledDA}},
arg2::Union{CxxWrap.StdLib.StdVector{DA}, CxxWrap.CxxWrapCore.ConstCxxRef{<:CxxWrap.StdLib.StdVector{DA}}, CxxWrap.CxxWrapCore.CxxRef{<:CxxWrap.StdLib.StdVector{DA}}}
) -> CxxWrap.StdLib.StdVectorAllocated{DA}
Evaluation of arg1
with a vector of arguments, arg2
.
DACE.eval
— Methodeval(
arg1::Union{compiledDA, CxxWrap.CxxWrapCore.ConstCxxRef{<:compiledDA}, CxxWrap.CxxWrapCore.CxxRef{<:compiledDA}},
arg2::Union{CxxWrap.StdLib.StdVector{Float64}, CxxWrap.CxxWrapCore.ConstCxxRef{<:CxxWrap.StdLib.StdVector{Float64}}, CxxWrap.CxxWrapCore.CxxRef{<:CxxWrap.StdLib.StdVector{Float64}}},
arg3::Union{CxxWrap.StdLib.StdVector{Float64}, CxxWrap.CxxWrapCore.CxxRef{<:CxxWrap.StdLib.StdVector{Float64}}}
)
Evaluate the compiled polynomial, arg1
, with a vector of any arithmetic type, arg2
, and return vector of results, arg3
.
DACE.eval
— Methodeval(
arg1::Union{compiledDA, CxxWrap.CxxWrapCore.ConstCxxRef{<:compiledDA}, CxxWrap.CxxWrapCore.CxxRef{<:compiledDA}},
arg2::Union{CxxWrap.StdLib.StdVector{Float64}, CxxWrap.CxxWrapCore.ConstCxxRef{<:CxxWrap.StdLib.StdVector{Float64}}, CxxWrap.CxxWrapCore.CxxRef{<:CxxWrap.StdLib.StdVector{Float64}}}
) -> CxxWrap.StdLib.StdVectorAllocated{Float64}
Evaluation of arg1
with a vector of arguments, arg2
.
DACE.evalScalar
— MethodevalScalar(
arg1::Union{AlgebraicVector{DA}, CxxWrap.CxxWrapCore.ConstCxxRef{<:AlgebraicVector{DA}}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{DA}}},
arg2::Union{DA, CxxWrap.CxxWrapCore.ConstCxxRef{<:DA}, CxxWrap.CxxWrapCore.CxxRef{<:DA}}
) -> DACE.AlgebraicVectorAllocated{DA}
Evaluation of arg1
with a single arithmetic type argument, arg2
.
DACE.evalScalar
— MethodevalScalar(
arg1::Union{AlgebraicVector{DA}, CxxWrap.CxxWrapCore.ConstCxxRef{<:AlgebraicVector{DA}}, CxxWrap.CxxWrapCore.CxxRef{<:AlgebraicVector{DA}}},
arg2::Union{Float64, Int64, Ref{Float64}, Irrational}
) -> DACE.AlgebraicVectorAllocated{Float64}
Evaluation of arg1
with a single arithmetic type argument, arg2
.
DACE.evalScalar
— MethodevalScalar(
arg1::Union{DA, CxxWrap.CxxWrapCore.ConstCxxRef{<:DA}, CxxWrap.CxxWrapCore.CxxRef{<:DA}},
arg2::Union{DA, CxxWrap.CxxWrapCore.ConstCxxRef{<:DA}, CxxWrap.CxxWrapCore.CxxRef{<:DA}}
) -> DACE.DAAllocated
Evaluation of arg1
with a single arithmetic type argument, arg2
.
DACE.evalScalar
— MethodevalScalar(
arg1::Union{DA, CxxWrap.CxxWrapCore.ConstCxxRef{<:DA}, CxxWrap.CxxWrapCore.CxxRef{<:DA}},
arg2::Union{Float64, Int64, Ref{Float64}, Irrational}
) -> Float64
Evaluation of arg1
with a single arithmetic type argument, arg2
.
DACE.evalScalar
— MethodevalScalar(
arg1::Union{compiledDA, CxxWrap.CxxWrapCore.ConstCxxRef{<:compiledDA}, CxxWrap.CxxWrapCore.CxxRef{<:compiledDA}},
arg2::Union{DA, CxxWrap.CxxWrapCore.ConstCxxRef{<:DA}, CxxWrap.CxxWrapCore.CxxRef{<:DA}}
) -> CxxWrap.StdLib.StdVectorAllocated{DA}
Evaluation of arg1
with a single arithmetic type argument, arg2
.
DACE.evalScalar
— MethodevalScalar(
arg1::Union{compiledDA, CxxWrap.CxxWrapCore.ConstCxxRef{<:compiledDA}, CxxWrap.CxxWrapCore.CxxRef{<:compiledDA}},
arg2::Union{Float64, Int64, Ref{Float64}, Irrational}
) -> CxxWrap.StdLib.StdVectorAllocated{Float64}
Evaluation of arg1
with a single arithmetic type argument, arg2
.
DACE.getEps
— MethodgetEps() -> Float64
Return the cutoff value eps currently set for computations, or zero if undefined.
DACE.getEpsMac
— MethodgetEpsMac() -> Float64
Return the machine epsilon (pessimistic estimate), or zero if undefined.
DACE.getMaxMonomials
— MethodgetMaxMonomials() -> Int64
Return the maximum number of monomials available with the order and number of variables specified, or zero if undefined.
DACE.getMaxOrder
— MethodgetMaxOrder() -> Int64
Return the maximum order currently set for the computation, or zero if undefined.
DACE.getMaxVariables
— MethodgetMaxVariables() -> Int64
Return the maximum number of variables set for the computations, or zero if undefined.
DACE.getMonomials
— MethodgetMonomials(
arg1::Union{DA, CxxWrap.CxxWrapCore.ConstCxxRef{<:DA}, CxxWrap.CxxWrapCore.CxxRef{<:DA}}
) -> CxxWrap.StdLib.StdVectorAllocated{DACE.Monomial}
Get vector of all non-zero Monomials for DA arg1
DACE.getTO
— MethodgetTO() -> Int64
Return the truncation order currently set for computations, or zero if undefined.
All terms larger than the truncation order are discarded in subsequent operations.
DACE.init
— Methodinit(arg1::Integer, arg2::Integer)
Initialize the DACE control arrays and set the maximum order, arg1
, and the maximum number of variables, arg2
.
Note: must be called before any other DA routine can be used!
DACE.popTO
— MethodpopTO()
Restore the previous truncation order from the truncation order stack.
All terms larger than the truncation order are discarded in subsequent operations.
DACE.pushTO
— MethodpushTO(arg1::Integer)
Set a new trunction order (arg1
), saving the previous one on the truncation order stack.
All terms larger than the truncation order are discarded in subsequent operations.
DACE.setEps
— MethodsetEps(arg1::Union{Float64, Int64, Irrational}) -> Float64
Set the cutoff value eps to arg1
and return the previous value, or zero if undefined.
DACE.setTO
— MethodsetTO(arg1::Integer) -> Int64
Set the truncation order to arg1
and return the previous value, or zero if undefined.
All terms larger than the truncation order are discarded in subsequent operations.