NonLinearLeastSquares Class Reference

#include <newmatnl.h>

Inheritance diagram for NonLinearLeastSquares:
FindMaximum2

List of all members.

Public Member Functions

void Fit (const ColumnVector &, ColumnVector &)
void GetCorrelations (SymmetricMatrix &)
void GetHatDiagonal (DiagonalMatrix &) const
void GetResiduals (ColumnVector &Z) const
void GetStandardErrors (ColumnVector &)
 NonLinearLeastSquares (R1_Col_I_D &pred, int lim=1000, Real crit=0.0001)
Real ResidualVariance () const

Private Member Functions

Real LastDerivative (const ColumnVector &)
void MakeCovariance ()
bool NextPoint (ColumnVector &, Real &)
void Value (const ColumnVector &, bool, Real &, bool &)

Private Attributes

SymmetricMatrix Covariance
Real criterion
const ColumnVectorDataPointer
RowVector Derivs
Real errorvar
int Lim
ColumnVector M
int n_obs
int n_param
R1_Col_I_DPred
DiagonalMatrix SE
UpperTriangularMatrix U
Matrix X
ColumnVector Y

Constructor & Destructor Documentation

NonLinearLeastSquares::NonLinearLeastSquares ( R1_Col_I_D pred,
int  lim = 1000,
Real  crit = 0.0001 
) [inline]

Member Function Documentation

void NonLinearLeastSquares::Fit ( const ColumnVector Data,
ColumnVector Parameters 
)

References DataPointer, Lim, n_obs, n_param, and GeneralMatrix::Nrows().

Referenced by my_main().

void NonLinearLeastSquares::GetCorrelations ( SymmetricMatrix Corr  ) 

References Covariance, BaseMatrix::i(), MakeCovariance(), and SE.

Referenced by my_main().

void NonLinearLeastSquares::GetHatDiagonal ( DiagonalMatrix Hat  )  const
void NonLinearLeastSquares::GetResiduals ( ColumnVector Z  )  const [inline]

Referenced by my_main().

void NonLinearLeastSquares::GetStandardErrors ( ColumnVector SEX  ) 

References BaseMatrix::AsColumn(), MakeCovariance(), and SE.

Referenced by my_main().

Real NonLinearLeastSquares::LastDerivative ( const ColumnVector H  )  [private, virtual]

Implements FindMaximum2.

References Derivs.

void NonLinearLeastSquares::MakeCovariance (  )  [private]
bool NonLinearLeastSquares::NextPoint ( ColumnVector Adj,
Real test 
) [private, virtual]
Real NonLinearLeastSquares::ResidualVariance (  )  const [inline]

Referenced by my_main().

void NonLinearLeastSquares::Value ( const ColumnVector Parameters,
bool  ,
Real v,
bool oorg 
) [private, virtual]

Implements FindMaximum2.


Member Data Documentation

Referenced by GetCorrelations(), and MakeCovariance().

Referenced by NextPoint().

Referenced by Fit().

Referenced by LastDerivative().

Referenced by MakeCovariance(), and NextPoint().

Referenced by Fit().

Referenced by NextPoint().

Referenced by Fit(), GetHatDiagonal(), and NextPoint().

Referenced by Fit(), MakeCovariance(), and NextPoint().

Referenced by MakeCovariance(), and NextPoint().

Referenced by GetHatDiagonal(), and NextPoint().

Referenced by NextPoint().


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

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1