|
FERS 1.0.0
The Flexible Extensible Radar Simulator
|
Class for managing a set of data and performing interpolation. More...
#include "interpolation_set.h"
Public Member Functions | |
| template<RealConcept T> | |
| void | insertSample (T x, T y) noexcept |
| Inserts a sample point into the interpolation set. | |
| template<RealConcept T> | |
| std::optional< T > | value (T x) const noexcept |
| Retrieves the interpolated value at a given point. | |
| double | max () const noexcept |
| Retrieves the maximum absolute value in the interpolation set. | |
| template<RealConcept T> | |
| void | divide (T a) |
| Divides all y-values in the dataset by a given number. | |
Class for managing a set of data and performing interpolation.
Definition at line 30 of file interpolation_set.h.
| template void interp::InterpSetData::divide< float > | ( | T | a | ) |
Divides all y-values in the dataset by a given number.
| T | The type of the divisor (must be an arithmetic type). |
| a | The divisor to divide all y-values by. |
| std::invalid_argument | Thrown if the divisor is zero. |
Definition at line 66 of file interpolation_set.cpp.
References value().
Here is the call graph for this function:
|
noexcept |
Inserts a sample point into the interpolation set.
| T | The type of the x and y coordinates (must be an arithmetic type). |
| x | The x-coordinate of the sample point. |
| y | The y-coordinate of the sample point. |
Definition at line 41 of file interpolation_set.h.
|
noexcept |
Retrieves the maximum absolute value in the interpolation set.
Definition at line 55 of file interpolation_set.cpp.
|
noexcept |
Retrieves the interpolated value at a given point.
| T | The type of the x-coordinate (must be an arithmetic type). |
| x | The x-coordinate at which to interpolate the value. |
Definition at line 25 of file interpolation_set.cpp.
Referenced by divide().
Here is the caller graph for this function: