Skip to main content

Module vector

Module vector 

Source
Expand description

Vector-of-DA operations: the DaVector extension trait, inverse maps, and scalar-vector helpers.

Ports the AlgebraicVector<DA> surface used in practice: elementwise calculus and evaluation, the linear-part matrix, and the fixed-point map inversion of AlgebraicVector.cpp:221-280 (Gauss-Jordan inverse of the linear part with full pivoting, then iteration in rising truncation order). The AlgebraicMatrix type itself is not ported (experimental upstream, off by default).

Traits§

DaVector
Elementwise operations on vectors of DAs (C++ AlgebraicVector<DA>).

Functions§

cross
Cross product of two 3-vectors.
dot
Dot product of two scalar vectors.
dot_da
Dot product of a vector of DAs.
normalize
The normalized vector; panics on a zero vector.
vnorm
Euclidean norm of a scalar vector.