84 Spline(
const std::vector<double> &X,
85 const std::vector<double> &Y,
89 double left_value = 0.0,
91 double right_value = 0.0);
103 const std::vector<double> &y,
122 deriv(
int order,
double x)
const;
138 assert(!
d_x.empty());
144 assert(!
d_x.empty());
153 namespace splineInternal
172 return (
int)
d_upper.size() - 1;
177 return (
int)
d_lower.size() - 1;
192 r_solve(
const std::vector<double> &b)
const;
194 l_solve(
const std::vector<double> &b)
const;
196 lu_solve(
const std::vector<double> &b,
bool is_lu_decomposed =
false);
double d_right_value
Definition: Spline.h:72
double d_left_value
Definition: Spline.h:72
double deriv(int order, double x) const
Definition: Spline.cpp:438
double get_x_max() const
Definition: Spline.h:142
spline_type d_type
Definition: Spline.h:70
void set_points(const std::vector< double > &x, const std::vector< double > &y, spline_type type=cspline)
Definition: Spline.cpp:117
double get_x_min() const
Definition: Spline.h:136
double d_c0
Definition: Spline.h:69
void set_boundary(bd_type left, double left_value, bd_type right, double right_value)
Definition: Spline.cpp:77
std::vector< double > get_y() const
Definition: Spline.h:131
bd_type
Definition: Spline.h:58
@ second_deriv
Definition: Spline.h:60
@ first_deriv
Definition: Spline.h:59
bd_type d_left
Definition: Spline.h:71
spline_type
Definition: Spline.h:50
@ cspline
Definition: Spline.h:52
@ cspline_hermite
Definition: Spline.h:53
@ linear
Definition: Spline.h:51
std::vector< double > d_b
Definition: Spline.h:68
std::vector< double > d_y
Definition: Spline.h:64
double operator()(double x) const
Definition: Spline.cpp:368
bd_type d_right
Definition: Spline.h:71
std::vector< double > coefficients(double x) const
Definition: Spline.cpp:399
std::vector< double > d_d
Definition: Spline.h:68
bool d_made_monotonic
Definition: Spline.h:73
std::string info() const
Definition: Spline.cpp:501
size_t find_closest(double x) const
Definition: Spline.cpp:359
Spline()
Definition: Spline.cpp:44
std::vector< double > get_x() const
Definition: Spline.h:126
bool make_monotonic()
Definition: Spline.cpp:298
void set_coeffs_from_b()
Definition: Spline.cpp:91
std::vector< double > d_c
Definition: Spline.h:68
std::vector< double > d_x
Definition: Spline.h:64
std::vector< std::vector< double > > d_lower
Definition: Spline.h:160
int num_lower() const
Definition: Spline.h:175
band_matrix()
Definition: Spline.h:162
std::vector< std::vector< double > > d_upper
Definition: Spline.h:159
~band_matrix()
Definition: Spline.h:164
double & saved_diag(int i)
Definition: Spline.cpp:589
std::vector< double > r_solve(const std::vector< double > &b) const
Definition: Spline.cpp:658
int num_upper() const
Definition: Spline.h:170
std::vector< double > l_solve(const std::vector< double > &b) const
Definition: Spline.cpp:640
int dim() const
Definition: Spline.cpp:542
void resize(int dim, int n_u, int n_l)
Definition: Spline.cpp:525
double & operator()(int i, int j)
Definition: Spline.cpp:558
std::vector< double > lu_solve(const std::vector< double > &b, bool is_lu_decomposed=false)
Definition: Spline.cpp:676
void lu_decompose()
Definition: Spline.cpp:597
dealii includes
Definition: AtomFieldDataSpherical.cpp:31