Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

RazorBack::Splstorage_ Class Reference

Splstorage_: this is a helper class that stores the data needed by the Spl_ class. More...

#include <Spl.hh>

List of all members.

Private Methods

 Splstorage_ (unsigned int N=2)
 Inits to work on N data points (default 2).

void len (unsigned int L)
 Changes the vector sizes to L. More...

void reset ()
 Zeroes all data vectors and prepares for a new fit.


Private Attributes

vector<double> Xvec
 independent variable.

vector<double> Yvec
 dependent variable.

vector<double> Y2vec
 second derivatives.

vector<double> Yintvec
 integrals.

unsigned int Len
 common data vector length.

bool Ev
 Evaluation needed?


Friends

class  Spl_


Detailed Description

Splstorage_: this is a helper class that stores the data needed by the Spl_ class.

Objects of this class are wrapped by the Refstorage_ class that implements reference counting and copy-on-write. The Spl_ class inherits that Refstorage_ wrapper. This class has only private members and methods and Spl_ is its only friend that is allowed to tamper with them.

Definition at line 49 of file Spl.hh.


Constructor & Destructor Documentation

RazorBack::Splstorage_::Splstorage_ ( unsigned int N = 2 ) [inline, explicit, private]
 

Inits to work on N data points (default 2).

Definition at line 66 of file Spl.hh.


Member Function Documentation

void RazorBack::Splstorage_::len ( unsigned int L ) [inline, private]
 

Changes the vector sizes to L.

Guaranteed to be invoked only if L is different from Len. See Spl_::len(L).

Definition at line 74 of file Spl.hh.

void RazorBack::Splstorage_::reset ( ) [inline, private]
 

Zeroes all data vectors and prepares for a new fit.

Definition at line 97 of file Spl.hh.


Friends And Related Function Documentation

friend class Spl_ [friend]
 

Definition at line 51 of file Spl.hh.


Member Data Documentation

vector< double > RazorBack::Splstorage_::Xvec<double> [private]
 

independent variable.

Definition at line 56 of file Spl.hh.

vector< double > RazorBack::Splstorage_::Yvec<double> [private]
 

dependent variable.

Definition at line 57 of file Spl.hh.

vector< double > RazorBack::Splstorage_::Y2vec<double> [private]
 

second derivatives.

Definition at line 58 of file Spl.hh.

vector< double > RazorBack::Splstorage_::Yintvec<double> [private]
 

integrals.

Definition at line 59 of file Spl.hh.

unsigned int RazorBack::Splstorage_::Len [private]
 

common data vector length.

Definition at line 60 of file Spl.hh.

bool RazorBack::Splstorage_::Ev [private]
 

Evaluation needed?

Definition at line 61 of file Spl.hh.


The documentation for this class was generated from the following file:
Generated at Wed Aug 21 09:33:19 2002 for The Razorback C++ Library: Statistics by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001