#include <AtSpline.h>
|
| spline () |
|
| spline (const std::vector< double > &X, const std::vector< double > &Y, spline_type type=cspline, bool make_monotonic=false, bd_type left=second_deriv, double left_value=0.0, bd_type right=second_deriv, double right_value=0.0) |
|
void | set_boundary (bd_type left, double left_value, bd_type right, double right_value) |
|
void | set_points (const std::vector< double > &x, const std::vector< double > &y, spline_type type=cspline) |
|
bool | make_monotonic () |
|
double | operator() (double x) const |
|
double | deriv (int order, double x) const |
|
double | integrate (double x0, double x1) const |
|
std::vector< double > | solve (double y, bool ignore_extrapolation=true) const |
|
std::vector< double > | get_x () const |
|
std::vector< double > | get_y () const |
|
double | get_x_min () const |
|
double | get_x_max () const |
|
Definition at line 43 of file AtSpline.h.
◆ bd_type
Enumerator |
---|
first_deriv | |
second_deriv | |
not_a_knot | |
Definition at line 53 of file AtSpline.h.
◆ spline_type
Enumerator |
---|
linear | |
cspline | |
cspline_hermite | |
Definition at line 46 of file AtSpline.h.
◆ spline() [1/2]
◆ spline() [2/2]
◆ deriv()
double tk::spline::deriv |
( |
int |
order, |
|
|
double |
x |
|
) |
| const |
◆ find_closest()
size_t tk::spline::find_closest |
( |
double |
x | ) |
const |
|
protected |
◆ get_x()
std::vector<double> tk::spline::get_x |
( |
| ) |
const |
|
inline |
◆ get_x_max()
double tk::spline::get_x_max |
( |
| ) |
const |
|
inline |
◆ get_x_min()
double tk::spline::get_x_min |
( |
| ) |
const |
|
inline |
◆ get_y()
std::vector<double> tk::spline::get_y |
( |
| ) |
const |
|
inline |
◆ integrate()
double tk::spline::integrate |
( |
double |
x0, |
|
|
double |
x1 |
|
) |
| const |
◆ make_monotonic()
bool tk::spline::make_monotonic |
( |
| ) |
|
◆ operator()()
double tk::spline::operator() |
( |
double |
x | ) |
const |
◆ set_boundary()
◆ set_coeffs_from_b()
void tk::spline::set_coeffs_from_b |
( |
| ) |
|
|
protected |
◆ set_integral()
void tk::spline::set_integral |
( |
| ) |
|
|
protected |
◆ set_points()
void tk::spline::set_points |
( |
const std::vector< double > & |
x, |
|
|
const std::vector< double > & |
y, |
|
|
spline_type |
type = cspline |
|
) |
| |
◆ set_points_cspline()
void tk::spline::set_points_cspline |
( |
| ) |
|
|
protected |
◆ set_points_cspline_hermite()
void tk::spline::set_points_cspline_hermite |
( |
| ) |
|
|
protected |
◆ set_points_linear()
void tk::spline::set_points_linear |
( |
| ) |
|
|
protected |
◆ solve()
std::vector< double > tk::spline::solve |
( |
double |
y, |
|
|
bool |
ignore_extrapolation = true |
|
) |
| const |
◆ m_b
std::vector<double> tk::spline::m_b |
|
protected |
◆ m_c
std::vector<double> tk::spline::m_c |
|
protected |
◆ m_c0
◆ m_d
std::vector<double> tk::spline::m_d |
|
protected |
◆ m_integral
std::vector<double> tk::spline::m_integral |
|
protected |
◆ m_left
◆ m_left_value
double tk::spline::m_left_value |
|
protected |
◆ m_made_monotonic
bool tk::spline::m_made_monotonic |
|
protected |
◆ m_right
◆ m_right_value
double tk::spline::m_right_value |
|
protected |
◆ m_type
◆ m_x
std::vector<double> tk::spline::m_x |
|
protected |
◆ m_y
std::vector<double> tk::spline::m_y |
|
protected |
The documentation for this class was generated from the following files: