DACE 2.0 API Manual
Differential Algebra Core Engine
|
#include <dace/AlgebraicMatrix.h>
Public Member Functions | |
AlgebraicVector () | |
Default constructor. More... | |
AlgebraicVector (const size_t size) | |
Constructor with size. More... | |
AlgebraicVector (const size_t size, const T &d) | |
Constructor with size and elements value. More... | |
AlgebraicVector (const std::vector< T > &v) | |
Copy constructor. More... | |
AlgebraicVector (const std::vector< T > &v, const size_t first, const size_t last) | |
Extraction constructor. More... | |
AlgebraicVector (std::initializer_list< T > l) | |
Constructor from braced initializer list. More... | |
AlgebraicVector< T > | extract (const size_t first, const size_t last) const |
Return the subvector containing the elements between first and last, inclusively. More... | |
template<typename U > | |
AlgebraicVector< typename PromotionTrait< T, U >::returnType > | concat (const std::vector< U > &obj) const |
Return a new vector containing the elements of this vector followed by those of obj. More... | |
AlgebraicVector< double > | cons () const |
Return vector containing only the costant parts of each element. More... | |
std::vector< std::vector< double > > | linear () const |
Return the linear parts in the form of a vector of vectors. More... | |
AlgebraicVector< T > | operator- () const |
template<typename U > | |
AlgebraicVector< T > & | operator+= (const AlgebraicVector< U > &obj) |
template<typename U > | |
AlgebraicVector< T > & | operator+= (const U &obj) |
template<typename U > | |
AlgebraicVector< T > & | operator-= (const AlgebraicVector< U > &obj) |
template<typename U > | |
AlgebraicVector< T > & | operator-= (const U &obj) |
template<typename U > | |
AlgebraicVector< T > & | operator*= (const AlgebraicVector< U > &obj) |
template<typename U > | |
AlgebraicVector< T > & | operator*= (const U &obj) |
template<typename U > | |
AlgebraicVector< T > & | operator/= (const AlgebraicVector< U > &obj) |
template<typename U > | |
AlgebraicVector< T > & | operator/= (const U &obj) |
template<typename U > | |
AlgebraicVector< T > & | operator<< (const std::vector< U > &obj) |
Concatenation operator. More... | |
AlgebraicVector< T > | pow (const int p) const |
Element-wise exponentiation to (integer) power. More... | |
AlgebraicVector< T > | sqrt () const |
Element-wise square root. More... | |
AlgebraicVector< T > | exp () const |
Element-wise exponential. More... | |
AlgebraicVector< T > | log () const |
Element-wise natural logarithm. More... | |
AlgebraicVector< T > | sin () const |
Element-wise sine. More... | |
AlgebraicVector< T > | cos () const |
Element-wise cosine. More... | |
AlgebraicVector< T > | tan () const |
Element-wise tangent. More... | |
AlgebraicVector< T > | asin () const |
Element-wise arcsine. More... | |
AlgebraicVector< T > | acos () const |
Element-wise arccosine. More... | |
AlgebraicVector< T > | atan () const |
Element-wise arctangent. More... | |
AlgebraicVector< T > | atan2 (const AlgebraicVector< T > &obj) const |
Element-wise arctangent in [-pi, pi]. More... | |
AlgebraicVector< T > | sinh () const |
Element-wise hyperbolic sine. More... | |
AlgebraicVector< T > | cosh () const |
Element-wise hyperbolic cosine. More... | |
AlgebraicVector< T > | tanh () const |
Element-wise hyperbolic tangent. More... | |
AlgebraicVector< T > | asinh () const |
Element-wise hyperbolic arcsine. More... | |
AlgebraicVector< T > | acosh () const |
Element-wise hyperbolic arccosine. More... | |
AlgebraicVector< T > | atanh () const |
Element-wise hyperbolic arctangent. More... | |
AlgebraicVector< T > | logb (const double b=10.0) const |
Element-wise logarithm wrt a given base. More... | |
AlgebraicVector< T > | isrt () const |
Element-wise inverse square root. More... | |
AlgebraicVector< T > | sqr () const |
Element-wise square. More... | |
AlgebraicVector< T > | minv () const |
Element-wise multiplicative inverse. More... | |
AlgebraicVector< T > | root (const int p=2) const |
Element-wise p-th root. More... | |
template<typename V > | |
PromotionTrait< T, V >::returnType | dot (const AlgebraicVector< V > &obj) const |
Dot product (scalar product, inner product) of two vectors. More... | |
template<typename V > | |
AlgebraicVector< typename PromotionTrait< T, V >::returnType > | cross (const AlgebraicVector< V > &obj) const |
Cross product of two vectors of length 3. More... | |
T | vnorm () const |
Euclidean vector norm (length). More... | |
AlgebraicVector< T > | normalize () const |
Normalized vector of unit length along this vector. More... | |
AlgebraicVector< T > | deriv (const unsigned int p) const |
Derivative of each element with respect to given variable. DA only. More... | |
AlgebraicVector< T > | integ (const unsigned int p) const |
Integration of each element with respect to given variable. DA only. More... | |
template<typename V > | |
V | eval (const V &args) const |
Generic evaluation of a AlgebraicVector<DA> with arguments. DA only. More... | |
template<typename U > | |
AlgebraicVector< U > | eval (const std::initializer_list< U > l) const |
Generic evaluation of an AlgebraicVector<DA> with braced initializer list. DA only. More... | |
template<typename U > | |
AlgebraicVector< U > | evalScalar (const U &arg) const |
Generic evaluation of a AlgebraicVector<DA> with single argument. DA only. More... | |
compiledDA | compile () const |
Compile current DA for efficient repeated evaluation. DA only. More... | |
AlgebraicVector< T > | plug (const unsigned int var, const double val=0.0) const |
Partial evaluation to replace given independent DA variable by value val. DA only. More... | |
AlgebraicVector< T > | trim (const unsigned int min, const unsigned int max=DA::getMaxOrder()) const |
Trim the coefficients of each components to particular orders. DA only. More... | |
AlgebraicVector< T > | invert () const |
Inverse function of the AlgebraicVector<DA>. DA only. More... | |
std::string | toString () const |
Convert the vector into a human readable string. More... | |
template<> | |
std::vector< std::vector< double > > | linear () const |
template<> | |
AlgebraicVector< DA > | trim (const unsigned int min, const unsigned int max) const |
template<> | |
AlgebraicVector< DA > | deriv (const unsigned int p) const |
template<> | |
AlgebraicVector< DA > | integ (const unsigned int p) const |
template<> | |
compiledDA | compile () const |
template<> | |
AlgebraicVector< DA > | plug (const unsigned int var, const double val) const |
template<> | |
AlgebraicVector< DA > | invert () const |
template<> | |
AlgebraicVector< DA > | identity (const size_t n) |
template<> | |
DACE_API std::vector< std::vector< double > > | linear () const |
template<> | |
DACE_API AlgebraicVector< DA > | trim (const unsigned int min, const unsigned int max) const |
template<> | |
DACE_API AlgebraicVector< DA > | deriv (const unsigned int p) const |
template<> | |
DACE_API AlgebraicVector< DA > | integ (const unsigned int p) const |
template<> | |
DACE_API compiledDA | compile () const |
template<> | |
DACE_API AlgebraicVector< DA > | plug (const unsigned int var, const double val) const |
template<> | |
DACE_API AlgebraicVector< DA > | invert () const |
template<> | |
DACE_API AlgebraicVector< DA > | identity (const size_t n) |
template<typename V > | |
AlgebraicVector< typename PromotionTrait< T, V >::returnType > | concat (const std::vector< V > &obj) const |
template<> | |
V | eval (const V &args) const |
template<> | |
AlgebraicVector< U > | eval (const std::initializer_list< U > l) const |
template<> | |
AlgebraicVector< U > | evalScalar (const U &arg) const |
Static Public Member Functions | |
static AlgebraicVector< DA > | identity (const size_t n=DA::getMaxVariables()) |
Create an AlgebraicVector<DA> containing the identity in n dimensions. DA only. More... | |
Generic vector class to handle vectors of algebraic types and their algebraic operations.
DACE::AlgebraicVector< T >::AlgebraicVector | ( | ) |
Default constructor.
Default Constructor to create empty AlgebraicVector
|
explicit |
Constructor with size.
Constructor with size to allocate a vector of the given size with elements initialized using their default constructor.
[in] | size | length of AlgebraicVector. |
DACE::AlgebraicVector< T >::AlgebraicVector | ( | const size_t | size, |
const T & | d | ||
) |
Constructor with size and elements value.
Constructor with size and elements value to allocate a vector of the given size with elements initialized as copies of d.
[in] | size | length of AlgebraicVector |
[in] | d | initial value for the elements |
DACE::AlgebraicVector< T >::AlgebraicVector | ( | const std::vector< T > & | v | ) |
Copy constructor.
Copy constructor to create a copy of any existing vector.
[in] | v | vector to be copied into AlgebraicVector |
DACE::AlgebraicVector< T >::AlgebraicVector | ( | const std::vector< T > & | v, |
const size_t | first, | ||
const size_t | last | ||
) |
Extraction constructor.
Extraction constructor to copy only a given range of elements from vector v.
[in] | v | vector to be copied into AlgebraicVector |
[in] | first | index of the first element to be copied |
[in] | last | index of the last element to be copied |
DACE::AlgebraicVector< T >::AlgebraicVector | ( | std::initializer_list< T > | l | ) |
Constructor from braced initializer list.
Constructor to create a vector from an initializer list.
[in] | l | braced initializer list to be copied into the AlgebraicVector |
AlgebraicVector< T > DACE::AlgebraicVector< T >::acos | ( | ) | const |
Element-wise arccosine.
Compute the arccosine of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
AlgebraicVector< T > DACE::AlgebraicVector< T >::acosh | ( | ) | const |
Element-wise hyperbolic arccosine.
Compute the hyperbolic arccosine of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>. Currently not defined for double.
AlgebraicVector< T > DACE::AlgebraicVector< T >::asin | ( | ) | const |
Element-wise arcsine.
Compute the arcsine of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
AlgebraicVector< T > DACE::AlgebraicVector< T >::asinh | ( | ) | const |
Element-wise hyperbolic arcsine.
Compute the hyperbolic arcsine of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
AlgebraicVector< T > DACE::AlgebraicVector< T >::atan | ( | ) | const |
Element-wise arctangent.
Compute the arctangent of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
AlgebraicVector< T > DACE::AlgebraicVector< T >::atan2 | ( | const AlgebraicVector< T > & | obj | ) | const |
Element-wise arctangent in [-pi, pi].
Compute the four-quadrant arctangent of Y/X. Y is the current vector, whereas X is the AlgebraicVector<T> in input. The result is copied in a new AlgebraicVector<T>.
[in] | obj | AlgebraicVector<T> |
std::runtime_error |
AlgebraicVector< T > DACE::AlgebraicVector< T >::atanh | ( | ) | const |
Element-wise hyperbolic arctangent.
Compute the hyperbolic arctangent of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>. Currently not defined for double.
compiledDA DACE::AlgebraicVector< T >::compile | ( | ) | const |
compiledDA DACE::AlgebraicVector< DA >::compile | ( | ) | const |
Compile vector of polynomials and create a compiledDA object.
DACE_API compiledDA DACE::AlgebraicVector< DA >::compile | ( | ) | const |
AlgebraicVector<typename PromotionTrait<T,U>::returnType> DACE::AlgebraicVector< T >::concat | ( | const std::vector< U > & | obj | ) | const |
Return a new vector containing the elements of this vector followed by those of obj.
AlgebraicVector<typename PromotionTrait< T, V >::returnType> DACE::AlgebraicVector< T >::concat | ( | const std::vector< V > & | obj | ) | const |
Append an AlgebraicVector to the end of the current one and return the new vector.
[in] | obj | The AlgebraicVector to be appended. |
AlgebraicVector< double > DACE::AlgebraicVector< T >::cons | ( | ) | const |
Return vector containing only the costant parts of each element.
Return the constant part of a AlgebraicVector<T>.
AlgebraicVector< T > DACE::AlgebraicVector< T >::cos | ( | ) | const |
Element-wise cosine.
Compute the cosine of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
AlgebraicVector< T > DACE::AlgebraicVector< T >::cosh | ( | ) | const |
Element-wise hyperbolic cosine.
Compute the hyperbolic cosine of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
AlgebraicVector< typename PromotionTrait< T, V >::returnType > DACE::AlgebraicVector< T >::cross | ( | const AlgebraicVector< V > & | obj | ) | const |
Cross product of two vectors of length 3.
Compute the cross product with another 3D AlgebraicVector.
[in] | obj | The other AlgebraicVector. |
std::runtime_error |
AlgebraicVector< DA > DACE::AlgebraicVector< DA >::deriv | ( | const unsigned int | p | ) | const |
Compute the derivative of a AlgebraicVector<T> with respect to variable p. The result is copied in a new AlgebraicVector<T>. NOT DEFINED FOR TYPES OTHER THAN DA.
[in] | p | variable with respect to which the derivative is calculated. |
AlgebraicVector<T> DACE::AlgebraicVector< T >::deriv | ( | const unsigned int | p | ) | const |
Derivative of each element with respect to given variable. DA only.
DACE_API AlgebraicVector< DA > DACE::AlgebraicVector< DA >::deriv | ( | const unsigned int | p | ) | const |
PromotionTrait< T, V >::returnType DACE::AlgebraicVector< T >::dot | ( | const AlgebraicVector< V > & | obj | ) | const |
Dot product (scalar product, inner product) of two vectors.
Compute the dot product with another AlgebraicVector.
[in] | obj | the other AlgebraicVector. |
std::runtime_error |
V DACE::AlgebraicVector< T >::eval | ( | const V & | args | ) | const |
Generic evaluation of a AlgebraicVector<DA> with arguments. DA only.
AlgebraicVector<U> DACE::AlgebraicVector< T >::eval | ( | const std::initializer_list< U > | l | ) | const |
Generic evaluation of an AlgebraicVector<DA> with braced initializer list. DA only.
V DACE::AlgebraicVector< DA >::eval | ( | const V & | args | ) | const |
Evaluate a vector of polynomials with any vector type V with arguments and return a vector of results of the same type V.
[in] | args | vector (e.g. AlgebraicVector<>) of arguments |
AlgebraicVector< U > DACE::AlgebraicVector< DA >::eval | ( | const std::initializer_list< U > | l | ) | const |
Evaluate a vector of polynomials with an braced initializer list of type U and return an AlgebraicVector of type U with the results.
[in] | l | Braced initializer list containing the arguments. |
AlgebraicVector<U> DACE::AlgebraicVector< T >::evalScalar | ( | const U & | arg | ) | const |
Generic evaluation of a AlgebraicVector<DA> with single argument. DA only.
AlgebraicVector< U > DACE::AlgebraicVector< DA >::evalScalar | ( | const U & | arg | ) | const |
Evaluate a vector of polynomials with a single arithmetic type U argument.
[in] | arg | single variable of arithmetic type T of the first independent DA variable. |
AlgebraicVector< T > DACE::AlgebraicVector< T >::exp | ( | ) | const |
Element-wise exponential.
Compute the exponent of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
AlgebraicVector< T > DACE::AlgebraicVector< T >::extract | ( | const size_t | first, |
const size_t | last | ||
) | const |
Return the subvector containing the elements between first and last, inclusively.
Extracts elements from AlgebraicVector.
[in] | first | index of first element to be extracted |
[in] | last | index of last element to be extracted |
std::runtime_error |
|
static |
Create an AlgebraicVector<DA> containing the identity in n dimensions. DA only.
DACE_API AlgebraicVector< DA > DACE::AlgebraicVector< DA >::identity | ( | const size_t | n | ) |
AlgebraicVector< DA > DACE::AlgebraicVector< DA >::identity | ( | const size_t | n | ) |
Return the DA identity of dimension n.
[in] | n | The dimendion of the identity. |
AlgebraicVector< DA > DACE::AlgebraicVector< DA >::integ | ( | const unsigned int | p | ) | const |
Compute the integral of a AlgebraicVector<T> with respect to variable p. The result is copied in a new AlgebraicVector<T>. NOT DEFINED FOR TYPES OTHER THAN DA.
[in] | p | variable with respect to which the integral is calculated. |
AlgebraicVector<T> DACE::AlgebraicVector< T >::integ | ( | const unsigned int | p | ) | const |
Integration of each element with respect to given variable. DA only.
DACE_API AlgebraicVector< DA > DACE::AlgebraicVector< DA >::integ | ( | const unsigned int | p | ) | const |
AlgebraicVector<T> DACE::AlgebraicVector< T >::invert | ( | ) | const |
Inverse function of the AlgebraicVector<DA>. DA only.
AlgebraicVector< DA > DACE::AlgebraicVector< DA >::invert | ( | ) | const |
Invert the polynomials map given by the AlgebraicVector<DA>.
std::runtime_error |
DACE_API AlgebraicVector< DA > DACE::AlgebraicVector< DA >::invert | ( | ) | const |
AlgebraicVector< T > DACE::AlgebraicVector< T >::isrt | ( | ) | const |
Element-wise inverse square root.
Compute the inverse square root of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
std::vector< std::vector< double > > DACE::AlgebraicVector< DA >::linear | ( | ) | const |
Return the linear part of a AlgebraicVector<T>. NOT DEFINED FOR TYPES OTHER THAN DA.
std::vector< std::vector<double> > DACE::AlgebraicVector< T >::linear | ( | ) | const |
Return the linear parts in the form of a vector of vectors.
DACE_API std::vector< std::vector< double > > DACE::AlgebraicVector< DA >::linear | ( | ) | const |
AlgebraicVector< T > DACE::AlgebraicVector< T >::log | ( | ) | const |
Element-wise natural logarithm.
Compute the natural logarithm of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
AlgebraicVector< T > DACE::AlgebraicVector< T >::logb | ( | const double | b = 10.0 | ) | const |
Element-wise logarithm wrt a given base.
Compute the logarithm of a AlgebraicVector<T> with respect to a given base. The result is copied in a new AlgebraicVector<T>.
[in] | b | base with respect to which the logarithm is computed (default = 10). |
AlgebraicVector< T > DACE::AlgebraicVector< T >::minv | ( | ) | const |
Element-wise multiplicative inverse.
Compute the multiplicative inverse of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
AlgebraicVector< T > DACE::AlgebraicVector< T >::normalize | ( | ) | const |
Normalized vector of unit length along this vector.
Normalize the vector.
AlgebraicVector< T > & DACE::AlgebraicVector< T >::operator*= | ( | const AlgebraicVector< U > & | obj | ) |
Multiply the given AlgebraicVector with ourselves componentwise.
[in] | obj | An AlgebraicVector. |
AlgebraicVector< T > & DACE::AlgebraicVector< T >::operator*= | ( | const U & | obj | ) |
Multiply the given scalar with ourselves.
[in] | obj | A scalar value. |
AlgebraicVector< T > & DACE::AlgebraicVector< T >::operator+= | ( | const AlgebraicVector< U > & | obj | ) |
Add the given AlgebraicVector to ourselves.
[in] | obj | An AlgebraicVector. |
std::runtime_error |
AlgebraicVector< T > & DACE::AlgebraicVector< T >::operator+= | ( | const U & | obj | ) |
Add the given scalar to ourselves componentwise.
[in] | obj | A scalar value. |
AlgebraicVector< T > DACE::AlgebraicVector< T >::operator- | ( | ) | const |
Returns the additive inverse of the vector.
AlgebraicVector< T > & DACE::AlgebraicVector< T >::operator-= | ( | const AlgebraicVector< U > & | obj | ) |
Subtract the given AlgebraicVector from ourselves.
[in] | obj | An AlgebraicVector. |
std::runtime_error |
AlgebraicVector< T > & DACE::AlgebraicVector< T >::operator-= | ( | const U & | obj | ) |
Subtract the given scalar from ourselves componentwise.
[in] | obj | A scalar value. |
AlgebraicVector< T > & DACE::AlgebraicVector< T >::operator/= | ( | const AlgebraicVector< U > & | obj | ) |
Divide ourselves by the given AlgebraicVector componentwise.
[in] | obj | An AlgebraicVector. |
std::runtime_error |
AlgebraicVector< T > & DACE::AlgebraicVector< T >::operator/= | ( | const U & | obj | ) |
Divide ourselves by the given scalar.
[in] | obj | A scalar value. |
AlgebraicVector< T > & DACE::AlgebraicVector< T >::operator<< | ( | const std::vector< U > & | obj | ) |
Concatenation operator.
Append elements of vector obj to the end of ourself, converting the type to match ours if necessary.
[in] | obj | Vector of elements to append. |
AlgebraicVector<T> DACE::AlgebraicVector< T >::plug | ( | const unsigned int | var, |
const double | val = 0.0 |
||
) | const |
AlgebraicVector< DA > DACE::AlgebraicVector< DA >::plug | ( | const unsigned int | var, |
const double | val | ||
) | const |
Partial evaluation of vector of polynomials. In each element of the vector, variable var is replaced by the value val. The resulting vector of DAs is returned.
[in] | var | variable number to be replaced |
[in] | val | value by which to replace the variable |
DACE_API AlgebraicVector< DA > DACE::AlgebraicVector< DA >::plug | ( | const unsigned int | var, |
const double | val | ||
) | const |
AlgebraicVector< T > DACE::AlgebraicVector< T >::pow | ( | const int | p | ) | const |
Element-wise exponentiation to (integer) power.
Elevate a AlgebraicVector<T> to a given integer power. The result is copied in a new AlgebraicVector<T>.
[in] | p | power at which the AlgebraicVector<T> is elevated. |
AlgebraicVector< T > DACE::AlgebraicVector< T >::root | ( | const int | p = 2 | ) | const |
Element-wise p-th root.
Compute the p-th root of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
[in] | p | root to be computed (default = 2). |
AlgebraicVector< T > DACE::AlgebraicVector< T >::sin | ( | ) | const |
Element-wise sine.
Compute the sine of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
AlgebraicVector< T > DACE::AlgebraicVector< T >::sinh | ( | ) | const |
Element-wise hyperbolic sine.
Compute the hyperbolic sine of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
AlgebraicVector< T > DACE::AlgebraicVector< T >::sqr | ( | ) | const |
Element-wise square.
Compute the square of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
AlgebraicVector< T > DACE::AlgebraicVector< T >::sqrt | ( | ) | const |
Element-wise square root.
Compute the square root of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
AlgebraicVector< T > DACE::AlgebraicVector< T >::tan | ( | ) | const |
Element-wise tangent.
Compute the tangent of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
AlgebraicVector< T > DACE::AlgebraicVector< T >::tanh | ( | ) | const |
Element-wise hyperbolic tangent.
Compute the hyperbolic tangent of a AlgebraicVector<T>. The result is copied in a new AlgebraicVector<T>.
std::string DACE::AlgebraicVector< T >::toString | ( | ) | const |
Convert the vector into a human readable string.
Convert the current AlgebraicVector<T> to string.
AlgebraicVector< DA > DACE::AlgebraicVector< DA >::trim | ( | const unsigned int | min, |
const unsigned int | max | ||
) | const |
Returns an AlgebraicVector<DA> with all monomials of order less than min and greater than max removed (trimmed). The result is copied in a new AlgebraicVector<DA>.
[in] | min | minimum order to be preserved. |
[in] | max | maximum order to be preserved. |
AlgebraicVector<T> DACE::AlgebraicVector< T >::trim | ( | const unsigned int | min, |
const unsigned int | max = DA::getMaxOrder() |
||
) | const |
Trim the coefficients of each components to particular orders. DA only.
DACE_API AlgebraicVector< DA > DACE::AlgebraicVector< DA >::trim | ( | const unsigned int | min, |
const unsigned int | max | ||
) | const |
T DACE::AlgebraicVector< T >::vnorm | ( | ) | const |
Euclidean vector norm (length).
Compute the Euclidean vector norm (length) for a AlgebraicVector<T>.