Classes | Namespaces | Functions
AddSubtract.hpp File Reference

Defines ET for adding and subtracting tensors. More...

#include <algorithm>
#include <array>
#include <cstddef>
#include "DataStructures/Tensor/Expressions/TensorExpression.hpp"
#include "Utilities/Requires.hpp"
#include "Utilities/TMPL.hpp"
#include "Utilities/TypeTraits.hpp"

Go to the source code of this file.

Classes

struct  TensorExpressions::AddSub< T1, T2, ArgsList1, ArgsList2, Sign >
 
struct  TensorExpressions::AddSub< T1, T2, ArgsList1< Args1... >, ArgsList2< Args2... >, Sign >
 

Namespaces

 TensorExpressions
 

Functions

template<typename T1 , typename T2 , typename X , typename Symm1 , typename Symm2 , typename IndexList1 , typename IndexList2 , typename Args1 , typename Args2 >
auto operator+ (const TensorExpression< T1, X, Symm1, IndexList1, Args1 > &t1, const TensorExpression< T2, X, Symm2, IndexList2, Args2 > &t2)
 
template<typename T1 , typename T2 , typename X , typename Symm1 , typename Symm2 , typename IndexList1 , typename IndexList2 , typename Args1 , typename Args2 >
auto operator- (const TensorExpression< T1, X, Symm1, IndexList1, Args1 > &t1, const TensorExpression< T2, X, Symm2, IndexList2, Args2 > &t2)
 

Detailed Description

Defines ET for adding and subtracting tensors.