constant - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


The constant Indexing Function

 

Description

Examples

Description

• 

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

• 

In the construction of a Matrix, the constant[x] indexing function specifies a Matrix whose entries all have the value x.

• 

The specification is the same in the construction of Arrays and Vectors.

• 

If an object is defined by using the constant indexing function, its elements cannot be reassigned.

• 

Under normal circumstances, Maple only stores the value of x. To override this, specify a storage value.

Examples

VVector3,shape=constant2

V222

(1)

MMatrix1..2,1..2,shape=constant3

M3333

(2)

See Also

Array

LinearAlgebra[ConstantMatrix]

LinearAlgebra[ConstantVector]

Matrix

rtable

rtable_indexfcn

storage

Vector