v0.14.0
Public Member Functions | Private Attributes | List of all members
FTensor::Tensor3_plus_Tensor3< A, B, T, U, Dim0, Dim1, Dim2, Dim2, Dim0, Dim1, i, j, k, k, i, j > 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, Dim2, Dim0, Dim1, i, j, k, k, i, j >:
[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, Dim2, Dim0, Dim1, k, i, j > &b)
 

Private Attributes

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

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, Dim2, Dim0, Dim1, i, j, k, k, i, j >

Definition at line 114 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, Dim2, Dim0, Dim1, i, j, k, k, i, j >::Tensor3_plus_Tensor3 ( const Tensor3_Expr< A, T, Dim0, Dim1, Dim2, i, j, k > &  a,
const Tensor3_Expr< B, U, Dim2, Dim0, Dim1, k, i, j > &  b 
)
inline

Definition at line 127 of file Tensor3_plus_Tensor3.hpp.

130  : iterA(a), iterB(b)
131  {}

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

Definition at line 122 of file Tensor3_plus_Tensor3.hpp.

123  {
124  return iterA(N1, N2, N3) + iterB(N3, N1, N2);
125  }

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, Dim2, Dim0, Dim1, i, j, k, k, i, j >::iterA
private

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

Definition at line 118 of file Tensor3_plus_Tensor3.hpp.


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