Base class of penalized splines (p-spline) for smoothing. More...

#include <SplineSmooth.h>

Inheritance diagram for Pulsar::SplineSmooth:
Reference::Able Reference::HeapTracked

Public Member Functions

 SplineSmooth ()
 Constructor.
 
 SplineSmooth (const std::string &json_string)
 Construct from a string that describes the spline function.
 
 ~SplineSmooth ()
 Destructor.
 
void set_alpha (double _alpha)
 Set the smoothing factor.
 
double get_alpha () const
 
void unload (const std::string &) const
 Unload spline to specified filename.
 
void load (const std::string &)
 Load spline from specified filename.
 
- Public Member Functions inherited from Reference::Able
 Able (const Able &)
 
Ableoperator= (const Able &)
 
unsigned get_reference_count () const
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
 
HeapTrackedoperator= (const HeapTracked &)
 
bool __is_on_heap () const
 

Protected Member Functions

double evaluate (const std::vector< double > &xval)
 evaluate method used by derived types
 
template<typename T >
void new_spline (const std::vector< T > &data_x, const std::vector< Estimate< double > > &data_y)
 constructor used by derived types
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Additional Inherited Members

- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 
- Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
 
static void operator delete (void *location, void *ptr)
 
static void operator delete (void *location)
 
static size_t get_heap_queue_size ()
 

Detailed Description

Base class of penalized splines (p-spline) for smoothing.

Derived classes interface with the SPLINT library


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

Generated using doxygen 1.8.17