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

#include <src/ftensor/src/FTensor/Tensor1/minus_Tensor1.hpp>

Public Member Functions

operator() (const int N) const
 
 minus_Tensor1 (const Tensor1_Expr< A, T, Dim, i > &a)
 

Private Attributes

Tensor1_Expr< A, T, Dim, i > iterA
 

Detailed Description

template<class A, class T, int Dim, char i>
class FTensor::minus_Tensor1< A, T, Dim, i >

Definition at line 7 of file minus_Tensor1.hpp.

Constructor & Destructor Documentation

◆ minus_Tensor1()

template<class A , class T , int Dim, char i>
FTensor::minus_Tensor1< A, T, Dim, i >::minus_Tensor1 ( const Tensor1_Expr< A, T, Dim, i > &  a)

Definition at line 14 of file minus_Tensor1.hpp.

14 : iterA(a) {}
Tensor1_Expr< A, T, Dim, i > iterA

Member Function Documentation

◆ operator()()

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

Definition at line 12 of file minus_Tensor1.hpp.

12 { return -iterA(N); }
Tensor1_Expr< A, T, Dim, i > iterA

Member Data Documentation

◆ iterA

template<class A , class T , int Dim, char i>
Tensor1_Expr<A, T, Dim, i> FTensor::minus_Tensor1< A, T, Dim, i >::iterA
private

Definition at line 9 of file minus_Tensor1.hpp.


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