v0.8.13
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FTensor::Tensor3_contracted_01< 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_01 (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_01< A, T, Dim >

Definition at line 48 of file Tensor3_contracted.hpp.

Constructor & Destructor Documentation

◆ Tensor3_contracted_01()

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

Definition at line 62 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_01< A, T, Dim >::eval ( const int  N,
const Number< Current_Dim > &   
) const
private

Definition at line 53 of file Tensor3_contracted.hpp.

54  {
55  return iterA(Current_Dim - 1, Current_Dim - 1, N)
56  + eval(N, Number<Current_Dim - 1>());
57  }
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_01< A, T, Dim >::eval ( const int  N,
const Number< 1 > &   
) const
private

Definition at line 58 of file Tensor3_contracted.hpp.

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

◆ operator()()

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

Definition at line 61 of file Tensor3_contracted.hpp.

61 { 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_01< A, T, Dim >::iterA
private

Definition at line 50 of file Tensor3_contracted.hpp.


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