25 #ifndef WTENSORTRACE_H
26 #define WTENSORTRACE_H
28 #include "core/common/math/linearAlgebra/WVectorFixed.h"
29 #include "core/common/math/WTensorSym.h"
30 #include "core/common/WObjectNDIP.h"
32 #include "WDataSetDTIToScalar_I.h"
This is a base class for everything which has a Name,Description,Icon and Properties (=NDIP).
Implements a symmetric tensor that has the same number of components in every direction.
Computes the trace (sum of diagonal elements) of the tensor.
virtual double tensorToScalar(const WVector3d &evals, const WTensorSym< 2, 3, float > &tensor)
Actual computation is done inhere.
WTensorTrace()
Constructs new TensorTrace object.