symmetric - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


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

> 

M≔Matrix⁡1..3,1..3,shape=symmetric

M≔000000000

(1)
> 

M1,2≔5

M1,2≔5

(2)
> 

M

050500000

(3)
> 

A≔Array⁡symmetric,1..5,1..5:

> 

A

0000000000000000000000000

(4)
> 

A3,4≔x:

> 

A4,3

x

(5)
> 

A4,3≔y:

> 

A3,4

y

(6)
> 

A

0000000000000y000y0000000

(7)
> 

T≔table⁡symmetric:

> 

Tfunction,continuous,odd≔f:

> 

Todd,continuous,function

f

(8)

See Also

antisymmetric

Array

indexfcn

Matrix

rtable

rtable_indexfcn

table