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

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

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

Public Member Functions

promote< T, U >::V operator() (const int N) const
 
 Tensor1_divide_generic (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::Tensor1_divide_generic< A, T, U, Dim, i >

Definition at line 12 of file Tensor1_divide_generic.hpp.

Constructor & Destructor Documentation

◆ Tensor1_divide_generic()

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

Definition at line 23 of file Tensor1_divide_generic.hpp.

24  : iterA(a), d(d0)
25  {}

Member Function Documentation

◆ operator()()

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

Definition at line 18 of file Tensor1_divide_generic.hpp.

19  {
20  return iterA(N) / d;
21  }

Member Data Documentation

◆ d

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

Definition at line 15 of file Tensor1_divide_generic.hpp.

◆ iterA

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

Definition at line 14 of file Tensor1_divide_generic.hpp.


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