The SUMO toolbox  2017a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
Degrees Class Reference

Construct a degree class. More...

Public Member Functions

function Degrees (var varargin)
 Class constructor. More...
 
function getWeights ()
 TODO. More...
 
function getDimension ()
 TODO. More...
 
function getFlags ()
 TODO. More...
 
function getNDegrees ()
 TODO. More...
 
function getDegrees (var n)
 TODO. More...
 
function update (var n)
 TODO. More...
 

Detailed Description

Construct a degree class.

The `degrees' class provides the polynomial class with suitable degree sets, according to the weighting `w' and the numerator/denominator flags `f'. See the docs for a more elaborate expl.

Constructor & Destructor Documentation

function Degrees ( var  varargin)
inline

Class constructor.

  • Copy constructor
  • Restore after serialization (takes struct argument)
  • Construct with weight vector `w' and flag vector `f'
    Returns
    instance of the class

Member Function Documentation

function getDegrees ( var  n)

TODO.

Return a total of `n' degrees, for numerator and denominator combined.

A call to update with an argument bigger than `n' must be done first. Example: If s.degrees = [ 0 0 ; 0 1 ; 1 0 ; 0 2 ; 1 1 ; 2 0 ]; and flags = [ 0 1 ] then getDegrees( 6 ) returns N = [ 0 0 ; 0 1 ; 1 0 ; 0 2 ] and D = [ 0 0 ; 1 0 ] for a total of 6 degree pairs and with D(2,:) all zero (because flag(2) == 1)

function getDimension ( )
inline

TODO.

function getFlags ( )
inline

TODO.

function getNDegrees ( )
inline

TODO.

function getWeights ( )
inline

TODO.

function update ( var  n)

TODO.

Update the degree class such that a request to return degrees smaller than or equal to n will succeed later on.


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