API

DACE.DAType
abstract 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.

source
DACE.DAMethod
DA(i::Integer, c::Number)

Create a DA object as c times the independent variable number i.

source
DACE.DAMethod
DA(c::Number)

Create a DA object with the constant part equal to c.

source
DACE.derivMethod
deriv(
    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

source
DACE.derivMethod
deriv(
    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

source
DACE.evalMethod
eval(
    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.

source
DACE.evalMethod
eval(
    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.

source
DACE.evalMethod
eval(
    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.

source
DACE.evalMethod
eval(
    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.

source
DACE.evalMethod
eval(
    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.

source
DACE.evalMethod
eval(
    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.

source
DACE.evalMethod
eval(
    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.

source
DACE.evalMethod
eval(
    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.

source
DACE.evalMethod
eval(
    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.

source
DACE.evalMethod
eval(
    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.

source
DACE.evalMethod
eval(
    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.

source
DACE.evalMethod
eval(
    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.

source
DACE.evalMethod
eval(
    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.

source
DACE.evalMethod
eval(
    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.

source
DACE.evalMethod
eval(
    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.

source
DACE.evalMethod
eval(
    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.

source
DACE.evalScalarMethod
evalScalar(
    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.

source
DACE.evalScalarMethod
evalScalar(
    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.

source
DACE.evalScalarMethod
evalScalar(
    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.

source
DACE.evalScalarMethod
evalScalar(
    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.

source
DACE.evalScalarMethod
evalScalar(
    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.

source
DACE.evalScalarMethod
evalScalar(
    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.

source
DACE.getEpsMethod
getEps() -> Float64

Return the cutoff value eps currently set for computations, or zero if undefined.

source
DACE.getEpsMacMethod
getEpsMac() -> Float64

Return the machine epsilon (pessimistic estimate), or zero if undefined.

source
DACE.getMaxMonomialsMethod
getMaxMonomials() -> Int64

Return the maximum number of monomials available with the order and number of variables specified, or zero if undefined.

source
DACE.getMaxOrderMethod
getMaxOrder() -> Int64

Return the maximum order currently set for the computation, or zero if undefined.

source
DACE.getMaxVariablesMethod
getMaxVariables() -> Int64

Return the maximum number of variables set for the computations, or zero if undefined.

source
DACE.getMonomialsMethod
getMonomials(
    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

source
DACE.getTOMethod
getTO() -> 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.

source
DACE.initMethod
init(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!

source
DACE.popTOMethod
popTO()

Restore the previous truncation order from the truncation order stack.

All terms larger than the truncation order are discarded in subsequent operations.

source
DACE.pushTOMethod
pushTO(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.

source
DACE.setEpsMethod
setEps(arg1::Union{Float64, Int64, Irrational}) -> Float64

Set the cutoff value eps to arg1 and return the previous value, or zero if undefined.

source
DACE.setTOMethod
setTO(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.

source