21 #ifndef RFFGEN_LINEAR_ALGEBRA_DEVIATOR_HH
22 #define RFFGEN_LINEAR_ALGEBRA_DEVIATOR_HH
24 #include "../generate.hh"
25 #include "../identity.hh"
27 #include "unitMatrix.hh"
34 namespace Concepts {
template <
class>
struct SymmetricMatrixConceptChecks; }
39 namespace LinearAlgebra
45 template <
class Matrix,
class = Concepts::SymmetricMatrixConceptCheck<Matrix>>
55 template <
class Matrix>
56 class Deviator :
public decltype( deviator( std::declval<Matrix>() ) )
59 using Base = decltype(
deviator( std::declval<Matrix>() ) );
68 #endif // RFFGEN_LINEAR_ALGEBRA_DEVIATOR_HH
auto trace(const Arg &arg)
Convenient generation of Trace<Matrix>.
Definition: trace.hh:250
auto deviator(const Matrix &A)
Deviator of a matrix , i.e. .
Definition: deviator.hh:46
Identity mapping .
Definition: identity.hh:39
Type of the deviator of a matrix , i.e. .
Definition: deviator.hh:56
Wrap a constant.
Definition: constant.hh:41