SinLookupTable
-
class SinLookupTable : public vslib::Component
Public Functions
-
inline SinLookupTable(std::string_view name, Component &parent, const size_t number_points)
Constructor for the SinLookupTable Component.
-
inline auto interpolate(const double input_x)
Provides the main access interaction with the underlying table consistent with LookupTable components.
- Parameters:
input_x – Value to be looked up in the table
- Returns:
Interpolated function value closest to the input_x
-
inline auto operator()(const double input_x)
Provides intuitive interaction with the underlying table.
- Parameters:
input_x – Value to be looked up in the table
- Returns:
Interpolated function value closest to the input_x
-
inline SinLookupTable(std::string_view name, Component &parent, const size_t number_points)