v0.14.0
Public Member Functions | Private Types | Private Attributes | List of all members
FTensor::Ddg_times_Ddg_2301< 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_2301< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >:
[legend]

Public Member Functions

 Ddg_times_Ddg_2301 (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, Dim45, Dim23, m, n, k, l >
 

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_2301< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >

Definition at line 144 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_2301< 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 146 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_2301< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >::IterB = Ddg_Expr<B, U, Dim45, Dim23, m, n, k, l>
private

Definition at line 147 of file Ddg_times_Ddg.hpp.

Constructor & Destructor Documentation

◆ Ddg_times_Ddg_2301()

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_2301< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >::Ddg_times_Ddg_2301 ( const IterA a,
const IterB b 
)
inline

Definition at line 153 of file Ddg_times_Ddg.hpp.

153 : 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_2301< 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 172 of file Ddg_times_Ddg.hpp.

174  {
175  return iterA(N1, N2, 0, 0) * iterB(0, 0, N3, N4);
176  }

◆ 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_2301< 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 165 of file Ddg_times_Ddg.hpp.

167  {
168  return iterA(N1, N2, 0, Current_Dim1 - 1) *
169  iterB(0, Current_Dim1 - 1, N3, N4) +
170  eval(N1, N2, N3, N4, Number<Dim45>(), Number<Current_Dim1 - 1>());
171  }

◆ 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_2301< 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 156 of file Ddg_times_Ddg.hpp.

158  {
159  return iterA(N1, N2, Current_Dim0 - 1, Current_Dim1 - 1) *
160  iterB(Current_Dim0 - 1, Current_Dim1 - 1, N3, N4) +
161  eval(N1, N2, N3, N4, Number<Current_Dim0 - 1>(),
162  Number<Current_Dim1>());
163  }

◆ 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_2301< 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 178 of file Ddg_times_Ddg.hpp.

179  {
180  return eval(N1, N2, N3, N4, Number<Dim45>(), Number<Dim45>());
181  }

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_2301< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >::iterA
private

Definition at line 149 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_2301< A, B, T, U, Dim01, Dim23, Dim45, i, j, k, l, m, n >::iterB
private

Definition at line 150 of file Ddg_times_Ddg.hpp.


The documentation for this class was generated from the following file:
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::Ddg_times_Ddg_2301::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:156
FTensor::Ddg_times_Ddg_2301::iterB
IterB iterB
Definition: Ddg_times_Ddg.hpp:150
FTensor::Ddg_times_Ddg_2301::iterA
IterA iterA
Definition: Ddg_times_Ddg.hpp:149