v0.14.0
Public Member Functions | Private Attributes | List of all members
FTensor::Tensor3_minus_Tensor3< A, B, T, U, Dim0, Dim1, Dim2, Dim1, Dim0, Dim2, i, j, k, j, i, k > Class Template Reference

#include <src/ftensor/src/FTensor/Tensor3/Tensor3_minus_Tensor3.hpp>

Collaboration diagram for FTensor::Tensor3_minus_Tensor3< A, B, T, U, Dim0, Dim1, Dim2, Dim1, Dim0, Dim2, i, j, k, j, i, k >:
[legend]

Public Member Functions

promote< T, U >::V operator() (const int N1, const int N2, const int N3) const
 
 Tensor3_minus_Tensor3 (const Tensor3_Expr< A, T, Dim0, Dim1, Dim2, i, j, k > &a, const Tensor3_Expr< B, U, Dim1, Dim0, Dim2, j, i, k > &b)
 

Private Attributes

Tensor3_Expr< A, T, Dim0, Dim1, Dim2, i, j, kiterA
 
Tensor3_Expr< B, U, Dim1, Dim0, Dim2, j, i, kiterB
 

Detailed Description

template<class A, class B, class T, class U, int Dim0, int Dim1, int Dim2, char i, char j, char k>
class FTensor::Tensor3_minus_Tensor3< A, B, T, U, Dim0, Dim1, Dim2, Dim1, Dim0, Dim2, i, j, k, j, i, k >

Definition at line 66 of file Tensor3_minus_Tensor3.hpp.

Constructor & Destructor Documentation

◆ Tensor3_minus_Tensor3()

template<class A , class B , class T , class U , int Dim0, int Dim1, int Dim2, char i, char j, char k>
FTensor::Tensor3_minus_Tensor3< A, B, T, U, Dim0, Dim1, Dim2, Dim1, Dim0, Dim2, i, j, k, j, i, k >::Tensor3_minus_Tensor3 ( const Tensor3_Expr< A, T, Dim0, Dim1, Dim2, i, j, k > &  a,
const Tensor3_Expr< B, U, Dim1, Dim0, Dim2, j, i, k > &  b 
)
inline

Definition at line 79 of file Tensor3_minus_Tensor3.hpp.

82  : iterA(a), iterB(b)
83  {}

Member Function Documentation

◆ operator()()

template<class A , class B , class T , class U , int Dim0, int Dim1, int Dim2, char i, char j, char k>
promote<T, U>::V FTensor::Tensor3_minus_Tensor3< A, B, T, U, Dim0, Dim1, Dim2, Dim1, Dim0, Dim2, i, j, k, j, i, k >::operator() ( const int  N1,
const int  N2,
const int  N3 
) const
inline

Definition at line 74 of file Tensor3_minus_Tensor3.hpp.

75  {
76  return iterA(N1, N2, N3) - iterB(N2, N1, N3);
77  }

Member Data Documentation

◆ iterA

template<class A , class B , class T , class U , int Dim0, int Dim1, int Dim2, char i, char j, char k>
Tensor3_Expr<A, T, Dim0, Dim1, Dim2, i, j, k> FTensor::Tensor3_minus_Tensor3< A, B, T, U, Dim0, Dim1, Dim2, Dim1, Dim0, Dim2, i, j, k, j, i, k >::iterA
private

Definition at line 69 of file Tensor3_minus_Tensor3.hpp.

◆ iterB

template<class A , class B , class T , class U , int Dim0, int Dim1, int Dim2, char i, char j, char k>
Tensor3_Expr<B, U, Dim1, Dim0, Dim2, j, i, k> FTensor::Tensor3_minus_Tensor3< A, B, T, U, Dim0, Dim1, Dim2, Dim1, Dim0, Dim2, i, j, k, j, i, k >::iterB
private

Definition at line 70 of file Tensor3_minus_Tensor3.hpp.


The documentation for this class was generated from the following file:
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::Tensor3_minus_Tensor3< A, B, T, U, Dim0, Dim1, Dim2, Dim1, Dim0, Dim2, i, j, k, j, i, k >::iterB
Tensor3_Expr< B, U, Dim1, Dim0, Dim2, j, i, k > iterB
Definition: Tensor3_minus_Tensor3.hpp:70
FTensor::Tensor3_minus_Tensor3< A, B, T, U, Dim0, Dim1, Dim2, Dim1, Dim0, Dim2, i, j, k, j, i, k >::iterA
Tensor3_Expr< A, T, Dim0, Dim1, Dim2, i, j, k > iterA
Definition: Tensor3_minus_Tensor3.hpp:69