The symmetric Indexing Function - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Tables, lists, and sets : indexing functions : indexfcn/symmetric

The symmetric Indexing Function

 

Description

Examples

Description

• 

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

• 

In the construction of 2-dimensional objects, the symmetric indexing function specifies that the (i, j)th element equals the (j, i)th element.

• 

In general, this indexing function specifies that all entries of an object whose indices are equal under permutations are the same.

  

The indices are rearranged according to a system-determined canonical ordering.

Examples

MMatrix1..3,1..3,shape=symmetric

M:=000000000

(1)

M1,25

M1,2:=5

(2)

M

050500000

(3)

AArraysymmetric,1..5,1..5:

A

0000000000000000000000000

(4)

A3,4x:

A4,3

x

(5)

A4,3y:

A3,4

y

(6)

A

0000000000000y000y0000000

(7)

Ttablesymmetric:

Tfunction,continuous,oddf:

Todd,continuous,function

f

(8)

See Also

antisymmetric

Array

indexfcn

Matrix

rtable

rtable_indexfcn

table

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam