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

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

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

Public Member Functions

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

Private Attributes

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

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_plus_Tensor3< A, B, T, U, Dim0, Dim1, Dim2, Dim1, Dim2, Dim0, i, j, k, j, k, i >

Definition at line 90 of file Tensor3_plus_Tensor3.hpp.

Constructor & Destructor Documentation

◆ Tensor3_plus_Tensor3()

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

Definition at line 103 of file Tensor3_plus_Tensor3.hpp.

106  : iterA(a), iterB(b)
107  {}

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_plus_Tensor3< A, B, T, U, Dim0, Dim1, Dim2, Dim1, Dim2, Dim0, i, j, k, j, k, i >::operator() ( const int  N1,
const int  N2,
const int  N3 
) const
inline

Definition at line 98 of file Tensor3_plus_Tensor3.hpp.

99  {
100  return iterA(N1, N2, N3) + iterB(N2, N3, N1);
101  }

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_plus_Tensor3< A, B, T, U, Dim0, Dim1, Dim2, Dim1, Dim2, Dim0, i, j, k, j, k, i >::iterA
private

Definition at line 93 of file Tensor3_plus_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, Dim2, Dim0, j, k, i> FTensor::Tensor3_plus_Tensor3< A, B, T, U, Dim0, Dim1, Dim2, Dim1, Dim2, Dim0, i, j, k, j, k, i >::iterB
private

Definition at line 94 of file Tensor3_plus_Tensor3.hpp.


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