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

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

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

Public Member Functions

promote< T, U >::V operator() (const int N) const
 
 generic_minus_Tensor1 (const Tensor1_Expr< A, T, Dim, i > &a, const U &d0)
 

Private Attributes

Tensor1_Expr< A, T, Dim, iiterA
 
d
 

Detailed Description

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

Definition at line 8 of file generic_minus_Tensor1.hpp.

Constructor & Destructor Documentation

◆ generic_minus_Tensor1()

template<class A , class T , class U , int Dim, char i>
FTensor::generic_minus_Tensor1< A, T, U, Dim, i >::generic_minus_Tensor1 ( const Tensor1_Expr< A, T, Dim, i > &  a,
const U &  d0 
)
inline

Definition at line 19 of file generic_minus_Tensor1.hpp.

20  : iterA(a), d(d0)
21  {}

Member Function Documentation

◆ operator()()

template<class A , class T , class U , int Dim, char i>
promote<T, U>::V FTensor::generic_minus_Tensor1< A, T, U, Dim, i >::operator() ( const int  N) const
inline

Definition at line 14 of file generic_minus_Tensor1.hpp.

15  {
16  return d - iterA(N);
17  }

Member Data Documentation

◆ d

template<class A , class T , class U , int Dim, char i>
U FTensor::generic_minus_Tensor1< A, T, U, Dim, i >::d
private

Definition at line 11 of file generic_minus_Tensor1.hpp.

◆ iterA

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

Definition at line 10 of file generic_minus_Tensor1.hpp.


The documentation for this class was generated from the following file:
FTensor::generic_minus_Tensor1::iterA
Tensor1_Expr< A, T, Dim, i > iterA
Definition: generic_minus_Tensor1.hpp:10
FTensor::generic_minus_Tensor1::d
U d
Definition: generic_minus_Tensor1.hpp:11
a
constexpr double a
Definition: approx_sphere.cpp:30
N
const int N
Definition: speed_test.cpp:3