SpECTRE  v2024.05.11
tenex::AddSub< T1, T2, ArgsList1, ArgsList2, Sign > Struct Template Reference

Defines the tensor expression representing the addition or subtraction of two tensor expressions. More...

Detailed Description

template<typename T1, typename T2, typename ArgsList1, typename ArgsList2, int Sign>
struct tenex::AddSub< T1, T2, ArgsList1, ArgsList2, Sign >

Defines the tensor expression representing the addition or subtraction of two tensor expressions.

Details

For details on aliases and members defined in this class, as well as general TensorExpression terminology used in its members' documentation, see documentation for TensorExpression.

Template Parameters
T1the left operand expression
T2the right operand expression
ArgsList1generic TensorIndexs of the left operand
ArgsList2generic TensorIndexs of the right operand
Signthe sign of the operation selected, 1 for addition or -1 for subtraction

The documentation for this struct was generated from the following file: