v0.14.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FTensor::Tensor3_times_Tensor3_12_21< A, B, T, U, Dim04, Dim13, Dim2, Dim5, i, j, k, l > Class Template Reference

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

Collaboration diagram for FTensor::Tensor3_times_Tensor3_12_21< A, B, T, U, Dim04, Dim13, Dim2, Dim5, i, j, k, l >:
[legend]

Public Member Functions

 Tensor3_times_Tensor3_12_21 (const Tensor3_Expr< A, T, Dim04, Dim13, Dim2, i, j, k > &a, const Tensor3_Expr< B, U, Dim13, Dim04, Dim5, j, i, l > &b)
 
promote< T, U >::V operator() (const int &N1, const int &N2) const
 

Private Member Functions

template<int CurrentDim0, int CurrentDim1>
promote< T, U >::V eval (const int N1, const int N2, const Number< CurrentDim0 > &, const Number< CurrentDim1 > &) const
 
template<int CurrentDim0>
promote< T, U >::V eval (const int N1, const int N2, const Number< CurrentDim0 > &, const Number< 1 > &) const
 
promote< T, U >::V eval (const int N1, const int N2, const Number< 1 > &, const Number< 1 > &) const
 

Private Attributes

Tensor3_Expr< A, T, Dim04, Dim13, Dim2, i, j, kiterA
 
Tensor3_Expr< B, U, Dim13, Dim04, Dim5, j, i, literB
 

Detailed Description

template<class A, class B, class T, class U, int Dim04, int Dim13, int Dim2, int Dim5, char i, char j, char k, char l>
class FTensor::Tensor3_times_Tensor3_12_21< A, B, T, U, Dim04, Dim13, Dim2, Dim5, i, j, k, l >

Definition at line 402 of file Tensor3_times_Tensor3.hpp.

Constructor & Destructor Documentation

◆ Tensor3_times_Tensor3_12_21()

template<class A , class B , class T , class U , int Dim04, int Dim13, int Dim2, int Dim5, char i, char j, char k, char l>
FTensor::Tensor3_times_Tensor3_12_21< A, B, T, U, Dim04, Dim13, Dim2, Dim5, i, j, k, l >::Tensor3_times_Tensor3_12_21 ( const Tensor3_Expr< A, T, Dim04, Dim13, Dim2, i, j, k > &  a,
const Tensor3_Expr< B, U, Dim13, Dim04, Dim5, j, i, l > &  b 
)
inline

Definition at line 428 of file Tensor3_times_Tensor3.hpp.

431  : iterA(a), iterB(b)
432  {}

Member Function Documentation

◆ eval() [1/3]

template<class A , class B , class T , class U , int Dim04, int Dim13, int Dim2, int Dim5, char i, char j, char k, char l>
promote<T, U>::V FTensor::Tensor3_times_Tensor3_12_21< A, B, T, U, Dim04, Dim13, Dim2, Dim5, i, j, k, l >::eval ( const int  N1,
const int  N2,
const Number< 1 > &  ,
const Number< 1 > &   
) const
inlineprivate

Definition at line 422 of file Tensor3_times_Tensor3.hpp.

423  {
424  return iterA(0, 0, N1) * iterB(0, 0, N2);
425  }

◆ eval() [2/3]

template<class A , class B , class T , class U , int Dim04, int Dim13, int Dim2, int Dim5, char i, char j, char k, char l>
template<int CurrentDim0>
promote<T, U>::V FTensor::Tensor3_times_Tensor3_12_21< A, B, T, U, Dim04, Dim13, Dim2, Dim5, i, j, k, l >::eval ( const int  N1,
const int  N2,
const Number< CurrentDim0 > &  ,
const Number< 1 > &   
) const
inlineprivate

Definition at line 416 of file Tensor3_times_Tensor3.hpp.

418  {
419  return iterA(CurrentDim0 - 1, 0, N1) * iterB(0, CurrentDim0 - 1, N2) +
420  eval(N1, N2, Number<CurrentDim0 - 1>(), Number<Dim13>());
421  }

◆ eval() [3/3]

template<class A , class B , class T , class U , int Dim04, int Dim13, int Dim2, int Dim5, char i, char j, char k, char l>
template<int CurrentDim0, int CurrentDim1>
promote<T, U>::V FTensor::Tensor3_times_Tensor3_12_21< A, B, T, U, Dim04, Dim13, Dim2, Dim5, i, j, k, l >::eval ( const int  N1,
const int  N2,
const Number< CurrentDim0 > &  ,
const Number< CurrentDim1 > &   
) const
inlineprivate

Definition at line 408 of file Tensor3_times_Tensor3.hpp.

410  {
411  return iterA(CurrentDim0 - 1, CurrentDim1 - 1, N1) *
412  iterB(CurrentDim1 - 1, CurrentDim0 - 1, N2) +
413  eval(N1, N2, Number<CurrentDim0>(), Number<CurrentDim1 - 1>());
414  }

◆ operator()()

template<class A , class B , class T , class U , int Dim04, int Dim13, int Dim2, int Dim5, char i, char j, char k, char l>
promote<T, U>::V FTensor::Tensor3_times_Tensor3_12_21< A, B, T, U, Dim04, Dim13, Dim2, Dim5, i, j, k, l >::operator() ( const int &  N1,
const int &  N2 
) const
inline

Definition at line 433 of file Tensor3_times_Tensor3.hpp.

434  {
435  return eval(N1, N2, Number<Dim04>(), Number<Dim13>());
436  }

Member Data Documentation

◆ iterA

template<class A , class B , class T , class U , int Dim04, int Dim13, int Dim2, int Dim5, char i, char j, char k, char l>
Tensor3_Expr<A, T, Dim04, Dim13, Dim2, i, j, k> FTensor::Tensor3_times_Tensor3_12_21< A, B, T, U, Dim04, Dim13, Dim2, Dim5, i, j, k, l >::iterA
private

Definition at line 404 of file Tensor3_times_Tensor3.hpp.

◆ iterB

template<class A , class B , class T , class U , int Dim04, int Dim13, int Dim2, int Dim5, char i, char j, char k, char l>
Tensor3_Expr<B, U, Dim13, Dim04, Dim5, j, i, l> FTensor::Tensor3_times_Tensor3_12_21< A, B, T, U, Dim04, Dim13, Dim2, Dim5, i, j, k, l >::iterB
private

Definition at line 405 of file Tensor3_times_Tensor3.hpp.


The documentation for this class was generated from the following file:
FTensor::Tensor3_times_Tensor3_12_21::iterA
Tensor3_Expr< A, T, Dim04, Dim13, Dim2, i, j, k > iterA
Definition: Tensor3_times_Tensor3.hpp:404
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::Tensor3_times_Tensor3_12_21::eval
promote< T, U >::V eval(const int N1, const int N2, const Number< CurrentDim0 > &, const Number< CurrentDim1 > &) const
Definition: Tensor3_times_Tensor3.hpp:408
FTensor::Tensor3_times_Tensor3_12_21::iterB
Tensor3_Expr< B, U, Dim13, Dim04, Dim5, j, i, l > iterB
Definition: Tensor3_times_Tensor3.hpp:405