#include <TableInterpolator.hpp>
|
| | Table1D (const janus::NumericVector &x, const janus::NumericVector &y, janus::InterpolationMethod method=janus::InterpolationMethod::Linear) |
| | Construct 1D interpolation table.
|
| template<janus::JanusScalar Scalar> |
| Scalar | operator() (const Scalar &x) const |
| | Query table at a single point.
|
| template<typename Derived> |
| auto | operator() (const Eigen::MatrixBase< Derived > &x) const |
| | Query table at multiple points (batch evaluation).
|
| janus::InterpolationMethod | method () const |
| | Get the interpolation method.
|
| bool | valid () const |
| | Check if table is valid (initialized).
|
◆ Table1D()
| vulcan::Table1D::Table1D |
( |
const janus::NumericVector & | x, |
|
|
const janus::NumericVector & | y, |
|
|
janus::InterpolationMethod | method = janus::InterpolationMethod::Linear ) |
|
inline |
◆ method()
| janus::InterpolationMethod vulcan::Table1D::method |
( |
| ) |
const |
|
inline |
◆ operator()() [1/2]
template<typename Derived>
| auto vulcan::Table1D::operator() |
( |
const Eigen::MatrixBase< Derived > & | x | ) |
const |
|
inline |
Query table at multiple points (batch evaluation).
- Template Parameters
-
| Derived | Eigen expression type |
- Parameters
-
- Returns
- Vector of interpolated values
◆ operator()() [2/2]
template<janus::JanusScalar Scalar>
| Scalar vulcan::Table1D::operator() |
( |
const Scalar & | x | ) |
const |
|
inline |
◆ valid()
| bool vulcan::Table1D::valid |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: