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