- Mathematical operations
- Mathematical functions
Mathematical functions
The following mathematical functions can be applied to matrices and vectors: MathAbs, MathArccos, MathArcsin, MathArctan, MathCeil, MathCos, MathExp, MathFloor, MathLog, MathLog10, MathMod, MathPow, MathRound, MathSin, MathSqrt, MathTan, MathExpm1, MathLog1p, MathArccosh, MathArcsinh, MathArctanh, MathCosh, MathSinh, MathTanh. Such operations imply element-wise processing of matrices and vectors.
For MathMod and MathPow, the second element can be either a scalar or a matrix/vector of the appropriate size.
matrix<T> mat1(128,128);
|