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

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

Collaboration diagram for FTensor::Tensor3_times_Tensor3_23_32< A, B, T, U, Dim15, Dim24, Dim0, Dim3, i, j, k, l >:
[legend]

Public Member Functions

 Tensor3_times_Tensor3_23_32 (const Tensor3_Expr< A, T, Dim0, Dim15, Dim24, i, k, l > &a, const Tensor3_Expr< B, U, Dim3, Dim24, Dim15, j, l, k > &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, Dim0, Dim15, Dim24, i, k, literA
 
Tensor3_Expr< B, U, Dim3, Dim24, Dim15, j, l, kiterB
 

Detailed Description

template<class A, class B, class T, class U, int Dim15, int Dim24, int Dim0, int Dim3, char i, char j, char k, char l>
class FTensor::Tensor3_times_Tensor3_23_32< A, B, T, U, Dim15, Dim24, Dim0, Dim3, i, j, k, l >

Definition at line 456 of file Tensor3_times_Tensor3.hpp.

Constructor & Destructor Documentation

◆ Tensor3_times_Tensor3_23_32()

template<class A , class B , class T , class U , int Dim15, int Dim24, int Dim0, int Dim3, char i, char j, char k, char l>
FTensor::Tensor3_times_Tensor3_23_32< A, B, T, U, Dim15, Dim24, Dim0, Dim3, i, j, k, l >::Tensor3_times_Tensor3_23_32 ( const Tensor3_Expr< A, T, Dim0, Dim15, Dim24, i, k, l > &  a,
const Tensor3_Expr< B, U, Dim3, Dim24, Dim15, j, l, k > &  b 
)
inline

Definition at line 481 of file Tensor3_times_Tensor3.hpp.

484  : iterA(a), iterB(b)
485  {}

Member Function Documentation

◆ eval() [1/3]

template<class A , class B , class T , class U , int Dim15, int Dim24, int Dim0, int Dim3, char i, char j, char k, char l>
promote<T, U>::V FTensor::Tensor3_times_Tensor3_23_32< A, B, T, U, Dim15, Dim24, Dim0, Dim3, i, j, k, l >::eval ( const int  N1,
const int  N2,
const Number< 1 > &  ,
const Number< 1 > &   
) const
inlineprivate

Definition at line 475 of file Tensor3_times_Tensor3.hpp.

476  {
477  return iterA(N1, 0, 0) * iterB(N2, 0, 0);
478  }

◆ eval() [2/3]

template<class A , class B , class T , class U , int Dim15, int Dim24, int Dim0, int Dim3, char i, char j, char k, char l>
template<int CurrentDim0>
promote<T, U>::V FTensor::Tensor3_times_Tensor3_23_32< A, B, T, U, Dim15, Dim24, Dim0, Dim3, i, j, k, l >::eval ( const int  N1,
const int  N2,
const Number< CurrentDim0 > &  ,
const Number< 1 > &   
) const
inlineprivate

Definition at line 469 of file Tensor3_times_Tensor3.hpp.

471  {
472  return iterA(N1, CurrentDim0 - 1, 0) * iterB(N2, 0, CurrentDim0 - 1) +
473  eval(N1, N2, Number<CurrentDim0 - 1>(), Number<Dim24>());
474  }

◆ eval() [3/3]

template<class A , class B , class T , class U , int Dim15, int Dim24, int Dim0, int Dim3, char i, char j, char k, char l>
template<int CurrentDim0, int CurrentDim1>
promote<T, U>::V FTensor::Tensor3_times_Tensor3_23_32< A, B, T, U, Dim15, Dim24, Dim0, Dim3, i, j, k, l >::eval ( const int  N1,
const int  N2,
const Number< CurrentDim0 > &  ,
const Number< CurrentDim1 > &   
) const
inlineprivate

Definition at line 461 of file Tensor3_times_Tensor3.hpp.

463  {
464  return iterA(N1, CurrentDim0 - 1, CurrentDim1 - 1) *
465  iterB(N2, CurrentDim1 - 1, CurrentDim0 - 1) +
466  eval(N1, N2, Number<CurrentDim0>(), Number<CurrentDim1 - 1>());
467  }

◆ operator()()

template<class A , class B , class T , class U , int Dim15, int Dim24, int Dim0, int Dim3, char i, char j, char k, char l>
promote<T, U>::V FTensor::Tensor3_times_Tensor3_23_32< A, B, T, U, Dim15, Dim24, Dim0, Dim3, i, j, k, l >::operator() ( const int &  N1,
const int &  N2 
) const
inline

Definition at line 486 of file Tensor3_times_Tensor3.hpp.

487  {
488  return eval(N1, N2, Number<Dim15>(), Number<Dim24>());
489  }

Member Data Documentation

◆ iterA

template<class A , class B , class T , class U , int Dim15, int Dim24, int Dim0, int Dim3, char i, char j, char k, char l>
Tensor3_Expr<A, T, Dim0, Dim15, Dim24, i, k, l> FTensor::Tensor3_times_Tensor3_23_32< A, B, T, U, Dim15, Dim24, Dim0, Dim3, i, j, k, l >::iterA
private

Definition at line 457 of file Tensor3_times_Tensor3.hpp.

◆ iterB

template<class A , class B , class T , class U , int Dim15, int Dim24, int Dim0, int Dim3, char i, char j, char k, char l>
Tensor3_Expr<B, U, Dim3, Dim24, Dim15, j, l, k> FTensor::Tensor3_times_Tensor3_23_32< A, B, T, U, Dim15, Dim24, Dim0, Dim3, i, j, k, l >::iterB
private

Definition at line 458 of file Tensor3_times_Tensor3.hpp.


The documentation for this class was generated from the following file:
FTensor::Tensor3_times_Tensor3_23_32::eval
promote< T, U >::V eval(const int N1, const int N2, const Number< CurrentDim0 > &, const Number< CurrentDim1 > &) const
Definition: Tensor3_times_Tensor3.hpp:461
FTensor::Tensor3_times_Tensor3_23_32::iterA
Tensor3_Expr< A, T, Dim0, Dim15, Dim24, i, k, l > iterA
Definition: Tensor3_times_Tensor3.hpp:457
FTensor::Tensor3_times_Tensor3_23_32::iterB
Tensor3_Expr< B, U, Dim3, Dim24, Dim15, j, l, k > iterB
Definition: Tensor3_times_Tensor3.hpp:458
a
constexpr double a
Definition: approx_sphere.cpp:30