v0.14.0
Public Member Functions | Private Attributes | List of all members
FTensor::minus_Tensor2< A, T, Dim0, Dim1, i, j > Class Template Reference

#include <src/ftensor/src/FTensor/Tensor2/minus_Tensor2.hpp>

Collaboration diagram for FTensor::minus_Tensor2< A, T, Dim0, Dim1, i, j >:
[legend]

Public Member Functions

operator() (const int N1, const int N2) const
 
 minus_Tensor2 (const Tensor2_Expr< A, T, Dim0, Dim1, i, j > &a)
 

Private Attributes

const Tensor2_Expr< A, T, Dim0, Dim1, i, jiterA
 

Detailed Description

template<class A, class T, int Dim0, int Dim1, char i, char j>
class FTensor::minus_Tensor2< A, T, Dim0, Dim1, i, j >

Definition at line 8 of file minus_Tensor2.hpp.

Constructor & Destructor Documentation

◆ minus_Tensor2()

template<class A , class T , int Dim0, int Dim1, char i, char j>
FTensor::minus_Tensor2< A, T, Dim0, Dim1, i, j >::minus_Tensor2 ( const Tensor2_Expr< A, T, Dim0, Dim1, i, j > &  a)
inline

Definition at line 15 of file minus_Tensor2.hpp.

15 : iterA(a) {}

Member Function Documentation

◆ operator()()

template<class A , class T , int Dim0, int Dim1, char i, char j>
T FTensor::minus_Tensor2< A, T, Dim0, Dim1, i, j >::operator() ( const int  N1,
const int  N2 
) const
inline

Definition at line 13 of file minus_Tensor2.hpp.

13 { return -iterA(N1, N2); }

Member Data Documentation

◆ iterA

template<class A , class T , int Dim0, int Dim1, char i, char j>
const Tensor2_Expr<A, T, Dim0, Dim1, i, j> FTensor::minus_Tensor2< A, T, Dim0, Dim1, i, j >::iterA
private

Definition at line 10 of file minus_Tensor2.hpp.


The documentation for this class was generated from the following file:
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::minus_Tensor2::iterA
const Tensor2_Expr< A, T, Dim0, Dim1, i, j > iterA
Definition: minus_Tensor2.hpp:10