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

  PUBLIC
FuncLinearCoeffBodyC::FuncLinearCoeffBodyC(void)
FuncLinearCoeffBodyC::FuncLinearCoeffBodyC(UIntT,UIntT)
FuncLinearCoeffBodyC::FuncLinearCoeffBodyC(istream &)
FuncLinearCoeffBodyC::FuncLinearCoeffBodyC(BinIStreamC &)
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)

   FuncLinearCoeffBodyC   
 
Function with linear coeffiecents.
 
include "Ravl/PatternRec/FuncLinearCoeff.hh"
Created:21/4/1998 
Source file:Ravl/PatternRec/Modeling/Basic/FuncLinearCoeff.hh
User Level:Develop
Library:RavlPatternRec
In Scope:RavlN

Parent Classes: Derived Classes: Variables:
MatrixC a;

Methods:
FuncLinearCoeffBodyC()
Default constructor.

FuncLinearCoeffBodyC(UIntT inSize,UIntT outSize)
Create a function with the given number of inputs and outputs.

FuncLinearCoeffBodyC(istream & strm)
Load from stream.

FuncLinearCoeffBodyC(BinIStreamC & strm)
Load from binary stream.

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, Created: 21/4/1998, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002