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

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

Collaboration diagram for FTensor::Tensor3_or_Tensor3< A, B, T, U, Dim02, Dim1, Dim02, Dim02, Dim1, Dim02, i, j, k, k, j, i >:
[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, Dim02, Dim1, Dim02, i, j, k > &a, const Tensor3_Expr< B, U, Dim02, Dim1, Dim02, k, j, i > &b)
 

Private Attributes

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

Detailed Description

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

Definition at line 42 of file Tensor3_or_Tensor3.hpp.

Constructor & Destructor Documentation

◆ Tensor3_or_Tensor3()

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

Definition at line 55 of file Tensor3_or_Tensor3.hpp.

58  : iterA(a), iterB(b)
59  {}

Member Function Documentation

◆ operator()()

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

Definition at line 50 of file Tensor3_or_Tensor3.hpp.

51  {
52  return iterA(N1, N3, N2) + iterB(N2, N3, N1);
53  }

Member Data Documentation

◆ iterA

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

Definition at line 45 of file Tensor3_or_Tensor3.hpp.

◆ iterB

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

Definition at line 46 of file Tensor3_or_Tensor3.hpp.


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