linalg(deprecated)/indexfunc - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : linalg(deprecated)/indexfunc

linalg(deprecated)

  

indexfunc

  

determine the indexing function of an array

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

indexfunc(A)

Parameters

A

-

array

Description

• 

Important: The linalg package has been deprecated. Use the superseding packages, LinearAlgebra and VectorCalculus, instead.

  

- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.

• 

The procedure call indexfunc(A) returns the indexing function for the array A.

• 

This could be one of the standard indexing functions such as identity, symmetric, or diagonal, or the name of a user-defined indexing function.

• 

If there is no indexing function specified for the array A, then indexfunc will return NULL.

• 

The command with(linalg,indexfunc) allows the use of the abbreviated form of this command.

Examples

Important: The linalg package has been deprecated. Use the superseding packages, LinearAlgebra and VectorCalculus, instead.

> 

with⁡linalg:

> 

A≔array⁡1..2,1..2,1,0,0,1

A≔1001

(1)
> 

indexfunc⁡A

> 

B≔array⁡1..2,1..2,1,0,0,1,symmetric

B≔1001

(2)
> 

indexfunc⁡B

symmetric

(3)

See Also

indexfcn

LinearAlgebra