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

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

Collaboration diagram for FTensor::Tensor3_or_Tensor3< A, B, T, U, Dim0, Dim12, Dim12, Dim0, Dim12, Dim12, i, j, k, i, k, j >:
[legend]

Public Member Functions

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

Private Attributes

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

Detailed Description

template<class A, class B, class T, class U, int Dim0, int Dim12, char i, char j, char k>
class FTensor::Tensor3_or_Tensor3< A, B, T, U, Dim0, Dim12, Dim12, Dim0, Dim12, Dim12, i, j, k, i, k, j >

Definition at line 18 of file Tensor3_or_Tensor3.hpp.

Constructor & Destructor Documentation

◆ Tensor3_or_Tensor3()

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

Definition at line 31 of file Tensor3_or_Tensor3.hpp.

34  : iterA(a), iterB(b)
35  {}

Member Function Documentation

◆ operator()()

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

Definition at line 26 of file Tensor3_or_Tensor3.hpp.

27  {
28  return iterA(N3, N1, N2) + iterB(N3, N2, N1);
29  }

Member Data Documentation

◆ iterA

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

Definition at line 21 of file Tensor3_or_Tensor3.hpp.

◆ iterB

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

Definition at line 22 of file Tensor3_or_Tensor3.hpp.


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