cisst-saw
Loading...
Searching...
No Matches
nmrMultiVariablePowerBasis::StandardPowerBasis Class Reference

#include <nmrMultiVariablePowerBasis.h>

Inheritance diagram for nmrMultiVariablePowerBasis::StandardPowerBasis:
nmrMultiVariablePowerBasis

Public Types

typedef nmrMultiVariablePowerBasis BaseType
Public Types inherited from nmrMultiVariablePowerBasis
typedef double VariableType
typedef nmrPolynomialTermPowerIndex::PowerType PowerType
typedef nmrPolynomialTermPowerIndex::VariableIndexType VariableIndexType
typedef VariableType ValueType

Public Member Functions

 StandardPowerBasis (VariableIndexType numVariables, PowerType maxPower)
virtual bool CanSetVariable (VariableIndexType varIndex) const
virtual void SetVariable (VariableIndexType varIndex, VariableType value)
virtual void SetVariables (VariableType const vars[])
Public Member Functions inherited from nmrMultiVariablePowerBasis
 nmrMultiVariablePowerBasis (VariableIndexType numVariables, PowerType maxPower)
virtual ~nmrMultiVariablePowerBasis ()
void Initialize (VariableIndexType numVariables, PowerType maxPower)
VariableIndexType GetNumVariables () const
PowerType GetMaxDegree () const
VariableType GetVariable (VariableIndexType variableIndex) const
void GetVariables (VariableType vars[]) const
VariableType GetSumOfVariables () const
VariableType GetVariablePower (VariableIndexType var, PowerType power) const
ValueType EvaluatePowerProduct (const PowerType powers[]) const

Additional Inherited Members

Protected Types inherited from nmrMultiVariablePowerBasis
typedef vctDynamicMatrix< VariableTypeBasisContainerType
Protected Member Functions inherited from nmrMultiVariablePowerBasis
void PrivateSetVariable (VariableIndexType varIndex, VariableType value)
Protected Attributes inherited from nmrMultiVariablePowerBasis
BasisContainerType BasisContainer

Member Typedef Documentation

◆ BaseType

Constructor & Destructor Documentation

◆ StandardPowerBasis()

nmrMultiVariablePowerBasis::StandardPowerBasis::StandardPowerBasis ( VariableIndexType numVariables,
PowerType maxPower )
inline

Member Function Documentation

◆ CanSetVariable()

virtual bool nmrMultiVariablePowerBasis::StandardPowerBasis::CanSetVariable ( VariableIndexType varIndex) const
inlinevirtual

Returns true if the value of variable indicated by the index can be set using SetVariable().

Implements nmrMultiVariablePowerBasis.

◆ SetVariable()

virtual void nmrMultiVariablePowerBasis::StandardPowerBasis::SetVariable ( VariableIndexType varIndex,
VariableType value )
inlinevirtual

Set the value of one variable

Implements nmrMultiVariablePowerBasis.

◆ SetVariables()

virtual void nmrMultiVariablePowerBasis::StandardPowerBasis::SetVariables ( VariableType const vars[])
virtual

Set the values of the polynomial variables to a specific n-dimensional point. This enables to pre-calculate the power basis for future evaluations. Implemented for each concrete polynomial class

Implements nmrMultiVariablePowerBasis.


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