|
Alexandria
2.27.0
SDC-CH common library for the Euclid project
|

Public Member Functions | |
| InterpN (const std::tuple< std::vector< T >> &grid, const NdArray::NdArray< double > &values, bool extrapolate) | |
| double | operator() (const T x) const |
| InterpN (const InterpN &)=default | |
| Copy constructor. More... | |
| InterpN (InterpN &&)=default | |
| Move constructor. More... | |
Private Attributes | |
| std::vector< T > | m_knots |
| std::vector< double > | m_values |
| bool | m_extrapolate |
Specialization (and end of the recursion) for a 1-dimensional interpolation.
Definition at line 120 of file GridInterpolation.icpp.
|
inline |
Constructor
| grid | A 1-dimensional grid |
| values | |
| type | |
| extrapolate |
Definition at line 130 of file GridInterpolation.icpp.
References Euclid::NdArray::NdArray< T >::shape(), std::vector< T >::size(), and Euclid::NdArray::NdArray< T >::size().

|
default |
Copy constructor.
|
default |
Move constructor.
|
inline |
Call as a function
| x | Coordinate value |
Definition at line 149 of file GridInterpolation.icpp.
References Euclid::MathUtils::interpolate().

|
private |
Definition at line 162 of file GridInterpolation.icpp.
|
private |
Definition at line 160 of file GridInterpolation.icpp.
|
private |
Definition at line 161 of file GridInterpolation.icpp.
1.8.5