Jpp 20.0.0-rc.2
the software that should make you happy
Loading...
Searching...
No Matches
JTOOLS::JPolintElement2S< JAbscissa_t, JOrdinate_t > Struct Template Reference

2D Element for polynomial interpolations. More...

#include <JElement.hh>

Inheritance diagram for JTOOLS::JPolintElement2S< JAbscissa_t, JOrdinate_t >:
JTOOLS::JElement2D< JAbscissa_t, JOrdinate_t >

Public Types

typedef JElement2D< JAbscissa_t, JOrdinate_t > element_type
 
typedef element_type::abscissa_type abscissa_type
 
typedef element_type::ordinate_type ordinate_type
 

Public Member Functions

 JPolintElement2S ()
 Default constructor.
 
 JPolintElement2S (typename JLANG::JClass< abscissa_type >::argument_type x, typename JLANG::JClass< ordinate_type >::argument_type y)
 Constructor.
 
ordinate_type getIntegral () const
 Get integral.
 
void setIntegral (typename JLANG::JClass< ordinate_type >::argument_type v)
 Set integral.
 
abscissa_type getX () const
 Get abscissa value.
 
const ordinate_typegetY () const
 Get ordinate value.
 
ordinate_typegetY ()
 Get ordinate value.
 

Protected Attributes

ordinate_type __v
 
abscissa_type __x
 
ordinate_type __y
 

Detailed Description

template<class JAbscissa_t, class JOrdinate_t>
struct JTOOLS::JPolintElement2S< JAbscissa_t, JOrdinate_t >

2D Element for polynomial interpolations.

Note that the internal data members needed for the calculation of the integral values are not subject to I/O, i.e. the I/O of this class is identical to that of the JElement2D class.

Definition at line 286 of file JElement.hh.

Member Typedef Documentation

◆ element_type

template<class JAbscissa_t , class JOrdinate_t >
JElement2D<JAbscissa_t, JOrdinate_t> JTOOLS::JPolintElement2S< JAbscissa_t, JOrdinate_t >::element_type

Definition at line 290 of file JElement.hh.

◆ abscissa_type

template<class JAbscissa_t , class JOrdinate_t >
element_type::abscissa_type JTOOLS::JPolintElement2S< JAbscissa_t, JOrdinate_t >::abscissa_type

Definition at line 291 of file JElement.hh.

◆ ordinate_type

template<class JAbscissa_t , class JOrdinate_t >
element_type::ordinate_type JTOOLS::JPolintElement2S< JAbscissa_t, JOrdinate_t >::ordinate_type

Definition at line 292 of file JElement.hh.

Constructor & Destructor Documentation

◆ JPolintElement2S() [1/2]

template<class JAbscissa_t , class JOrdinate_t >
JTOOLS::JPolintElement2S< JAbscissa_t, JOrdinate_t >::JPolintElement2S ( )
inline

Default constructor.

Definition at line 298 of file JElement.hh.

298 :
299 element_type(),
300 __v(getZero<ordinate_type>())
301 {}
JElement2D< JAbscissa_t, JOrdinate_t > element_type
Definition JElement.hh:290

◆ JPolintElement2S() [2/2]

template<class JAbscissa_t , class JOrdinate_t >
JTOOLS::JPolintElement2S< JAbscissa_t, JOrdinate_t >::JPolintElement2S ( typename JLANG::JClass< abscissa_type >::argument_type x,
typename JLANG::JClass< ordinate_type >::argument_type y )
inline

Constructor.

Parameters
xabscissa value
yordinate value

Definition at line 310 of file JElement.hh.

311 :
312 element_type(x, y),
313 __v(getZero<ordinate_type>())
314 {}

Member Function Documentation

◆ getIntegral()

template<class JAbscissa_t , class JOrdinate_t >
ordinate_type JTOOLS::JPolintElement2S< JAbscissa_t, JOrdinate_t >::getIntegral ( ) const
inline

Get integral.

Returns
integral

Definition at line 322 of file JElement.hh.

323 {
324 return __v;
325 }

◆ setIntegral()

template<class JAbscissa_t , class JOrdinate_t >
void JTOOLS::JPolintElement2S< JAbscissa_t, JOrdinate_t >::setIntegral ( typename JLANG::JClass< ordinate_type >::argument_type v)
inline

Set integral.

Parameters
vintegral

Definition at line 333 of file JElement.hh.

334 {
335 __v = v;
336 }

◆ getX()

template<class JAbscissa_t , class JOrdinate_t >
abscissa_type JTOOLS::JElement2D< JAbscissa_t, JOrdinate_t >::getX ( ) const
inlineinherited

Get abscissa value.

Returns
abscissa value

Definition at line 80 of file JElement.hh.

81 {
82 return __x;
83 }
abscissa_type __x
Definition JElement.hh:141

◆ getY() [1/2]

template<class JAbscissa_t , class JOrdinate_t >
const ordinate_type & JTOOLS::JElement2D< JAbscissa_t, JOrdinate_t >::getY ( ) const
inlineinherited

Get ordinate value.

Returns
ordinate value

Definition at line 91 of file JElement.hh.

92 {
93 return __y;
94 }
ordinate_type __y
Definition JElement.hh:142

◆ getY() [2/2]

template<class JAbscissa_t , class JOrdinate_t >
ordinate_type & JTOOLS::JElement2D< JAbscissa_t, JOrdinate_t >::getY ( )
inlineinherited

Get ordinate value.

Returns
ordinate value

Definition at line 102 of file JElement.hh.

103 {
104 return __y;
105 }

Member Data Documentation

◆ __v

template<class JAbscissa_t , class JOrdinate_t >
ordinate_type JTOOLS::JPolintElement2S< JAbscissa_t, JOrdinate_t >::__v
protected

Definition at line 340 of file JElement.hh.

◆ __x

template<class JAbscissa_t , class JOrdinate_t >
abscissa_type JTOOLS::JElement2D< JAbscissa_t, JOrdinate_t >::__x
protectedinherited

Definition at line 141 of file JElement.hh.

◆ __y

template<class JAbscissa_t , class JOrdinate_t >
ordinate_type JTOOLS::JElement2D< JAbscissa_t, JOrdinate_t >::__y
protectedinherited

Definition at line 142 of file JElement.hh.


The documentation for this struct was generated from the following file: