BilinearInterpolator.hpp
A class used to calculate bilinear interpolation of data in two dimensions.
Definition: BilinearInterpolator.hpp:27
BilinearInterpolator(const Vec< double > &xcoordinates, const Vec< double > &ycoordinates, const Fn< double(double, double)> &function)
Construct a BilinearInterpolator instance with given function.
auto setCoordinatesY(const Vec< double > &ycoordinates) -> void
Set the y-coordinates of the interpolation.
BilinearInterpolator(const Vec< double > &xcoordinates, const Vec< double > &ycoordinates, const Vec< double > &data)
Construct a BilinearInterpolator instance with given data.
auto setCoordinatesX(const Vec< double > &xcoordinates) -> void
Set the x-coordinates of the interpolation.
auto empty() const -> bool
Check if the BilinearInterpolator instance is empty.
auto setData(const Vec< Vec< double >> &data) -> void
Set the data to be interpolated.
auto yCoordinates() const -> const Vec< double > &
Return the y-coordinates of the interpolation.
BilinearInterpolator()
Construct a default BilinearInterpolator instance.
BilinearInterpolator(const Vec< double > &xcoordinates, const Vec< double > &ycoordinates, const Vec< Vec< double >> &data)
Construct a BilinearInterpolator instance with given data.
auto xCoordinates() const -> const Vec< double > &
Return the x-coordinates of the interpolation.
auto data() const -> const Vec< double > &
Return the interpolation data.
auto setData(const Vec< double > &data) -> void
Set the data to be interpolated.
The namespace containing all components of the Reaktoro library.
Definition: Algorithms.hpp:29
autodiff::real real
The number type used throughout the library.
Definition: Real.hpp:26
std::function< F > Fn
Convenient alias for std::function<R(Args...)>.
Definition: Types.hpp:110