v0.14.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FTensor::Tensor3_times_Tensor3_10< A, B, T, U, Dim0, Dim10, Dim2, Dim3, Dim4, i, j, k, l, m > Class Template Reference

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

Collaboration diagram for FTensor::Tensor3_times_Tensor3_10< A, B, T, U, Dim0, Dim10, Dim2, Dim3, Dim4, i, j, k, l, m >:
[legend]

Public Member Functions

 Tensor3_times_Tensor3_10 (const Tensor3_Expr< A, T, Dim0, Dim10, Dim2, i, m, j > &a, const Tensor3_Expr< B, U, Dim10, Dim3, Dim4, m, k, l > &b)
 
auto operator() (const int &N1, const int &N2, const int &N3, const int &N4) const
 

Private Member Functions

template<int CurrentDim>
promote< T, U >::V eval (const int N1, const int N2, const int N3, const int N4, const Number< CurrentDim > &) const
 
promote< T, U >::V eval (const int N1, const int N2, const int N3, const int N4, const Number< 1 > &) const
 

Private Attributes

Tensor3_Expr< A, T, Dim0, Dim10, Dim2, i, m, jiterA
 
Tensor3_Expr< B, U, Dim10, Dim3, Dim4, m, k, literB
 

Detailed Description

template<class A, class B, class T, class U, int Dim0, int Dim10, int Dim2, int Dim3, int Dim4, char i, char j, char k, char l, char m>
class FTensor::Tensor3_times_Tensor3_10< A, B, T, U, Dim0, Dim10, Dim2, Dim3, Dim4, i, j, k, l, m >

Definition at line 660 of file Tensor3_times_Tensor3.hpp.

Constructor & Destructor Documentation

◆ Tensor3_times_Tensor3_10()

template<class A , class B , class T , class U , int Dim0, int Dim10, int Dim2, int Dim3, int Dim4, char i, char j, char k, char l, char m>
FTensor::Tensor3_times_Tensor3_10< A, B, T, U, Dim0, Dim10, Dim2, Dim3, Dim4, i, j, k, l, m >::Tensor3_times_Tensor3_10 ( const Tensor3_Expr< A, T, Dim0, Dim10, Dim2, i, m, j > &  a,
const Tensor3_Expr< B, U, Dim10, Dim3, Dim4, m, k, l > &  b 
)
inline

Definition at line 677 of file Tensor3_times_Tensor3.hpp.

680  : iterA(a), iterB(b) {}

Member Function Documentation

◆ eval() [1/2]

template<class A , class B , class T , class U , int Dim0, int Dim10, int Dim2, int Dim3, int Dim4, char i, char j, char k, char l, char m>
promote<T, U>::V FTensor::Tensor3_times_Tensor3_10< A, B, T, U, Dim0, Dim10, Dim2, Dim3, Dim4, i, j, k, l, m >::eval ( const int  N1,
const int  N2,
const int  N3,
const int  N4,
const Number< 1 > &   
) const
inlineprivate

Definition at line 671 of file Tensor3_times_Tensor3.hpp.

672  {
673  return iterA(N1, 0, N2) * iterB(0, N3, N4);
674  }

◆ eval() [2/2]

template<class A , class B , class T , class U , int Dim0, int Dim10, int Dim2, int Dim3, int Dim4, char i, char j, char k, char l, char m>
template<int CurrentDim>
promote<T, U>::V FTensor::Tensor3_times_Tensor3_10< A, B, T, U, Dim0, Dim10, Dim2, Dim3, Dim4, i, j, k, l, m >::eval ( const int  N1,
const int  N2,
const int  N3,
const int  N4,
const Number< CurrentDim > &   
) const
inlineprivate

Definition at line 665 of file Tensor3_times_Tensor3.hpp.

667  {
668  return iterA(N1, CurrentDim - 1, N2) * iterB(CurrentDim - 1, N3, N4) +
669  eval(N1, N2, N3, N4, Number<CurrentDim - 1>());
670  }

◆ operator()()

template<class A , class B , class T , class U , int Dim0, int Dim10, int Dim2, int Dim3, int Dim4, char i, char j, char k, char l, char m>
auto FTensor::Tensor3_times_Tensor3_10< A, B, T, U, Dim0, Dim10, Dim2, Dim3, Dim4, i, j, k, l, m >::operator() ( const int &  N1,
const int &  N2,
const int &  N3,
const int &  N4 
) const
inline

Definition at line 681 of file Tensor3_times_Tensor3.hpp.

682  {
683  return eval(N1, N2, N3, N4, Number<Dim10>());
684  }

Member Data Documentation

◆ iterA

template<class A , class B , class T , class U , int Dim0, int Dim10, int Dim2, int Dim3, int Dim4, char i, char j, char k, char l, char m>
Tensor3_Expr<A, T, Dim0, Dim10, Dim2, i, m, j> FTensor::Tensor3_times_Tensor3_10< A, B, T, U, Dim0, Dim10, Dim2, Dim3, Dim4, i, j, k, l, m >::iterA
private

Definition at line 661 of file Tensor3_times_Tensor3.hpp.

◆ iterB

template<class A , class B , class T , class U , int Dim0, int Dim10, int Dim2, int Dim3, int Dim4, char i, char j, char k, char l, char m>
Tensor3_Expr<B, U, Dim10, Dim3, Dim4, m, k, l> FTensor::Tensor3_times_Tensor3_10< A, B, T, U, Dim0, Dim10, Dim2, Dim3, Dim4, i, j, k, l, m >::iterB
private

Definition at line 662 of file Tensor3_times_Tensor3.hpp.


The documentation for this class was generated from the following file:
FTensor::Tensor3_times_Tensor3_10::iterA
Tensor3_Expr< A, T, Dim0, Dim10, Dim2, i, m, j > iterA
Definition: Tensor3_times_Tensor3.hpp:661
FTensor::Tensor3_times_Tensor3_10::eval
promote< T, U >::V eval(const int N1, const int N2, const int N3, const int N4, const Number< CurrentDim > &) const
Definition: Tensor3_times_Tensor3.hpp:665
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::Tensor3_times_Tensor3_10::iterB
Tensor3_Expr< B, U, Dim10, Dim3, Dim4, m, k, l > iterB
Definition: Tensor3_times_Tensor3.hpp:662