|
| Vector | jive_helpers::funcGrad (const Ref< Function > func, const Vector &args) |
| | gets the gradient of a multivariate function.
|
| |
| Vector | jive_helpers::evalFuncs (const FuncUtils::FuncArray funcs, const Vector &args) |
| | evaluates an array of multivariate functions.
|
| |
| Matrix | jive_helpers::funcHessian (const Ref< Function > func, const Vector &args) |
| | gets the Hessian of a multivariate function.
|
| |
| Matrix | jive_helpers::gradFuncs (const FuncUtils::FuncArray funcs, const Vector &args) |
| | gets the gradients of an array of multivariate functions.
|
| |
| Matrix | jive_helpers::eye (const idx_t dim=3) |
| | generates an identity matrix of the given dimension.
|
| |
| void | jive_helpers::logMat (const Vector &rv, const Matrix &R) |
| | compute rotational vector from rotation matrix.
|
| |
| void | jive_helpers::vec2mat (const Matrix &mat, const Vector &vec) |
| | rearrange a vector into a matrix.
|
| |
| void | jive_helpers::mat2vec (const Vector &vec, const Matrix &mat) |
| | rearrange a matrix into a vector.
|
| |
| void | jive_helpers::mul3 (const Matrix &C, const Matrix &A, const Matrix &B) |
| | C = A * B for 3 x 3 matrices without heap allocation.
|
| |
| void | jive_helpers::mul3 (const Vector &y, const Matrix &A, const Vector &x) |
| | y = A * x for a 3 x 3 matrix without heap allocation.
|
| |
| void | jive_helpers::expVec (const Matrix &Exp, const Vector &v) |
| | compute the exponential of a axial vector.
|
| |
| void | jive_helpers::expVecP (const Matrix &ExpP, const Vector &v, const Vector &vP) |
| | derivative of jive_helpers::expVec.
|
| |
| double | jive_helpers::trace (const Matrix &mat) |
| | calculate the trace of a matrix.
|
| |
| idx_t | jive_helpers::factorial (const idx_t n) |
| | calculates the factorial of an integer.
|
| |
| idx_t | jive_helpers::binom (const idx_t n, const idx_t k) |
| | calculate the binomial coefficient.
|
| |
| double | jive_helpers::matrixNorm2 (const Matrix &mat) |
| | calculates the 2-norm of a matrix.
|
| |
| Matrix | jive_helpers::skew (const Vector &vec) |
| | construct a skew symetric matrix from a given vector.
|
| |
| void | jive_helpers::skew (const Matrix &S, const Vector &vec) |
| | fill an existing 3 x 3 matrix with the skew symmetric matrix of a vector
|
| |
| Vector | jive_helpers::unskew (const Matrix &mat) |
| | construct a axial vector from a given skew-symmetric matrix
|
| |
| void | jive_helpers::setDofValue (jive::util::Constraints &cons, const idx_t idof, const double rval) |
| | prescribe the value of a dof, i.e. constrain idof = rval.
|
| |
| void | jive_helpers::linkDofs (jive::util::Constraints &cons, const idx_t idof, const idx_t jdof, const double coeff) |
| | link a slave dof to a master dof, i.e. constrain idof = coeff * jdof.
|
| |