v0.14.0
Public Member Functions | Private Types | Private Attributes | List of all members
FTensor::Ddg_times_Ddg_2323< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n > Class Template Reference

#include <src/ftensor/src/FTensor/Ddg/Ddg_times_Ddg.hpp>

Collaboration diagram for FTensor::Ddg_times_Ddg_2323< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >:
[legend]

Public Member Functions

 Ddg_times_Ddg_2323 (const IterA &a, const IterB &b)
 
template<int Current_Dim0, int Current_Dim1>
promote< T, U >::V eval (const int N1, const int N2, const int N3, const int N4, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &) const
 
template<int Current_Dim1>
promote< T, U >::V eval (const int N1, const int N2, const int N3, const int N4, const Number< 1 > &, const Number< Current_Dim1 > &) const
 
promote< T, U >::V eval (const int N1, const int N2, const int N3, const int N4, const Number< 1 > &, const Number< 1 > &) const
 
promote< T, U >::V operator() (const int N1, const int N2, const int N3, const int N4) const
 

Private Types

using IterA = Ddg_Expr< A, T, Dim45, Dim01, i, j, m, n >
 
using IterB = Ddg_Expr< B, U, Dim23, Dim45, k, l, m, n >
 

Private Attributes

IterA iterA
 
IterB iterB
 

Detailed Description

template<class A, class B, class T, class U, int Dim01, int Dim23, int Dim45, char i, char j, char k, char l, char m, char n>
class FTensor::Ddg_times_Ddg_2323< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >

Definition at line 259 of file Ddg_times_Ddg.hpp.

Member Typedef Documentation

◆ IterA

template<class A , class B , class T , class U , int Dim01, int Dim23, int Dim45, char i, char j, char k, char l, char m, char n>
using FTensor::Ddg_times_Ddg_2323< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >::IterA = Ddg_Expr<A, T, Dim45, Dim01, i, j, m, n>
private

Definition at line 261 of file Ddg_times_Ddg.hpp.

◆ IterB

template<class A , class B , class T , class U , int Dim01, int Dim23, int Dim45, char i, char j, char k, char l, char m, char n>
using FTensor::Ddg_times_Ddg_2323< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >::IterB = Ddg_Expr<B, U, Dim23, Dim45, k, l, m, n>
private

Definition at line 262 of file Ddg_times_Ddg.hpp.

Constructor & Destructor Documentation

◆ Ddg_times_Ddg_2323()

template<class A , class B , class T , class U , int Dim01, int Dim23, int Dim45, char i, char j, char k, char l, char m, char n>
FTensor::Ddg_times_Ddg_2323< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >::Ddg_times_Ddg_2323 ( const IterA a,
const IterB b 
)
inline

Definition at line 268 of file Ddg_times_Ddg.hpp.

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

Member Function Documentation

◆ eval() [1/3]

template<class A , class B , class T , class U , int Dim01, int Dim23, int Dim45, char i, char j, char k, char l, char m, char n>
promote<T, U>::V FTensor::Ddg_times_Ddg_2323< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >::eval ( const int  N1,
const int  N2,
const int  N3,
const int  N4,
const Number< 1 > &  ,
const Number< 1 > &   
) const
inline

Definition at line 287 of file Ddg_times_Ddg.hpp.

290  {
291  return iterA(N1, N2, 0, 0) * iterB(N3, N4, 0, 0);
292  }

◆ eval() [2/3]

template<class A , class B , class T , class U , int Dim01, int Dim23, int Dim45, char i, char j, char k, char l, char m, char n>
template<int Current_Dim1>
promote<T, U>::V FTensor::Ddg_times_Ddg_2323< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >::eval ( const int  N1,
const int  N2,
const int  N3,
const int  N4,
const Number< 1 > &  ,
const Number< Current_Dim1 > &   
) const
inline

Definition at line 281 of file Ddg_times_Ddg.hpp.

282  {
283  return iterA(N1, N2, 0, Current_Dim1 - 1) *
284  iterB(N3, N4, 0, Current_Dim1 - 1) +
285  eval(N1, N2, N3, N4, Number<Dim45>(), Number<Current_Dim1 - 1>());
286  }

◆ eval() [3/3]

template<class A , class B , class T , class U , int Dim01, int Dim23, int Dim45, char i, char j, char k, char l, char m, char n>
template<int Current_Dim0, int Current_Dim1>
promote<T, U>::V FTensor::Ddg_times_Ddg_2323< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >::eval ( const int  N1,
const int  N2,
const int  N3,
const int  N4,
const Number< Current_Dim0 > &  ,
const Number< Current_Dim1 > &   
) const
inline

Definition at line 272 of file Ddg_times_Ddg.hpp.

273  {
274  return iterA(N1, N2, Current_Dim0 - 1, Current_Dim1 - 1) *
275  iterB(N3, N4, Current_Dim0 - 1, Current_Dim1 - 1) +
276  eval(N1, N2, N3, N4, Number<Current_Dim0 - 1>(),
277  Number<Current_Dim1>());
278  }

◆ operator()()

template<class A , class B , class T , class U , int Dim01, int Dim23, int Dim45, char i, char j, char k, char l, char m, char n>
promote<T, U>::V FTensor::Ddg_times_Ddg_2323< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >::operator() ( const int  N1,
const int  N2,
const int  N3,
const int  N4 
) const
inline

Definition at line 294 of file Ddg_times_Ddg.hpp.

295  {
296  return eval(N1, N2, N3, N4, Number<Dim45>(), Number<Dim45>());
297  }

Member Data Documentation

◆ iterA

template<class A , class B , class T , class U , int Dim01, int Dim23, int Dim45, char i, char j, char k, char l, char m, char n>
IterA FTensor::Ddg_times_Ddg_2323< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >::iterA
private

Definition at line 264 of file Ddg_times_Ddg.hpp.

◆ iterB

template<class A , class B , class T , class U , int Dim01, int Dim23, int Dim45, char i, char j, char k, char l, char m, char n>
IterB FTensor::Ddg_times_Ddg_2323< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >::iterB
private

Definition at line 265 of file Ddg_times_Ddg.hpp.


The documentation for this class was generated from the following file:
FTensor::Ddg_times_Ddg_2323::eval
promote< T, U >::V eval(const int N1, const int N2, const int N3, const int N4, const Number< Current_Dim0 > &, const Number< Current_Dim1 > &) const
Definition: Ddg_times_Ddg.hpp:272
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::Ddg_times_Ddg_2323::iterB
IterB iterB
Definition: Ddg_times_Ddg.hpp:265
FTensor::Ddg_times_Ddg_2323::iterA
IterA iterA
Definition: Ddg_times_Ddg.hpp:264