Configuration for extrapolation behavior.
More...
#include <Interpolate.hpp>
|
| static ExtrapolationConfig | clamp () |
| | Factory: create clamp config (default, safe).
|
| static ExtrapolationConfig | linear (std::optional< double > lower=std::nullopt, std::optional< double > upper=std::nullopt) |
| | Factory: create linear extrapolation config with optional bounds.
|
Configuration for extrapolation behavior.
Use the factory methods for convenient construction: ExtrapolationConfig::clamp() - Safe clamping (default) ExtrapolationConfig::linear() - Linear extrapolation, unbounded ExtrapolationConfig::linear(-10, 100) - Linear with output bounds
◆ clamp()
◆ linear()
| ExtrapolationConfig janus::ExtrapolationConfig::linear |
( |
std::optional< double > | lower = std::nullopt, |
|
|
std::optional< double > | upper = std::nullopt ) |
|
inlinestatic |
◆ lower_bound
| std::optional<double> janus::ExtrapolationConfig::lower_bound = std::nullopt |
◆ mode
◆ upper_bound
| std::optional<double> janus::ExtrapolationConfig::upper_bound = std::nullopt |
The documentation for this struct was generated from the following file: