The symmetric Indexing Function
Description
Examples
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.
M≔Matrix⁡1..3,1..3,shape=symmetric
M≔000000000
M1,2≔5
M
050500000
A≔Array⁡symmetric,1..5,1..5:
A
0000000000000000000000000
A3,4≔x:
A4,3
x
A4,3≔y:
A3,4
y
0000000000000y000y0000000
T≔table⁡symmetric:
Tfunction,continuous,odd≔f:
Todd,continuous,function
f
See Also
antisymmetric
Array
indexfcn
Matrix
rtable
rtable_indexfcn
table
Download Help Document