v0.14.0
Public Member Functions | Private Attributes | List of all members
FTensor::Tensor4_minus_Tensor4< A, B, T, U, Dim0_0, Dim1_0, Dim2_0, Dim3_0, Dim0_1, Dim1_1, Dim2_1, Dim3_1, i0, j0, k0, l0, i1, j1, k1, l1 > Class Template Reference

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

Collaboration diagram for FTensor::Tensor4_minus_Tensor4< A, B, T, U, Dim0_0, Dim1_0, Dim2_0, Dim3_0, Dim0_1, Dim1_1, Dim2_1, Dim3_1, i0, j0, k0, l0, i1, j1, k1, l1 >:
[legend]

Public Member Functions

promote< T, U >::V operator() (const int N1, const int N2, const int N3, const int N4) const
 
 Tensor4_minus_Tensor4 (const Tensor4_Expr< A, T, Dim0_0, Dim1_0, Dim2_0, Dim3_0, i0, j0, k0, l0 > &a, const Tensor4_Expr< B, U, Dim0_1, Dim1_1, Dim2_1, Dim3_1, i1, j1, k1, l1 > &b)
 

Private Attributes

Tensor4_Expr< A, T, Dim0_0, Dim1_0, Dim2_0, Dim3_0, i0, j0, k0, l0 > iterA
 
Tensor4_Expr< B, U, Dim0_1, Dim1_1, Dim2_1, Dim3_1, i1, j1, k1, l1 > iterB
 

Detailed Description

template<class A, class B, class T, class U, int Dim0_0, int Dim1_0, int Dim2_0, int Dim3_0, int Dim0_1, int Dim1_1, int Dim2_1, int Dim3_1, char i0, char j0, char k0, char l0, char i1, char j1, char k1, char l1>
class FTensor::Tensor4_minus_Tensor4< A, B, T, U, Dim0_0, Dim1_0, Dim2_0, Dim3_0, Dim0_1, Dim1_1, Dim2_1, Dim3_1, i0, j0, k0, l0, i1, j1, k1, l1 >

Definition at line 11 of file Tensor4_minus_Tensor4.hpp.

Constructor & Destructor Documentation

◆ Tensor4_minus_Tensor4()

template<class A , class B , class T , class U , int Dim0_0, int Dim1_0, int Dim2_0, int Dim3_0, int Dim0_1, int Dim1_1, int Dim2_1, int Dim3_1, char i0, char j0, char k0, char l0, char i1, char j1, char k1, char l1>
FTensor::Tensor4_minus_Tensor4< A, B, T, U, Dim0_0, Dim1_0, Dim2_0, Dim3_0, Dim0_1, Dim1_1, Dim2_1, Dim3_1, i0, j0, k0, l0, i1, j1, k1, l1 >::Tensor4_minus_Tensor4 ( const Tensor4_Expr< A, T, Dim0_0, Dim1_0, Dim2_0, Dim3_0, i0, j0, k0, l0 > &  a,
const Tensor4_Expr< B, U, Dim0_1, Dim1_1, Dim2_1, Dim3_1, i1, j1, k1, l1 > &  b 
)
inline

Definition at line 23 of file Tensor4_minus_Tensor4.hpp.

27  : iterA(a), iterB(b)
28  {}

Member Function Documentation

◆ operator()()

template<class A , class B , class T , class U , int Dim0_0, int Dim1_0, int Dim2_0, int Dim3_0, int Dim0_1, int Dim1_1, int Dim2_1, int Dim3_1, char i0, char j0, char k0, char l0, char i1, char j1, char k1, char l1>
promote<T, U>::V FTensor::Tensor4_minus_Tensor4< A, B, T, U, Dim0_0, Dim1_0, Dim2_0, Dim3_0, Dim0_1, Dim1_1, Dim2_1, Dim3_1, i0, j0, k0, l0, i1, j1, k1, l1 >::operator() ( const int  N1,
const int  N2,
const int  N3,
const int  N4 
) const
inline

Definition at line 18 of file Tensor4_minus_Tensor4.hpp.

19  {
20  return iterA(N1, N2, N3, N4) - permute(iterA, iterB, N1, N2, N3, N4);
21  }

Member Data Documentation

◆ iterA

template<class A , class B , class T , class U , int Dim0_0, int Dim1_0, int Dim2_0, int Dim3_0, int Dim0_1, int Dim1_1, int Dim2_1, int Dim3_1, char i0, char j0, char k0, char l0, char i1, char j1, char k1, char l1>
Tensor4_Expr<A, T, Dim0_0, Dim1_0, Dim2_0, Dim3_0, i0, j0, k0, l0> FTensor::Tensor4_minus_Tensor4< A, B, T, U, Dim0_0, Dim1_0, Dim2_0, Dim3_0, Dim0_1, Dim1_1, Dim2_1, Dim3_1, i0, j0, k0, l0, i1, j1, k1, l1 >::iterA
private

Definition at line 13 of file Tensor4_minus_Tensor4.hpp.

◆ iterB

template<class A , class B , class T , class U , int Dim0_0, int Dim1_0, int Dim2_0, int Dim3_0, int Dim0_1, int Dim1_1, int Dim2_1, int Dim3_1, char i0, char j0, char k0, char l0, char i1, char j1, char k1, char l1>
Tensor4_Expr<B, U, Dim0_1, Dim1_1, Dim2_1, Dim3_1, i1, j1, k1, l1> FTensor::Tensor4_minus_Tensor4< A, B, T, U, Dim0_0, Dim1_0, Dim2_0, Dim3_0, Dim0_1, Dim1_1, Dim2_1, Dim3_1, i0, j0, k0, l0, i1, j1, k1, l1 >::iterB
private

Definition at line 14 of file Tensor4_minus_Tensor4.hpp.


The documentation for this class was generated from the following file:
FTensor::permute
U permute(const Tensor2_Expr< A, T, Dim0_0, Dim0_1, i0, j0 > &, const Tensor2_Expr< B, U, Dim1_0, Dim1_1, i1, j1 > &rhs, const int N0, const int N1)
Definition: permute.hpp:11
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::Tensor4_minus_Tensor4::iterB
Tensor4_Expr< B, U, Dim0_1, Dim1_1, Dim2_1, Dim3_1, i1, j1, k1, l1 > iterB
Definition: Tensor4_minus_Tensor4.hpp:14
FTensor::Tensor4_minus_Tensor4::iterA
Tensor4_Expr< A, T, Dim0_0, Dim1_0, Dim2_0, Dim3_0, i0, j0, k0, l0 > iterA
Definition: Tensor4_minus_Tensor4.hpp:13