SplineSet Class ReferenceΒΆ

Splines: Splines::SplineSet Class Reference
Splines
Splines::SplineSet Class Reference

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
Splineget_spline (integer i) const
 
Splineget_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")

spline constructor

Build an empty spline of SplineSet type

Parameters
namethe name of the spline

◆ ~SplineSet()

Splines::SplineSet::~SplineSet ( )
virtual

spline destructor

Spline destructor.

Member Function Documentation

◆ build() [1/2]

void Splines::SplineSet::build ( GenericContainer const & gc)
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
nsplthe number of splines
nptsthe number of points of each splines
headersthe names of the splines
stypethe type of each spline
Xpointer to X independent values
Yvector of nspl pointers to Y depentendent values.
Ypvector of nspl pointers to Y derivative depentendent values.

◆ D()

real_type Splines::SplineSet::D ( real_type x,
integer spl ) const
inline

Evaluate spline n. spl first derivative at x.

◆ DD()

real_type Splines::SplineSet::DD ( real_type x,
integer spl ) const
inline

Evaluate spline n. spl second derivative at x.

◆ DDD()

real_type Splines::SplineSet::DDD ( real_type x,
integer spl ) const
inline

Evaluate spline n. spl third derivative at x.

◆ DDDD()

real_type Splines::SplineSet::DDDD ( real_type x,
integer spl ) const
inline

Evaluate spline n. spl 4th derivative at x.

◆ DDDDD()

real_type Splines::SplineSet::DDDDD ( real_type x,
integer spl ) const
inline

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]

real_type Splines::SplineSet::eval ( real_type x,
char const name[] ) const
inline

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]

real_type Splines::SplineSet::eval ( real_type x,
integer spl ) const
inline

Evaluate spline n. spl at x.

◆ eval() [4/8]

void Splines::SplineSet::eval ( real_type x,
real_type vals[],
integer incy = 1 ) const

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]

void Splines::SplineSet::eval ( real_type x,
vector< real_type > & vals ) const

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]

void Splines::SplineSet::eval2 ( integer spl,
real_type zeta,
vector< real_type > & vals ) const

Evaluate all the splines at zeta using spline[spl] as independent

◆ eval2() [3/12]

real_type Splines::SplineSet::eval2 ( real_type zeta,
char const indep[],
char const name[] ) const

Evaluate the spline name at zeta using spline indep as independent

◆ eval2() [4/12]

void Splines::SplineSet::eval2 ( real_type zeta,
char const indep[],
GenericContainer & vals ) const
inline

Evaluate all the splines at zeta and fill a map of values in a GenericContainer and indep as independent spline

◆ eval2() [5/12]

void Splines::SplineSet::eval2 ( real_type zeta,
char const indep[],
vec_string_type const & columns,
GenericContainer & vals ) const
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]

void Splines::SplineSet::eval2 ( real_type zeta,
integer indep,
GenericContainer & gc ) const

Evaluate all the splines at zeta and fill a map of values in a GenericContainer and indep as independent spline

◆ eval2() [7/12]

real_type Splines::SplineSet::eval2 ( real_type zeta,
integer indep,
integer spl ) const

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]

void Splines::SplineSet::eval2 ( vec_real_type const & zetas,
char const indep[],
GenericContainer & vals ) const
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]

void Splines::SplineSet::eval2 ( vec_real_type const & zetas,
char const indep[],
vec_string_type const & columns,
GenericContainer & vals ) const
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]

void Splines::SplineSet::eval2_D ( integer spl,
real_type zeta,
vector< real_type > & vals ) const

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]

void Splines::SplineSet::eval2_D ( real_type zeta,
char const indep[],
GenericContainer & vals ) const
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]

void Splines::SplineSet::eval2_D ( real_type zeta,
char const indep[],
vec_string_type const & columns,
GenericContainer & vals ) const
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]

void Splines::SplineSet::eval2_D ( real_type zeta,
integer indep,
GenericContainer & gc ) const

Evaluate all the splines at zeta and fill a map of values in a GenericContainer and indep as independent spline

◆ eval2_D() [7/12]

real_type Splines::SplineSet::eval2_D ( real_type zeta,
integer indep,
integer spl ) const

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]

void Splines::SplineSet::eval2_D ( vec_real_type const & zetas,
char const indep[],
GenericContainer & vals ) const
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]

void Splines::SplineSet::eval2_D ( vec_real_type const & zetas,
char const indep[],
vec_string_type const & columns,
GenericContainer & vals ) const
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]

void Splines::SplineSet::eval2_DD ( integer spl,
real_type zeta,
vector< real_type > & vals ) const

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]

void Splines::SplineSet::eval2_DD ( real_type zeta,
char const indep[],
GenericContainer & vals ) const
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]

void Splines::SplineSet::eval2_DD ( real_type zeta,
char const indep[],
vec_string_type const & columns,
GenericContainer & vals ) const
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]

void Splines::SplineSet::eval2_DD ( real_type zeta,
integer indep,
GenericContainer & gc ) const

Evaluate all the splines at zeta and fill a map of values in a GenericContainer and indep as independent spline

◆ eval2_DD() [7/12]

real_type Splines::SplineSet::eval2_DD ( real_type zeta,
integer indep,
integer spl ) const

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]

void Splines::SplineSet::eval2_DD ( vec_real_type const & zetas,
char const indep[],
GenericContainer & vals ) const
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]

void Splines::SplineSet::eval2_DD ( vec_real_type const & zetas,
char const indep[],
vec_string_type const & columns,
GenericContainer & vals ) const
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]

void Splines::SplineSet::eval2_DDD ( real_type zeta,
char const * indep,
GenericContainer & vals ) const
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]

void Splines::SplineSet::eval2_DDD ( real_type zeta,
char const indep[],
vec_string_type const & columns,
GenericContainer & vals ) const
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]

void Splines::SplineSet::eval2_DDD ( real_type zeta,
integer indep,
GenericContainer & gc ) const

Evaluate all the splines at zeta and fill a map of values in a GenericContainer and indep as independent spline

◆ eval2_DDD() [7/12]

real_type Splines::SplineSet::eval2_DDD ( real_type zeta,
integer indep,
integer spl ) const

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]

void Splines::SplineSet::eval2_DDD ( vec_real_type const & zetas,
char const indep[],
GenericContainer & vals ) const
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]

void Splines::SplineSet::eval2_DDD ( vec_real_type const & zetas,
char const indep[],
vec_string_type const & columns,
GenericContainer & vals ) const
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]

real_type Splines::SplineSet::eval_D ( real_type x,
char const name[] ) const
inline

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]

real_type Splines::SplineSet::eval_D ( real_type x,
integer spl ) const
inline

Evaluate spline n. spl first derivative at x.

◆ eval_D() [4/8]

void Splines::SplineSet::eval_D ( real_type x,
real_type vals[],
integer incy = 1 ) const

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]

void Splines::SplineSet::eval_D ( real_type x,
vector< real_type > & vals ) const

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]

real_type Splines::SplineSet::eval_DD ( real_type x,
char const name[] ) const
inline

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]

real_type Splines::SplineSet::eval_DD ( real_type x,
integer spl ) const
inline

Evaluate spline n. spl second derivative at x.

◆ eval_DD() [4/8]

void Splines::SplineSet::eval_DD ( real_type x,
real_type vals[],
integer incy = 1 ) const

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]

void Splines::SplineSet::eval_DD ( real_type x,
vector< real_type > & vals ) const

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]

real_type Splines::SplineSet::eval_DDD ( real_type x,
char const name[] ) const
inline

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]

real_type Splines::SplineSet::eval_DDD ( real_type x,
integer spl ) const
inline

Evaluate spline n. spl third derivative at x.

◆ eval_DDD() [4/8]

void Splines::SplineSet::eval_DDD ( real_type x,
real_type vals[],
integer incy = 1 ) const

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]

void Splines::SplineSet::eval_DDD ( real_type x,
vector< real_type > & vals ) const

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]

real_type Splines::SplineSet::eval_DDDD ( real_type x,
char const name[] ) const
inline

Evaluate spline name 4th derivative at x.

◆ eval_DDDD() [2/4]

real_type Splines::SplineSet::eval_DDDD ( real_type x,
integer spl ) const
inline

Evaluate spline n. spl 4th derivative at x.

◆ eval_DDDD() [3/4]

void Splines::SplineSet::eval_DDDD ( real_type x,
real_type vals[],
integer incy = 1 ) const

Evaluate the 4th derivative of all the splines at x

◆ eval_DDDD() [4/4]

void Splines::SplineSet::eval_DDDD ( real_type x,
vector< real_type > & vals ) const

Evaluate the 4th derivative of all the splines at x

◆ eval_DDDDD() [1/4]

real_type Splines::SplineSet::eval_DDDDD ( real_type x,
char const name[] ) const
inline

Evaluate spline name 5th derivative at x.

◆ eval_DDDDD() [2/4]

real_type Splines::SplineSet::eval_DDDDD ( real_type x,
integer spl ) const
inline

Evaluate spline n. spl 5th derivative at x.

◆ eval_DDDDD() [3/4]

void Splines::SplineSet::eval_DDDDD ( real_type x,
real_type vals[],
integer incy = 1 ) const

Evaluate the 5th derivative of all the splines at x

◆ eval_DDDDD() [4/4]

void Splines::SplineSet::eval_DDDDD ( real_type x,
vector< real_type > & vals ) const

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]

Spline * Splines::SplineSet::get_spline ( char const hdr[]) const
inline

Return pointer to the i-th spline.

◆ get_spline() [2/2]

Spline * Splines::SplineSet::get_spline ( integer i) const

Return pointer to the i-th spline.

◆ header()

string const & Splines::SplineSet::header ( integer i) const
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]

void Splines::SplineSet::info ( ostream_type & stream) const
inline

Print information of the kind and order of the spline

◆ is_monotone()

int Splines::SplineSet::is_monotone ( integer i) const
inline

Return monotonicity info.

Parameters
iith spline
Returns
+1 = strict monotone, 0 weak monotone, -1 non monotone

◆ name()

string const & Splines::SplineSet::name ( ) const
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()

integer Splines::SplineSet::num_points ( ) const
inline

Return the number of support points of the splines.

◆ num_splines()

integer Splines::SplineSet::num_splines ( ) const
inline

Return the number splines in the spline set.

◆ operator()()

real_type Splines::SplineSet::operator() ( real_type x,
integer spl ) const
inline

Evaluate spline n. spl at x.

◆ setup()

void Splines::SplineSet::setup ( GenericContainer const & gc)

Build a spline using data in GenericContainer

◆ x_max()

real_type Splines::SplineSet::x_max ( ) const
inline

Return x-maximum spline value.

◆ x_min()

real_type Splines::SplineSet::x_min ( ) const
inline

Return x-minumum spline value.

◆ x_node()

real_type Splines::SplineSet::x_node ( integer npt) const
inline

Return the i-th node of the spline (x component).

◆ x_nodes()

real_type const * Splines::SplineSet::x_nodes ( ) const
inline

Return the vector of values of x-nodes.

◆ y_max() [1/2]

real_type Splines::SplineSet::y_max ( char const spl[]) const
inline

Return y-maximum spline value.

◆ y_max() [2/2]

real_type Splines::SplineSet::y_max ( integer spl) const
inline

Return y-maximum spline value.

◆ y_min() [1/2]

real_type Splines::SplineSet::y_min ( char const spl[]) const
inline

Return y-minumum spline value.

◆ y_min() [2/2]

real_type Splines::SplineSet::y_min ( integer spl) const
inline

Return y-minumum spline value.

◆ y_node()

real_type Splines::SplineSet::y_node ( integer npt,
integer spl ) const
inline

Return the i-th node of the spline (y component).

◆ y_nodes()

real_type const * Splines::SplineSet::y_nodes ( integer i) const

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