Rosetta
Public Types | Public Member Functions | Private Attributes | List of all members
numeric::interpolation::spline::PolycubicSpline< 1 > Class Reference

#include <PolycubicSpline.hh>

Inheritance diagram for numeric::interpolation::spline::PolycubicSpline< 1 >:
Inheritance graph
[legend]

Public Types

typedef PolycubicSplineBase parent
 
- Public Types inherited from numeric::interpolation::spline::PolycubicSplineBase
typedef numeric::Size Size
 

Public Member Functions

 PolycubicSpline ()
 construct generic PolycubicSpline More...
 
 PolycubicSpline (PolycubicSpline const &src)
 copy constructor More...
 
PolycubicSplineBaseOP clone () const override
 Implementation of pure virtual clone() function from base class: returns an owning pointer to a copy of this object. More...
 
MathNTensor< Real, 1 > const & get_deriv (Size n) const
 get the second order derivatives of the spline for 3 dimensions, you would pass 1-8 and get values, z, y, yz, x, xz, xy, xyz More...
 
Size dimensionality () const
 Get the dimensionality. More...
 
utility::fixedsizearray1< Real, 2 > get_all_derivs (utility::fixedsizearray1< Size, 1 > &)
 
Real F (utility::fixedsizearray1< Real, 1 > const &) const
 
Real dFdxi (Size, utility::fixedsizearray1< Real, 1 > const &) const
 
utility::fixedsizearray1< Real, 1 > dFdall (utility::fixedsizearray1< Real, 1 > const &) const
 
void train (utility::fixedsizearray1< BorderFlag, 1 > const &, utility::fixedsizearray1< double, 1 > const &, utility::fixedsizearray1< double, 1 > const &, MathNTensor< Real, 1 > const &, utility::fixedsizearray1< bool, 1 > const &, utility::fixedsizearray1< std::pair< Real, Real >, 1 > const &)
 
- Public Member Functions inherited from numeric::interpolation::spline::PolycubicSplineBase
 PolycubicSplineBase ()
 Construct generic PolycubicSplineBase. More...
 
 PolycubicSplineBase (Size const dimensionality_in)
 Initialization constructor. More...
 
virtual ~PolycubicSplineBase ()
 Virtual destructor needed for polymorphism. More...
 
Size dimensionality () const
 Get the dimensionality of the derived class. More...
 

Private Attributes

utility::fixedsizearray1< BorderFlag, 1 > border_
 controls the behavior at x/y_0 and x/y_dim-1 More...
 
utility::fixedsizearray1< Real, 1 > start_
 
utility::fixedsizearray1< Real, 1 > delta_
 gives the arguments as a sequence of equidistant points More...
 
utility::fixedsizearray1< MathNTensor< Real, 1 >, 2 > n_derivs_
 
utility::fixedsizearray1< std::pair< Real, Real >, 1 > firstbe_
 
utility::fixedsizearray1< bool, 1 > LinCont_
 

Additional Inherited Members

- Protected Member Functions inherited from numeric::interpolation::spline::PolycubicSplineBase
void set_dimensionality (Size const dimensionality_in)
 Allow derived class to set the dimensionality. More...
 

Member Typedef Documentation

◆ parent

Constructor & Destructor Documentation

◆ PolycubicSpline() [1/2]

construct generic PolycubicSpline

◆ PolycubicSpline() [2/2]

copy constructor

Member Function Documentation

◆ clone()

PolycubicSplineBaseOP numeric::interpolation::spline::PolycubicSpline< 1 >::clone ( ) const
inlineoverridevirtual

Implementation of pure virtual clone() function from base class: returns an owning pointer to a copy of this object.

Implements numeric::interpolation::spline::PolycubicSplineBase.

◆ dFdall()

Returns
partial derivatives at (x1, x2, ... xn)

◆ dFdxi()

Real numeric::interpolation::spline::PolycubicSpline< 1 >::dFdxi ( Size  ,
utility::fixedsizearray1< Real, 1 > const &   
) const
inline
Returns
partial derivative at (x1, x2, ... xn) for var i

◆ dimensionality()

Size numeric::interpolation::spline::PolycubicSpline< 1 >::dimensionality ( ) const
inline

Get the dimensionality.

◆ F()

Returns
value at (x1, x2, ... xn)

◆ get_all_derivs()

◆ get_deriv()

MathNTensor< Real, 1 > const& numeric::interpolation::spline::PolycubicSpline< 1 >::get_deriv ( Size  n) const
inline

get the second order derivatives of the spline for 3 dimensions, you would pass 1-8 and get values, z, y, yz, x, xz, xy, xyz

References kmeans_adaptive_kernel_density_bb_dependent_rotlib::n, and numeric::interpolation::spline::PolycubicSpline< N >::n_derivs_.

◆ train()

void numeric::interpolation::spline::PolycubicSpline< 1 >::train ( utility::fixedsizearray1< BorderFlag, 1 > const &  ,
utility::fixedsizearray1< double, 1 > const &  ,
utility::fixedsizearray1< double, 1 > const &  ,
MathNTensor< Real, 1 > const &  ,
utility::fixedsizearray1< bool, 1 > const &  ,
utility::fixedsizearray1< std::pair< Real, Real >, 1 > const &   
)
inline

Member Data Documentation

◆ border_

controls the behavior at x/y_0 and x/y_dim-1

◆ delta_

gives the arguments as a sequence of equidistant points

◆ firstbe_

◆ LinCont_

◆ n_derivs_

◆ start_


The documentation for this class was generated from the following file: