ERC CISST - cisst software

nmrSingleVariablePowerBasis Class Reference

#include <nmrSingleVariablePowerBasis.h>

Collaboration diagram for nmrSingleVariablePowerBasis:

Collaboration graph
[legend]
List of all members.

Detailed Description

Stores the power basis for a single variable. A nmrSingleVariablePowerBasis is initialized with the maximal degree for which the variable is raised. Call SetVariable() to set the variable and calculate the sequence of powers.

Definition at line 43 of file nmrSingleVariablePowerBasis.h.

Public Types

Public Member Functions


Member Function Documentation

void nmrSingleVariablePowerBasis::Initialize ( PowerType  degree  )  [inline]

This function initializes the variable to zero and the degree to the given value. It is to be called during events such as serialization.

Definition at line 63 of file nmrSingleVariablePowerBasis.h.

PowerType nmrSingleVariablePowerBasis::GetDegree (  )  const [inline]

Return the maximal degree of the variable in this power sequence

Definition at line 71 of file nmrSingleVariablePowerBasis.h.

VariableType nmrSingleVariablePowerBasis::GetVariable (  )  const [inline]

Return the current value of the variable.

Definition at line 77 of file nmrSingleVariablePowerBasis.h.

VariableType nmrSingleVariablePowerBasis::GetVariablePower ( PowerType  power  )  const [inline]

Return a pre-computed power of the variable (assert limits)

Definition at line 83 of file nmrSingleVariablePowerBasis.h.

VariableType nmrSingleVariablePowerBasis::operator[] ( PowerType  power  )  const [inline]

Return a pre-computed power of the variable

Definition at line 90 of file nmrSingleVariablePowerBasis.h.

void nmrSingleVariablePowerBasis::SetVariable ( VariableType  variable  ) 

Set the value of the variable and the rest of the power sequence


The documentation for this class was generated from the following file:
erc-cisst-devel<at>lists.johnshopkins.edu