HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_ForwardDifferenceMatrix Class Reference

Helper class for a polynomial forward differencer. More...

#include <GA_ForwardDifferenceMatrix.h>

Public Member Functions

 GA_ForwardDifferenceMatrix ()
 Perform forward differencing. More...
 
void initialize (int uord, fpreal uinc, int vord=1, fpreal vinc=1)
 
fpreal getU (int row, int col) const
 
int getUOrder () const
 Return the initialized U order. More...
 
fpreal getUStep () const
 Return the initialized U integration step size. More...
 
fpreal getV (int row, int col) const
 Return the specified V matrix element. More...
 
int getVOrder () const
 Return the initialized V order. More...
 
fpreal getVStep () const
 Return the initialized V integration step size. More...
 

Detailed Description

Helper class for a polynomial forward differencer.

This class creates matrices used for forward differencing of polynomial functions. To use this class, you need to specify the order of the polynomial.

Definition at line 25 of file GA_ForwardDifferenceMatrix.h.

Constructor & Destructor Documentation

GA_ForwardDifferenceMatrix::GA_ForwardDifferenceMatrix ( )

Perform forward differencing.

Member Function Documentation

fpreal GA_ForwardDifferenceMatrix::getU ( int  row,
int  col 
) const
inline

Return the specified U matrix element

Definition at line 41 of file GA_ForwardDifferenceMatrix.h.

int GA_ForwardDifferenceMatrix::getUOrder ( ) const
inline

Return the initialized U order.

Definition at line 43 of file GA_ForwardDifferenceMatrix.h.

fpreal GA_ForwardDifferenceMatrix::getUStep ( ) const
inline

Return the initialized U integration step size.

Definition at line 45 of file GA_ForwardDifferenceMatrix.h.

fpreal GA_ForwardDifferenceMatrix::getV ( int  row,
int  col 
) const
inline

Return the specified V matrix element.

Definition at line 48 of file GA_ForwardDifferenceMatrix.h.

int GA_ForwardDifferenceMatrix::getVOrder ( ) const
inline

Return the initialized V order.

Definition at line 50 of file GA_ForwardDifferenceMatrix.h.

fpreal GA_ForwardDifferenceMatrix::getVStep ( ) const
inline

Return the initialized V integration step size.

Definition at line 52 of file GA_ForwardDifferenceMatrix.h.

void GA_ForwardDifferenceMatrix::initialize ( int  uord,
fpreal  uinc,
int  vord = 1,
fpreal  vinc = 1 
)

Initialize the forward differencer matrix with

Parameters
uordOrder of the spline in U
uincStepping increment for integration in U
vordOrder of the spline in V. For 1D curves, this is ignored.
vincStepping increment for integration in V

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