v0.14.0
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>

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

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, iiterA
 

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)
inline

Definition at line 14 of file minus_Tensor1.hpp.

14 : iterA(a) {}

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
inline

Definition at line 12 of file minus_Tensor1.hpp.

12 { return -iterA(N); }

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:
FTensor::minus_Tensor1::iterA
Tensor1_Expr< A, T, Dim, i > iterA
Definition: minus_Tensor1.hpp:9
a
constexpr double a
Definition: approx_sphere.cpp:30
N
const int N
Definition: speed_test.cpp:3