SplineSet Class ReferenceΒΆ
Splines
|
Splines Management Class. More...
#include <SplineSet.hxx>
Public Member Functions | |
SplineType1D | type () const |
Return spline type (as number) | |
string | info () const |
void | info (ostream_type &stream) const |
void | dump_table (ostream_type &s, integer num_points) const |
Constructors | |
SplineSet (string const &name="SplineSet") | |
spline constructor | |
virtual | ~SplineSet () |
spline destructor | |
Info | |
string const & | name () const |
string const & | header (integer i) const |
void | get_headers (std::vector< std::string > &names) const |
string | name_list () const |
int | is_monotone (integer i) const |
integer | num_points () const |
integer | num_splines () const |
integer | get_position (char const hdr[]) const |
real_type const * | x_nodes () const |
real_type const * | y_nodes (integer i) const |
real_type | x_node (integer npt) const |
real_type | y_node (integer npt, integer spl) const |
real_type | x_min () const |
real_type | x_max () const |
real_type | y_min (integer spl) const |
real_type | y_max (integer spl) const |
real_type | y_min (char const spl[]) const |
real_type | y_max (char const spl[]) const |
Access splines | |
Spline * | get_spline (integer i) const |
Spline * | get_spline (char const hdr[]) const |
Evaluate | |
real_type | operator() (real_type x, integer spl) const |
real_type | eval (real_type x, integer spl) const |
real_type | D (real_type x, integer spl) const |
real_type | eval_D (real_type x, integer spl) const |
real_type | DD (real_type x, integer spl) const |
real_type | eval_DD (real_type x, integer spl) const |
real_type | DDD (real_type x, integer spl) const |
real_type | eval_DDD (real_type x, integer spl) const |
real_type | DDDD (real_type x, integer spl) const |
real_type | eval_DDDD (real_type x, integer spl) const |
real_type | DDDDD (real_type x, integer spl) const |
real_type | eval_DDDDD (real_type x, integer spl) const |
real_type | eval (real_type x, char const name[]) const |
real_type | eval_D (real_type x, char const name[]) const |
real_type | eval_DD (real_type x, char const name[]) const |
real_type | eval_DDD (real_type x, char const name[]) const |
real_type | eval_DDDD (real_type x, char const name[]) const |
real_type | eval_DDDDD (real_type x, char const name[]) const |
Evaluate to std vector | |
void | eval (real_type x, vector< real_type > &vals) const |
void | eval_D (real_type x, vector< real_type > &vals) const |
void | eval_DD (real_type x, vector< real_type > &vals) const |
void | eval_DDD (real_type x, vector< real_type > &vals) const |
void | eval_DDDD (real_type x, vector< real_type > &vals) const |
void | eval_DDDDD (real_type x, vector< real_type > &vals) const |
Evaluate to vector | |
void | eval (real_type x, real_type vals[], integer incy=1) const |
void | eval_D (real_type x, real_type vals[], integer incy=1) const |
void | eval_DD (real_type x, real_type vals[], integer incy=1) const |
void | eval_DDD (real_type x, real_type vals[], integer incy=1) const |
void | eval_DDDD (real_type x, real_type vals[], integer incy=1) const |
void | eval_DDDDD (real_type x, real_type vals[], integer incy=1) const |
Evaluate using another spline as independent | |
void | eval2 (integer spl, real_type zeta, vector< real_type > &vals) const |
void | eval2_D (integer spl, real_type zeta, vector< real_type > &vals) const |
void | eval2_DD (integer spl, real_type zeta, vector< real_type > &vals) const |
void | eval2_DDD (integer spl, real_type zeta, vector< real_type > &vals) const |
void | eval2 (integer spl, real_type zeta, real_type vals[], integer incy=1) const |
void | eval2_D (integer spl, real_type zeta, real_type vals[], integer incy=1) const |
void | eval2_DD (integer spl, real_type zeta, real_type vals[], integer incy=1) const |
void | eval2_DDD (integer spl, real_type zeta, real_type vals[], integer incy=1) const |
real_type | eval2 (real_type zeta, integer indep, integer spl) const |
real_type | eval2_D (real_type zeta, integer indep, integer spl) const |
real_type | eval2_DD (real_type zeta, integer indep, integer spl) const |
real_type | eval2_DDD (real_type zeta, integer indep, integer spl) const |
real_type | eval2 (real_type zeta, char const indep[], char const name[]) const |
real_type | eval2_D (real_type zeta, char const indep[], char const name[]) const |
real_type | eval2_DD (real_type zeta, char const indep[], char const name[]) const |
real_type | eval2_DDD (real_type zeta, char const indep[], char const name[]) const |
Evaluate onto a vector | |
void | eval (real_type x, GenericContainer &vals) const |
void | eval (vec_real_type const &vec, GenericContainer &vals) const |
void | eval (real_type x, vec_string_type const &columns, GenericContainer &vals) const |
void | eval (vec_real_type const &vec, vec_string_type const &columns, GenericContainer &vals) const |
Evaluate to GenericContainer using another spline as independent | |
void | eval2 (real_type zeta, integer indep, GenericContainer &vals) const |
void | eval2 (vec_real_type const &zetas, integer indep, GenericContainer &vals) const |
void | eval2 (real_type zeta, integer indep, vec_string_type const &columns, GenericContainer &vals) const |
void | eval2 (vec_real_type const &zetas, integer indep, vec_string_type const &columns, GenericContainer &vals) const |
void | eval2 (real_type zeta, char const indep[], GenericContainer &vals) const |
void | eval2 (vec_real_type const &zetas, char const indep[], GenericContainer &vals) const |
void | eval2 (real_type zeta, char const indep[], vec_string_type const &columns, GenericContainer &vals) const |
void | eval2 (vec_real_type const &zetas, char const indep[], vec_string_type const &columns, GenericContainer &vals) const |
Evaluate derivative into a Generic Container | |
void | eval_D (real_type x, GenericContainer &vals) const |
void | eval_D (vec_real_type const &vec, GenericContainer &vals) const |
void | eval_D (real_type x, vec_string_type const &columns, GenericContainer &vals) const |
void | eval_D (vec_real_type const &vec, vec_string_type const &columns, GenericContainer &vals) const |
Evaluate derivative to GenericContainer using another spline as independent | |
void | eval2_D (real_type zeta, integer indep, GenericContainer &vals) const |
void | eval2_D (vec_real_type const &zetas, integer indep, GenericContainer &vals) const |
void | eval2_D (real_type zeta, integer indep, vec_string_type const &columns, GenericContainer &vals) const |
void | eval2_D (vec_real_type const &zetas, integer indep, vec_string_type const &columns, GenericContainer &vals) const |
void | eval2_D (real_type zeta, char const indep[], GenericContainer &vals) const |
void | eval2_D (vec_real_type const &zetas, char const indep[], GenericContainer &vals) const |
void | eval2_D (real_type zeta, char const indep[], vec_string_type const &columns, GenericContainer &vals) const |
void | eval2_D (vec_real_type const &zetas, char const indep[], vec_string_type const &columns, GenericContainer &vals) const |
Evaluate second derivative to GenericContainer using another spline as independent | |
void | eval_DD (real_type x, GenericContainer &vals) const |
void | eval_DD (vec_real_type const &vec, GenericContainer &vals) const |
void | eval_DD (real_type x, vec_string_type const &columns, GenericContainer &vals) const |
void | eval_DD (vec_real_type const &vec, vec_string_type const &columns, GenericContainer &vals) const |
void | eval2_DD (real_type zeta, integer indep, GenericContainer &vals) const |
void | eval2_DD (vec_real_type const &zetas, integer indep, GenericContainer &vals) const |
void | eval2_DD (real_type zeta, integer indep, vec_string_type const &columns, GenericContainer &vals) const |
void | eval2_DD (vec_real_type const &zetas, integer indep, vec_string_type const &columns, GenericContainer &vals) const |
void | eval2_DD (real_type zeta, char const indep[], GenericContainer &vals) const |
void | eval2_DD (vec_real_type const &zetas, char const indep[], GenericContainer &vals) const |
void | eval2_DD (real_type zeta, char const indep[], vec_string_type const &columns, GenericContainer &vals) const |
void | eval2_DD (vec_real_type const &zetas, char const indep[], vec_string_type const &columns, GenericContainer &vals) const |
Evaluate third derivative to GenericContainer | |
void | eval_DDD (real_type x, GenericContainer &vals) const |
void | eval_DDD (vec_real_type const &vec, GenericContainer &vals) const |
void | eval_DDD (real_type x, vec_string_type const &columns, GenericContainer &vals) const |
void | eval_DDD (vec_real_type const &vec, vec_string_type const &columns, GenericContainer &vals) const |
Evaluate third derivative to GenericContainer using another spline as independent | |
void | eval2_DDD (real_type zeta, integer indep, GenericContainer &vals) const |
void | eval2_DDD (vec_real_type const &zetas, integer indep, GenericContainer &vals) const |
void | eval2_DDD (real_type zeta, integer indep, vec_string_type const &columns, GenericContainer &vals) const |
void | eval2_DDD (vec_real_type const &zetas, integer indep, vec_string_type const &columns, GenericContainer &vals) const |
void | eval2_DDD (real_type zeta, char const *indep, GenericContainer &vals) const |
void | eval2_DDD (vec_real_type const &zetas, char const indep[], GenericContainer &vals) const |
void | eval2_DDD (real_type zeta, char const indep[], vec_string_type const &columns, GenericContainer &vals) const |
void | eval2_DDD (vec_real_type const &zetas, char const indep[], vec_string_type const &columns, GenericContainer &vals) const |
Build Spline | |
void | build (integer nspl, integer npts, char const *headers[], SplineType1D const stype[], real_type const X[], real_type const *Y[], real_type const *Yp[]=nullptr) |
void | setup (GenericContainer const &gc) |
void | build (GenericContainer const &gc) |
Detailed Description
Splines Management Class.
Constructor & Destructor Documentation
◆ SplineSet()
Splines::SplineSet::SplineSet | ( | string const & | name = "SplineSet" | ) |
◆ ~SplineSet()
|
virtual |
spline destructor
Spline destructor.
Member Function Documentation
◆ build() [1/2]
|
inline |
Build a spline using data in GenericContainer
◆ build() [2/2]
void Splines::SplineSet::build | ( | integer | nspl, |
integer | npts, | ||
char const * | headers[], | ||
SplineType1D const | stype[], | ||
real_type const | X[], | ||
real_type const * | Y[], | ||
real_type const * | Yp[] = nullptr ) |
Build a set of splines
- Parameters
-
nspl the number of splines npts the number of points of each splines headers the names of the splines stype the type of each spline X pointer to X independent values Y vector of nspl
pointers to Y depentendent values.Yp vector of nspl
pointers to Y derivative depentendent values.
◆ D()
Evaluate spline n. spl
first derivative at x
.
◆ DD()
Evaluate spline n. spl
second derivative at x
.
◆ DDD()
Evaluate spline n. spl
third derivative at x
.
◆ DDDD()
Evaluate spline n. spl
4th derivative at x
.
◆ DDDDD()
Evaluate spline n. spl
5th derivative at x
.
◆ dump_table()
void Splines::SplineSet::dump_table | ( | ostream_type & | s, |
integer | num_points ) const |
Dump values of the spline on a stream for plotting
◆ eval() [1/8]
Evaluate spline name
at x
.
◆ eval() [2/8]
void Splines::SplineSet::eval | ( | real_type | x, |
GenericContainer & | gc ) const |
Evaluate all the splines at x
and fill a map of values in a GenericContainer
◆ eval() [3/8]
Evaluate spline n. spl
at x
.
◆ eval() [4/8]
Evaluate all the splines at x
◆ eval() [5/8]
void Splines::SplineSet::eval | ( | real_type | x, |
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at x
and fill a map of values in a GenericContainer with keys in columns
◆ eval() [6/8]
Evaluate all the splines at x
◆ eval() [7/8]
void Splines::SplineSet::eval | ( | vec_real_type const & | vec, |
GenericContainer & | gc ) const |
Evaluate all the splines at x
values contained in vec and fill a map of vector in a GenericContainer
◆ eval() [8/8]
void Splines::SplineSet::eval | ( | vec_real_type const & | vec, |
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at x
values contained in vec and fill a map of vector in a GenericContainer with keys in columns
◆ eval2() [1/12]
void Splines::SplineSet::eval2 | ( | integer | spl, |
real_type | zeta, | ||
real_type | vals[], | ||
integer | incy = 1 ) const |
Evaluate all the splines at zeta
using spline[spl] as independent
◆ eval2() [2/12]
Evaluate all the splines at zeta
using spline[spl] as independent
◆ eval2() [3/12]
Evaluate the spline name
at zeta
using spline indep
as independent
◆ eval2() [4/12]
|
inline |
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer and indep
as independent spline
◆ eval2() [5/12]
|
inline |
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval2() [6/12]
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer and indep
as independent spline
◆ eval2() [7/12]
Evaluate the spline spl
at zeta
using spline indep
as independent
◆ eval2() [8/12]
void Splines::SplineSet::eval2 | ( | real_type | zeta, |
integer | indep, | ||
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval2() [9/12]
|
inline |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer and indep
as independent spline
◆ eval2() [10/12]
|
inline |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval2() [11/12]
void Splines::SplineSet::eval2 | ( | vec_real_type const & | zetas, |
integer | indep, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer and indep
as independent spline
◆ eval2() [12/12]
void Splines::SplineSet::eval2 | ( | vec_real_type const & | zetas, |
integer | indep, | ||
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval2_D() [1/12]
void Splines::SplineSet::eval2_D | ( | integer | spl, |
real_type | zeta, | ||
real_type | vals[], | ||
integer | incy = 1 ) const |
Evaluate the fist derivative of all the splines at zeta
using spline[spl] as independent
◆ eval2_D() [2/12]
Evaluate the first derivative of all the splines at zeta
using spline[spl] as independent
◆ eval2_D() [3/12]
real_type Splines::SplineSet::eval2_D | ( | real_type | zeta, |
char const | indep[], | ||
char const | name[] ) const |
Evaluate first derivative of the spline name
at zeta
using spline indep
as independent
◆ eval2_D() [4/12]
|
inline |
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer and indep
as independent spline
◆ eval2_D() [5/12]
|
inline |
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval2_D() [6/12]
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer and indep
as independent spline
◆ eval2_D() [7/12]
Evaluate first derivative of the spline spl
at zeta
using spline indep
as independent
◆ eval2_D() [8/12]
void Splines::SplineSet::eval2_D | ( | real_type | zeta, |
integer | indep, | ||
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval2_D() [9/12]
|
inline |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer and indep
as independent spline
◆ eval2_D() [10/12]
|
inline |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval2_D() [11/12]
void Splines::SplineSet::eval2_D | ( | vec_real_type const & | zetas, |
integer | indep, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer and indep
as independent spline
◆ eval2_D() [12/12]
void Splines::SplineSet::eval2_D | ( | vec_real_type const & | zetas, |
integer | indep, | ||
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval2_DD() [1/12]
void Splines::SplineSet::eval2_DD | ( | integer | spl, |
real_type | zeta, | ||
real_type | vals[], | ||
integer | incy = 1 ) const |
Evaluate the second derivative of all the splines at zeta
using spline[spl] as independent
◆ eval2_DD() [2/12]
Evaluate the second derivative of all the splines at zeta
using spline[spl] as independent
◆ eval2_DD() [3/12]
real_type Splines::SplineSet::eval2_DD | ( | real_type | zeta, |
char const | indep[], | ||
char const | name[] ) const |
Evaluate second derivative of the spline name
at zeta
using spline indep
as independent
◆ eval2_DD() [4/12]
|
inline |
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer and indep
as independent spline
◆ eval2_DD() [5/12]
|
inline |
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval2_DD() [6/12]
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer and indep
as independent spline
◆ eval2_DD() [7/12]
Evaluate second derivative of the spline spl
at zeta
using spline indep
as independent
◆ eval2_DD() [8/12]
void Splines::SplineSet::eval2_DD | ( | real_type | zeta, |
integer | indep, | ||
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval2_DD() [9/12]
|
inline |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer and indep
as independent spline
◆ eval2_DD() [10/12]
|
inline |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval2_DD() [11/12]
void Splines::SplineSet::eval2_DD | ( | vec_real_type const & | zetas, |
integer | indep, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer and indep
as independent spline
◆ eval2_DD() [12/12]
void Splines::SplineSet::eval2_DD | ( | vec_real_type const & | zetas, |
integer | indep, | ||
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval2_DDD() [1/12]
void Splines::SplineSet::eval2_DDD | ( | integer | spl, |
real_type | zeta, | ||
real_type | vals[], | ||
integer | incy = 1 ) const |
Evaluate the 3rd derivative of all the splines at zeta
using spline[spl] as independent
◆ eval2_DDD() [2/12]
void Splines::SplineSet::eval2_DDD | ( | integer | spl, |
real_type | zeta, | ||
vector< real_type > & | vals ) const |
Evaluate the third derivative of all the splines at zeta
using spline[spl] as independent
◆ eval2_DDD() [3/12]
|
inline |
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer and indep
as independent spline
◆ eval2_DDD() [4/12]
real_type Splines::SplineSet::eval2_DDD | ( | real_type | zeta, |
char const | indep[], | ||
char const | name[] ) const |
Evaluate third derivative of the spline name
at zeta
using spline indep
as independent
◆ eval2_DDD() [5/12]
|
inline |
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval2_DDD() [6/12]
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer and indep
as independent spline
◆ eval2_DDD() [7/12]
Evaluate third derivative of the spline spl
at zeta
using spline indep
as independent
◆ eval2_DDD() [8/12]
void Splines::SplineSet::eval2_DDD | ( | real_type | zeta, |
integer | indep, | ||
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at zeta
and fill a map of values in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval2_DDD() [9/12]
|
inline |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer and indep
as independent spline
◆ eval2_DDD() [10/12]
|
inline |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval2_DDD() [11/12]
void Splines::SplineSet::eval2_DDD | ( | vec_real_type const & | zetas, |
integer | indep, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer and indep
as independent spline
◆ eval2_DDD() [12/12]
void Splines::SplineSet::eval2_DDD | ( | vec_real_type const & | zetas, |
integer | indep, | ||
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at zeta
values contained in vec and fill a map of vector in a GenericContainer with keys in columns
and indep
as independent spline
◆ eval_D() [1/8]
Evaluate spline name
first derivative at x
.
◆ eval_D() [2/8]
void Splines::SplineSet::eval_D | ( | real_type | x, |
GenericContainer & | vals ) const |
Evaluate all the splines at x
and fill a map of values in a GenericContainer
◆ eval_D() [3/8]
Evaluate spline n. spl
first derivative at x
.
◆ eval_D() [4/8]
Evaluate the first derivative of all the splines at x
◆ eval_D() [5/8]
void Splines::SplineSet::eval_D | ( | real_type | x, |
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at x
and fill a map of values in a GenericContainer with keys in columns
◆ eval_D() [6/8]
Evaluate the first derivative of all the splines at x
◆ eval_D() [7/8]
void Splines::SplineSet::eval_D | ( | vec_real_type const & | vec, |
GenericContainer & | gc ) const |
Evaluate all the splines at x
values contained in vec and fill a map of vector in a GenericContainer
◆ eval_D() [8/8]
void Splines::SplineSet::eval_D | ( | vec_real_type const & | vec, |
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at x
values contained in vec and fill a map of vector in a GenericContainer with keys in columns
◆ eval_DD() [1/8]
Evaluate spline name
second derivative at x
.
◆ eval_DD() [2/8]
void Splines::SplineSet::eval_DD | ( | real_type | x, |
GenericContainer & | vals ) const |
Evaluate all the splines at x
and fill a map of values in a GenericContainer
◆ eval_DD() [3/8]
Evaluate spline n. spl
second derivative at x
.
◆ eval_DD() [4/8]
Evaluate the second derivative of all the splines at x
◆ eval_DD() [5/8]
void Splines::SplineSet::eval_DD | ( | real_type | x, |
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at x
and fill a map of values in a GenericContainer with keys in columns
◆ eval_DD() [6/8]
Evaluate the second derivative of all the splines at x
◆ eval_DD() [7/8]
void Splines::SplineSet::eval_DD | ( | vec_real_type const & | vec, |
GenericContainer & | gc ) const |
Evaluate all the splines at x
values contained in vec and fill a map of vector in a GenericContainer
◆ eval_DD() [8/8]
void Splines::SplineSet::eval_DD | ( | vec_real_type const & | vec, |
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at x
values contained in vec and fill a map of vector in a GenericContainer with keys in columns
◆ eval_DDD() [1/8]
Evaluate spline name
third derivative at x
.
◆ eval_DDD() [2/8]
void Splines::SplineSet::eval_DDD | ( | real_type | x, |
GenericContainer & | vals ) const |
Evaluate all the splines at x
and fill a map of values in a GenericContainer
◆ eval_DDD() [3/8]
Evaluate spline n. spl
third derivative at x
.
◆ eval_DDD() [4/8]
Evaluate the third derivative of all the splines at x
◆ eval_DDD() [5/8]
void Splines::SplineSet::eval_DDD | ( | real_type | x, |
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at x
and fill a map of values in a GenericContainer with keys in columns
◆ eval_DDD() [6/8]
Evaluate the third derivative of all the splines at x
◆ eval_DDD() [7/8]
void Splines::SplineSet::eval_DDD | ( | vec_real_type const & | vec, |
GenericContainer & | gc ) const |
Evaluate all the splines at x
values contained in vec and fill a map of vector in a GenericContainer
◆ eval_DDD() [8/8]
void Splines::SplineSet::eval_DDD | ( | vec_real_type const & | vec, |
vec_string_type const & | columns, | ||
GenericContainer & | gc ) const |
Evaluate all the splines at x
values contained in vec and fill a map of vector in a GenericContainer with keys in columns
◆ eval_DDDD() [1/4]
Evaluate spline name
4th derivative at x
.
◆ eval_DDDD() [2/4]
Evaluate spline n. spl
4th derivative at x
.
◆ eval_DDDD() [3/4]
Evaluate the 4th derivative of all the splines at x
◆ eval_DDDD() [4/4]
Evaluate the 4th derivative of all the splines at x
◆ eval_DDDDD() [1/4]
Evaluate spline name
5th derivative at x
.
◆ eval_DDDDD() [2/4]
Evaluate spline n. spl
5th derivative at x
.
◆ eval_DDDDD() [3/4]
Evaluate the 5th derivative of all the splines at x
◆ eval_DDDDD() [4/4]
Evaluate the 5th derivative of all the splines at x
◆ get_headers()
void Splines::SplineSet::get_headers | ( | std::vector< std::string > & | names | ) | const |
Fill a vector of strings with the names of the splines.
◆ get_position()
integer Splines::SplineSet::get_position | ( | char const | hdr[] | ) | const |
Return the column with header(i) == hdr, return -1 if not found.
◆ get_spline() [1/2]
|
inline |
Return pointer to the i
-th spline.
◆ get_spline() [2/2]
◆ header()
|
inline |
- Returns
- string with the name of the i-th spline of the set
◆ info() [1/2]
string Splines::SplineSet::info | ( | ) | const |
String information of the kind and order of the spline
◆ info() [2/2]
|
inline |
Print information of the kind and order of the spline
◆ is_monotone()
|
inline |
Return monotonicity info.
- Parameters
-
i i
th spline
- Returns
- +1 = strict monotone, 0 weak monotone, -1 non monotone
◆ name()
|
inline |
- Returns
- string with the name of the spline set
◆ name_list()
string Splines::SplineSet::name_list | ( | ) | const |
Return a string with the names of the splines.
◆ num_points()
|
inline |
Return the number of support points of the splines.
◆ num_splines()
|
inline |
Return the number splines in the spline set.
◆ operator()()
Evaluate spline n. spl
at x
.
◆ setup()
void Splines::SplineSet::setup | ( | GenericContainer const & | gc | ) |
Build a spline using data in GenericContainer
◆ x_max()
|
inline |
Return x-maximum spline value.
◆ x_min()
|
inline |
Return x-minumum spline value.
◆ x_node()
Return the i-th node of the spline (x component).
◆ x_nodes()
|
inline |
Return the vector of values of x-nodes.
◆ y_max() [1/2]
|
inline |
Return y-maximum spline value.
◆ y_max() [2/2]
◆ y_min() [1/2]
|
inline |
Return y-minumum spline value.
◆ y_min() [2/2]
◆ y_node()
Return the i-th node of the spline (y component).
◆ y_nodes()
Return the vector of values of x-nodes.
The documentation for this class was generated from the following files:
- /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Splines/src/Splines/SplineSet.hxx
- /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Splines/src/SplineSet.cc
- /Users/enrico/Ricerca/develop/PINS/pins-mechatronix/LibSources/submodules/Splines/src/SplineSetGC.cc
Generated by 1.12.0