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

#include <src/ftensor/src/FTensor/Tensor2_symmetric/generic_minus_Tensor2_symmetric.hpp>

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

Public Member Functions

promote< T, U >::V operator() (const int N1, const int N2) const
 
 generic_minus_Tensor2_symmetric (const Tensor2_symmetric_Expr< A, T, Dim, i, j > &a, const U &d0)
 

Private Attributes

Tensor2_symmetric_Expr< A, T, Dim, i, jiterA
 
d
 

Detailed Description

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

Definition at line 9 of file generic_minus_Tensor2_symmetric.hpp.

Constructor & Destructor Documentation

◆ generic_minus_Tensor2_symmetric()

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

Definition at line 19 of file generic_minus_Tensor2_symmetric.hpp.

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

Member Function Documentation

◆ operator()()

template<class A , class T , class U , int Dim, char i, char j>
promote<T, U>::V FTensor::generic_minus_Tensor2_symmetric< A, T, U, Dim, i, j >::operator() ( const int  N1,
const int  N2 
) const
inline

Definition at line 15 of file generic_minus_Tensor2_symmetric.hpp.

16  {
17  return d - iterA(N1, N2);
18  }

Member Data Documentation

◆ d

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

Definition at line 12 of file generic_minus_Tensor2_symmetric.hpp.

◆ iterA

template<class A , class T , class U , int Dim, char i, char j>
Tensor2_symmetric_Expr<A, T, Dim, i, j> FTensor::generic_minus_Tensor2_symmetric< A, T, U, Dim, i, j >::iterA
private

Definition at line 11 of file generic_minus_Tensor2_symmetric.hpp.


The documentation for this class was generated from the following file:
a
constexpr double a
Definition: approx_sphere.cpp:30
FTensor::generic_minus_Tensor2_symmetric::d
U d
Definition: generic_minus_Tensor2_symmetric.hpp:12
FTensor::generic_minus_Tensor2_symmetric::iterA
Tensor2_symmetric_Expr< A, T, Dim, i, j > iterA
Definition: generic_minus_Tensor2_symmetric.hpp:11