HDK
|
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... | |
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.
GA_ForwardDifferenceMatrix::GA_ForwardDifferenceMatrix | ( | ) |
Perform forward differencing.
Return the specified U matrix element
Definition at line 41 of file GA_ForwardDifferenceMatrix.h.
|
inline |
Return the initialized U order.
Definition at line 43 of file GA_ForwardDifferenceMatrix.h.
|
inline |
Return the initialized U integration step size.
Definition at line 45 of file GA_ForwardDifferenceMatrix.h.
Return the specified V matrix element.
Definition at line 48 of file GA_ForwardDifferenceMatrix.h.
|
inline |
Return the initialized V order.
Definition at line 50 of file GA_ForwardDifferenceMatrix.h.
|
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
uord | Order of the spline in U |
uinc | Stepping increment for integration in U |
vord | Order of the spline in V. For 1D curves, this is ignored. |
vinc | Stepping increment for integration in V |