|
wuzp
Wrong Unit? Zero Points! Compile-time checks for units, coordinate systems and points vs. vectors.
|
A function applied to every element of a matrix, like Eigen's DenseBase::unaryExpr(): value(impl, function) returns the matrix of the results. More...
#include <wuzp/core/traits.hpp>
A function applied to every element of a matrix, like Eigen's DenseBase::unaryExpr(): value(impl, function) returns the matrix of the results.
FunctionT_ is a function object, e.g. a lambda, that maps a value of the value type to a value of the value type, so the result has the value type and the size of the matrix. The elementwise functions of quantities, e.g. pow<1, 2>() of a matrix, compute their values with it, so that they compute the same with every value matrix backend.
Definition at line 203 of file traits.hpp.