Close
Close window
identity - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

The identity Indexing Function

Description

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

In general, the identity indexing function returns 1 for all entries whose indices are identical, and returns 0 otherwise.

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

In the case of a table, if you know that the elements may be reassigned, use the sparse indexing function instead.

Under normal circumstances, no storage is allocated for the entries of an object constructed by using the identity indexing function. To override this, specify a storage value.

Examples

>

MMatrix3,3,shape=identity

M100010001

(1)
>

M1,23


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /