The band Indexing Function - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Rtables, Arrays, Matrices, and Vectors : Indexing Functions : indexfcn/band

The band Indexing Function

 

Description

Examples

Description

• 

The band indexing function can be used to construct rtable objects of type Array or Matrix.

• 

As a parameter to the Matrix constructor, this indexing function can take either of the following forms.

  

1.  The band[b] indexing function specifies that the constructed object is a band Matrix with b non-zero subdiagonals and b non-zero superdiagonals.

  

2.  The band[b1, b2] indexing function specifies that the constructed object is a band Matrix with b1 non-zero subdiagonals and b2 non-zero superdiagonals.

  

The values of b1 and b2 are stored separately from the data in the Matrix data structure.

• 

The specification is the same in the construction of an Array.

Examples

MMatrixw,w,w,x,x,x,x,y,y,y,y,z,z,z,shape=band1,2,scan=band1,2

Mxyz00wxyz00wxyz00wxy

(1)

See Also

Array

LinearAlgebra[BandMatrix]

Matrix

rtable

rtable_indexfcn