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

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.

withlinalg:

Aarray1..2,1..2,1,0,0,1

A1001

(1)

indexfuncA

Barray1..2,1..2,1,0,0,1,symmetric

B1001

(2)

indexfuncB

symmetric

(3)

See Also

indexfcn

LinearAlgebra