v0.13.2
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
FTensor::Tensor4_or_Tensor4< A, B, T, U, Dim01, Dim01, Dim23, Dim23, Dim01, Dim01, Dim23, Dim23, i, j, k, l, j, i, l, k > Class Template Reference

#include <src/ftensor/src/FTensor/Tensor4/Tensor4_or_Tensor4.hpp>

Collaboration diagram for FTensor::Tensor4_or_Tensor4< A, B, T, U, Dim01, Dim01, Dim23, Dim23, Dim01, Dim01, Dim23, Dim23, i, j, k, l, j, i, l, k >:
[legend]

Public Member Functions

promote< T, U >::V operator() (const int N1, const int N2, const int N3, const int N4) const
 
 Tensor4_or_Tensor4 (const Tensor4_Expr< A, T, Dim01, Dim01, Dim23, Dim23, i, j, k, l > &a, const Tensor4_Expr< B, U, Dim01, Dim01, Dim23, Dim23, j, i, l, k > &b)
 

Private Attributes

Tensor4_Expr< A, T, Dim01, Dim01, Dim23, Dim23, i, j, k, literA
 
Tensor4_Expr< B, U, Dim01, Dim01, Dim23, Dim23, j, i, l, kiterB
 

Detailed Description

template<class A, class B, class T, class U, int Dim01, int Dim23, char i, char j, char k, char l>
class FTensor::Tensor4_or_Tensor4< A, B, T, U, Dim01, Dim01, Dim23, Dim23, Dim01, Dim01, Dim23, Dim23, i, j, k, l, j, i, l, k >

Definition at line 18 of file Tensor4_or_Tensor4.hpp.

Constructor & Destructor Documentation

◆ Tensor4_or_Tensor4()

template<class A , class B , class T , class U , int Dim01, int Dim23, char i, char j, char k, char l>
FTensor::Tensor4_or_Tensor4< A, B, T, U, Dim01, Dim01, Dim23, Dim23, Dim01, Dim01, Dim23, Dim23, i, j, k, l, j, i, l, k >::Tensor4_or_Tensor4 ( const Tensor4_Expr< A, T, Dim01, Dim01, Dim23, Dim23, i, j, k, l > &  a,
const Tensor4_Expr< B, U, Dim01, Dim01, Dim23, Dim23, j, i, l, k > &  b 
)
inline

Member Function Documentation

◆ operator()()

template<class A , class B , class T , class U , int Dim01, int Dim23, char i, char j, char k, char l>
promote< T, U >::V FTensor::Tensor4_or_Tensor4< A, B, T, U, Dim01, Dim01, Dim23, Dim23, Dim01, Dim01, Dim23, Dim23, i, j, k, l, j, i, l, k >::operator() ( const int  N1,
const int  N2,
const int  N3,
const int  N4 
) const
inline

Definition at line 24 of file Tensor4_or_Tensor4.hpp.

25 {
26 return iterA(N1, N2, N3, N4) + iterB(N2, N1, N4, N3);
27 }
static Number< 2 > N2
static Number< 1 > N1

Member Data Documentation

◆ iterA

template<class A , class B , class T , class U , int Dim01, int Dim23, char i, char j, char k, char l>
Tensor4_Expr<A, T, Dim01, Dim01, Dim23, Dim23, i, j, k, l> FTensor::Tensor4_or_Tensor4< A, B, T, U, Dim01, Dim01, Dim23, Dim23, Dim01, Dim01, Dim23, Dim23, i, j, k, l, j, i, l, k >::iterA
private

Definition at line 20 of file Tensor4_or_Tensor4.hpp.

◆ iterB

template<class A , class B , class T , class U , int Dim01, int Dim23, char i, char j, char k, char l>
Tensor4_Expr<B, U, Dim01, Dim01, Dim23, Dim23, j, i, l, k> FTensor::Tensor4_or_Tensor4< A, B, T, U, Dim01, Dim01, Dim23, Dim23, Dim01, Dim01, Dim23, Dim23, i, j, k, l, j, i, l, k >::iterB
private

Definition at line 21 of file Tensor4_or_Tensor4.hpp.


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