NonuniformTableLinear.hpp
Go to the documentation of this file.
This class uses linear interpolation to compute the value (and its derivative) of a function f sample... Definition: NonuniformTableLinear.hpp:44 double derivative(const double x) const Evaluate the derivative at x. Definition: NonuniformTableLinear.hpp:173 double operator()(const double x) const Evaluate the value at x. Definition: NonuniformTableLinear.hpp:165 void rescaleDomain(std::pair< double, double > new_domain) Rescale the domain. Definition: NonuniformTableLinear.hpp:150 std::vector< T > x_values_reversed_ Definition: NonuniformTableLinear.hpp:87 double inverse(const double y) const Evaluate the inverse at y. Requires T to be a double. Definition: NonuniformTableLinear.hpp:181 bool operator==(const NonuniformTableLinear &other) const Equality operator. Definition: NonuniformTableLinear.hpp:200 NonuniformTableLinear() Default constructor. Definition: NonuniformTableLinear.hpp:121 std::vector< double > x_values_ Definition: NonuniformTableLinear.hpp:85 std::pair< double, double > domain() Get the domain. Definition: NonuniformTableLinear.hpp:142 std::vector< T > y_values_reversed_ Definition: NonuniformTableLinear.hpp:88 std::vector< T > y_values_ Definition: NonuniformTableLinear.hpp:86 not_this_one begin(...) Definition: A.hpp:4 bool isNondecreasing(const FI beg, const FI end) Detect if a sequence is nondecreasing. Definition: NonuniformTableLinear.hpp:100 double linearInterpolation(const std::vector< double > &xv, const std::vector< double > &yv, double x) Definition: linearInterpolation.hpp:64 double linearInterpolationDerivative(const std::vector< double > &xv, const std::vector< double > &yv, double x) Definition: linearInterpolation.hpp:55 x y t t *t x y t t t x y t t t x *y t *t t x *y t *t t x y t t t x y t t t x(y+z) |