v0.15.0
Loading...
Searching...
No Matches
FTensor::Tensor4_contracted_01< A, T, Dim > Class Template Reference

#include "src/ftensor/src/FTensor/Tensor4/Tensor4_contracted.hpp"

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

Public Member Functions

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

Private Attributes

A iterA
 

Detailed Description

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

Definition at line 93 of file Tensor4_contracted.hpp.

Constructor & Destructor Documentation

◆ Tensor4_contracted_01()

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

Definition at line 107 of file Tensor4_contracted.hpp.

107: iterA(a) {}
constexpr double a

Member Function Documentation

◆ operator()()

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

Definition at line 98 of file Tensor4_contracted.hpp.

99 {
100 T result(0);
101 for(int ii = 0; ii < Dim; ++ii)
102 {
103 result += iterA(ii, ii, N0, N1);
104 }
105 return result;
106 }

Member Data Documentation

◆ iterA

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

Definition at line 95 of file Tensor4_contracted.hpp.


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