Generic class template for polynomials of degree 1. More...
#include <cmtkPolynomial.h>
Public Types | |
enum | { NumberOfMonomials = 0 } |
Number of monomials in x, y, and z of degree up to 1. More... | |
typedef Polynomial< 0, TRealType > | Self |
This class. | |
typedef TRealType | RealValueType |
Real value type. | |
Static Public Member Functions | |
static TRealType | EvaluateMonomialAt (const size_t idx, const TRealType x, const TRealType y, const TRealType z) |
Evaluate the idx'th monomial at (x,y,z). | |
static void | EvaluateAllMonomials (TRealType *const, const TRealType, const TRealType, const TRealType) |
Evaluate all monomials at one point. |
Generic class template for polynomials of degree 1.
Definition at line 77 of file cmtkPolynomial.h.
typedef TRealType cmtk::Polynomial< 0, TRealType >::RealValueType |
Real value type.
Definition at line 84 of file cmtkPolynomial.h.
typedef Polynomial<0,TRealType> cmtk::Polynomial< 0, TRealType >::Self |
This class.
Definition at line 81 of file cmtkPolynomial.h.
anonymous enum |
Number of monomials in x, y, and z of degree up to 1.
Definition at line 87 of file cmtkPolynomial.h.
static void cmtk::Polynomial< 0, TRealType >::EvaluateAllMonomials | ( | TRealType * | const, |
const | TRealType, | ||
const | TRealType, | ||
const | TRealType | ||
) | [inline, static] |
Evaluate all monomials at one point.
This is more efficient than calling EvaluateMonomialAt() repeatedly, because the computation can proceed incrementally and save most multiplications in the process.
Definition at line 99 of file cmtkPolynomial.h.
static TRealType cmtk::Polynomial< 0, TRealType >::EvaluateMonomialAt | ( | const size_t | idx, |
const TRealType | x, | ||
const TRealType | y, | ||
const TRealType | z | ||
) | [inline, static] |
Evaluate the idx'th monomial at (x,y,z).
Definition at line 90 of file cmtkPolynomial.h.