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

#include <src/ftensor/src/FTensor/Tensor4/Tensor4_contracted.hpp>

Collaboration diagram for FTensor::Tensor4_contracted_02< A, T, Dim >:
[legend]

Public Member Functions

operator() (const int N0, const int N1) const
 
 Tensor4_contracted_02 (const A &a)
 

Private Attributes

A iterA
 

Detailed Description

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

Definition at line 76 of file Tensor4_contracted.hpp.

Constructor & Destructor Documentation

◆ Tensor4_contracted_02()

template<class A , class T , int Dim>
FTensor::Tensor4_contracted_02< A, T, Dim >::Tensor4_contracted_02 ( const A a)
inline

Definition at line 90 of file Tensor4_contracted.hpp.

90 : iterA(a) {}

Member Function Documentation

◆ operator()()

template<class A , class T , int Dim>
T FTensor::Tensor4_contracted_02< A, T, Dim >::operator() ( const int  N0,
const int  N1 
) const
inline

Definition at line 81 of file Tensor4_contracted.hpp.

82  {
83  T result(0);
84  for(int ii = 0; ii < Dim; ++ii)
85  {
86  result += iterA(ii, N0, ii, N1);
87  }
88  return result;
89  }

Member Data Documentation

◆ iterA

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

Definition at line 78 of file Tensor4_contracted.hpp.


The documentation for this class was generated from the following file:
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::Tensor4_contracted_02::iterA
A iterA
Definition: Tensor4_contracted.hpp:78