Skip to content

Class TempLat::MatrixBinaryOperator

template <typename R, typename T>

ClassList > TempLat > MatrixBinaryOperator

A class which gtoups common features of binary field operators. More...

  • #include <matrixbinaryoperator.h>

Inherited by the following classes: TempLat::HermSymTracelessMultiplication, TempLat::MatrixMatrixMultiplication, TempLat::SymSymTracelessMultiplication

Public Types

Type Name
typedef MatrixGetter Getter

Public Static Attributes

Type Name
constexpr size_t size = 9

Public Functions

Type Name
MatrixBinaryOperator (const R & pR, const T & pT)
auto getDx () const
auto getKIR () const
auto getToolBox () const
virtual std::string operatorString () const = 0
Override this method in your derived class, to have an easy implementation of your toString method.
void postGet ()
void preGet ()
std::string toString () const
If your descending class implements operatorString() and your operator is of the type "a OP b" (where OP is * or whatever), this toString method does all the work for you.

Public Static Functions

Type Name
consteval size_t getNDim ()

Protected Attributes

Type Name
R mR
T mT

Detailed Description

Unit test: ctest -R test-symmetrictracelessfieldbinaryoperator

Public Types Documentation

typedef Getter

using TempLat::MatrixBinaryOperator< R, T >::Getter =  MatrixGetter;

Public Static Attributes Documentation

variable size

constexpr size_t TempLat::MatrixBinaryOperator< R, T >::size;

Public Functions Documentation

function MatrixBinaryOperator

inline TempLat::MatrixBinaryOperator::MatrixBinaryOperator (
    const R & pR,
    const T & pT
) 

function getDx

inline auto TempLat::MatrixBinaryOperator::getDx () const

function getKIR

inline auto TempLat::MatrixBinaryOperator::getKIR () const

function getToolBox

inline auto TempLat::MatrixBinaryOperator::getToolBox () const

function operatorString

Override this method in your derived class, to have an easy implementation of your toString method.

virtual std::string TempLat::MatrixBinaryOperator::operatorString () const = 0


function postGet

inline void TempLat::MatrixBinaryOperator::postGet () 

function preGet

inline void TempLat::MatrixBinaryOperator::preGet () 

function toString

If your descending class implements operatorString() and your operator is of the type "a OP b" (where OP is * or whatever), this toString method does all the work for you.

inline std::string TempLat::MatrixBinaryOperator::toString () const


Public Static Functions Documentation

function getNDim

static inline consteval size_t TempLat::MatrixBinaryOperator::getNDim () 

Protected Attributes Documentation

variable mR

R TempLat::MatrixBinaryOperator< R, T >::mR;

variable mT

T TempLat::MatrixBinaryOperator< R, T >::mT;


The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/algebra/matrix3x3algebra/matrixbinaryoperator.h