v0.8.13
Public Member Functions | Private Attributes | List of all members
FTensor::minus_Dg< A, T, Dim01, Dim2, i, j, k > Class Template Reference

#include <src/ftensor/src/FTensor/Dg/minus_Dg.hpp>

Public Member Functions

T operator() (const int N1, const int N2, const int N3) const
 
 minus_Dg (const Dg_Expr< A, T, Dim01, Dim2, i, j, k > &a)
 

Private Attributes

Dg_Expr< A, T, Dim01, Dim2, i, j, k > iterA
 

Detailed Description

template<class A, class T, int Dim01, int Dim2, char i, char j, char k>
class FTensor::minus_Dg< A, T, Dim01, Dim2, i, j, k >

Definition at line 8 of file minus_Dg.hpp.

Constructor & Destructor Documentation

◆ minus_Dg()

template<class A , class T , int Dim01, int Dim2, char i, char j, char k>
FTensor::minus_Dg< A, T, Dim01, Dim2, i, j, k >::minus_Dg ( const Dg_Expr< A, T, Dim01, Dim2, i, j, k > &  a)

Definition at line 18 of file minus_Dg.hpp.

18 : iterA(a) {}
Dg_Expr< A, T, Dim01, Dim2, i, j, k > iterA
Definition: minus_Dg.hpp:10

Member Function Documentation

◆ operator()()

template<class A , class T , int Dim01, int Dim2, char i, char j, char k>
T FTensor::minus_Dg< A, T, Dim01, Dim2, i, j, k >::operator() ( const int  N1,
const int  N2,
const int  N3 
) const

Definition at line 13 of file minus_Dg.hpp.

14  {
15  return -iterA(N1, N2, N3);
16  }
Dg_Expr< A, T, Dim01, Dim2, i, j, k > iterA
Definition: minus_Dg.hpp:10

Member Data Documentation

◆ iterA

template<class A , class T , int Dim01, int Dim2, char i, char j, char k>
Dg_Expr<A, T, Dim01, Dim2, i, j, k> FTensor::minus_Dg< A, T, Dim01, Dim2, i, j, k >::iterA
private

Definition at line 10 of file minus_Dg.hpp.


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