v0.8.15
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FTensor::Tensor3_contracted_02< A, T, Dim > Class Template Reference

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

Public Member Functions

T operator() (const int N) const
 
 Tensor3_contracted_02 (const A &a)
 

Private Member Functions

template<int Current_Dim>
T eval (const int N, const Number< Current_Dim > &) const
 
T eval (const int N, const Number< 1 > &) const
 

Private Attributes

iterA
 

Detailed Description

template<class A, class T, int Dim>
class FTensor::Tensor3_contracted_02< A, T, Dim >

Definition at line 29 of file Tensor3_contracted.hpp.

Constructor & Destructor Documentation

◆ Tensor3_contracted_02()

template<class A, class T, int Dim>
FTensor::Tensor3_contracted_02< A, T, Dim >::Tensor3_contracted_02 ( const A &  a)

Definition at line 43 of file Tensor3_contracted.hpp.

Member Function Documentation

◆ eval() [1/2]

template<class A, class T, int Dim>
template<int Current_Dim>
T FTensor::Tensor3_contracted_02< A, T, Dim >::eval ( const int  N,
const Number< Current_Dim > &   
) const
private

Definition at line 34 of file Tensor3_contracted.hpp.

35  {
36  return iterA(Current_Dim - 1, N, Current_Dim - 1)
37  + eval(N, Number<Current_Dim - 1>());
38  }
T eval(const int N, const Number< Current_Dim > &) const
const int N
Definition: speed_test.cpp:3

◆ eval() [2/2]

template<class A, class T, int Dim>
T FTensor::Tensor3_contracted_02< A, T, Dim >::eval ( const int  N,
const Number< 1 > &   
) const
private

Definition at line 39 of file Tensor3_contracted.hpp.

39 { return iterA(0, N, 0); }
const int N
Definition: speed_test.cpp:3

◆ operator()()

template<class A, class T, int Dim>
T FTensor::Tensor3_contracted_02< A, T, Dim >::operator() ( const int  N) const

Definition at line 42 of file Tensor3_contracted.hpp.

42 { return eval(N, Number<Dim>()); }
T eval(const int N, const Number< Current_Dim > &) const
const int N
Definition: speed_test.cpp:3

Member Data Documentation

◆ iterA

template<class A, class T, int Dim>
A FTensor::Tensor3_contracted_02< A, T, Dim >::iterA
private

Definition at line 31 of file Tensor3_contracted.hpp.


The documentation for this class was generated from the following file: