Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Pattern Recognition - Numerical Modeling - FuncQuadraticBodyC
 

  PUBLIC
FuncQuadraticBodyC::FuncQuadraticBodyC(int,int)
FuncQuadraticBodyC::FuncQuadraticBodyC(istream &)
FuncQuadraticBodyC::FuncQuadraticBodyC(BinIStreamC &)
FuncQuadraticBodyC::Save(ostream &) const
FuncQuadraticBodyC::Save(BinOStreamC &) const
FuncQuadraticBodyC::MakeInput(const VectorC &) const
FuncQuadraticBodyC::MakeJacobianInput(const VectorC &,IntT) const
FuncQuadraticBodyC::NumberCoeffs(UIntT) const
FuncLinearCoeffBodyC::Save(ostream &) const
FuncLinearCoeffBodyC::Save(BinOStreamC &) const
FuncLinearCoeffBodyC::Apply(const VectorC &) const
FuncLinearCoeffBodyC::Jacobian(const VectorC &) const
FuncLinearCoeffBodyC::MakeInput(const VectorC &) const
FuncLinearCoeffBodyC::MakeJacobianInput(const VectorC &,IntT) const
FuncLinearCoeffBodyC::NumberCoeffs(UIntT) const
FuncLinearCoeffBodyC::SetTransform(const MatrixC &)
FunctionBodyC::Save(ostream &) const
FunctionBodyC::Save(BinOStreamC &) const
FunctionBodyC::Apply(const VectorC &) const
FunctionBodyC::Apply(const SampleC &)
FunctionBodyC::Jacobian(const VectorC &) const
FunctionBodyC::Evaluate(const VectorC &)
FunctionBodyC::InputSize(void) const
FunctionBodyC::OutputSize(void) const
FunctionBodyC::InputSize(UIntT)
FunctionBodyC::OutputSize(UIntT)
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   FuncQuadraticBodyC   
 
Quadratic function.
 
include "Ravl/PatternRec/FuncQuadratic.hh"
Source file:Ravl/PatternRec/Modeling/Basic/FuncQuadratic.hh
User Level:Develop
Library:RavlPatternRec
In Scope:RavlN

Parent Classes: Variables:
UIntT noCoeffs;
Number of coefficents.

Methods:
FuncQuadraticBodyC(int inSize,int outSize)
Constructor.

FuncQuadraticBodyC(istream & strm)
Load from stream.

FuncQuadraticBodyC(BinIStreamC & strm)
Load from binary stream.

bool Save(ostream & out) const
Writes object to stream, can be loaded using constructor

bool Save(BinOStreamC & out) const
Writes object to stream, can be loaded using constructor

VectorC MakeInput(const VectorC & X) const
Expand vector to linear coefficients.

VectorC MakeJacobianInput(const VectorC & X,IntT i) const
Expand vector to linear coefficients.

UIntT NumberCoeffs(UIntT inputSize) const
Calculate the number of coefficents for a given input size.

#include "Ravl/PatternRec/FuncLinearCoeff.hh"
bool Save(ostream & out) const
Writes object to stream.

bool Save(BinOStreamC & out) const
Writes object to binary stream.

VectorC Apply(const VectorC & data) const
Apply function to 'data'

MatrixC Jacobian(const VectorC & X) const
Calculate Jacobian matrix at X

VectorC MakeInput(const VectorC & X) const
Expand vector to linear coefficients.

VectorC MakeJacobianInput(const VectorC & X,IntT i) const
Expand vector to linear coefficients.

UIntT NumberCoeffs(UIntT inputSize) const
Calculate the number of coefficents for a given input size.

bool SetTransform(const MatrixC & a)
Attempt to set transform matrix.

#include "Ravl/PatternRec/Function.hh"
bool Save(ostream & out) const
Writes object to stream, can be loaded using constructor

bool Save(BinOStreamC & out) const
Writes object to stream, can be loaded using constructor

VectorC Apply(const VectorC & data) const
Apply function to 'data'

SampleC<VectorC> Apply(const SampleC<VectorC> & data)
Apply transform to whole dataset.

MatrixC Jacobian(const VectorC & X) const
Calculate Jacobian matrix at X
Performs numerical estimation of the Jacobian using differences. This function has and should be overloaded for all cases where the Jacobian can be calculated analytically.

VectorMatrixC Evaluate(const VectorC & X)
Evalate the function and its jacobian at the same time.
This method defaults to calling 'Apply' and 'Jacobian' sperately.

UIntT InputSize() const
Size of input vectors

UIntT OutputSize() const
Size of output vectors

UIntT InputSize(UIntT inSize)
Set the input size.
This is for use of designer classes, changing the input size of an existing function has undefined effects.

UIntT OutputSize(UIntT outSize)
Set the output size.
This is for use of designer classes, changing the output size of an existing function has undefined effects.

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCBodyVC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


Maintainer:Robert Crida and Charles Galambos, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002