Mantid
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
Mantid::Kernel::CubicSpline< X, Y > Class Template Reference

Cubic spline interpolation using GSL. More...

#include <Spline.h>

Inheritance diagram for Mantid::Kernel::CubicSpline< X, Y >:
Mantid::Kernel::Spline< X, Y >

Public Member Functions

 CubicSpline (std::span< X const > x, std::span< Y const > y)
 
- Public Member Functions inherited from Mantid::Kernel::Spline< X, Y >
std::vector< Yderiv (std::span< X const > newX, unsigned int order=1) const
 
Y deriv (X const newX, unsigned int order=1) const
 
std::vector< Yoperator() (std::span< X const > newX) const
 
Y operator() (X const newX) const
 
 Spline (std::span< X const > x, std::span< Y const > y, gsl_interp_type const *type)
 
virtual ~Spline ()=default
 

Static Public Member Functions

static std::vector< YgetSplinedYValues (std::span< X const > newX, std::span< X const > x, std::span< Y const > y)
 

Detailed Description

template<typename X, typename Y>
class Mantid::Kernel::CubicSpline< X, Y >

Cubic spline interpolation using GSL.

Template Parameters
XType for x-coordinates (must be numeric)
YType for y-coordinates (must be numeric)

Definition at line 81 of file Spline.h.

Constructor & Destructor Documentation

◆ CubicSpline()

template<typename X , typename Y >
Mantid::Kernel::CubicSpline< X, Y >::CubicSpline ( std::span< X const >  x,
std::span< Y const >  y 
)
inline

Definition at line 83 of file Spline.h.

Member Function Documentation

◆ getSplinedYValues()

template<typename X , typename Y >
static std::vector< Y > Mantid::Kernel::CubicSpline< X, Y >::getSplinedYValues ( std::span< X const >  newX,
std::span< X const >  x,
std::span< Y const >  y 
)
inlinestatic

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