rtable_indfns - Maple Help

# Online Help

###### All Products    Maple    MapleSim

rtable_indfns

return the indexing functions of an rtable

 Calling Sequence rtable_indfns(A)

Parameters

 A - rtable object

Description

 • The rtable_indfns(A) function, where A is an Array, Matrix, or Vector, returns a sequence of indexing functions for rtable A.
 In the case that A is an Array, this is equivalent to op(1, A).
 You can also use MatrixOptions or VectorOptions with the shape parameter to obtain the indexing functions (shape) for Matrices and Vectors, respectively.

Thread Safety

 • The rtable_indfns command is thread-safe as of Maple 15.
 • For more information on thread safety, see index/threadsafe.

Examples

 > $A≔\mathrm{Array}\left(\mathrm{triangular}\left[\mathrm{upper}\right],1..3,1..4\right)$
 ${A}{≔}\left[\begin{array}{cccc}{0}& {0}& {0}& {0}\\ {0}& {0}& {0}& {0}\\ {0}& {0}& {0}& {0}\end{array}\right]$ (1)
 > $\mathrm{rtable_indfns}\left(A\right)$
 ${{\mathrm{triangular}}}_{{\mathrm{upper}}}$ (2)
 > $\mathrm{op}\left(1,A\right)$
 ${{\mathrm{triangular}}}_{{\mathrm{upper}}}$ (3)
 > $M≔\mathrm{Matrix}\left(3,3,\mathrm{shape}=\mathrm{symmetric}\right)$
 ${M}{≔}\left[\begin{array}{ccc}{0}& {0}& {0}\\ {0}& {0}& {0}\\ {0}& {0}& {0}\end{array}\right]$ (4)
 > $M\left[1,2\right]≔4$
 ${{M}}_{{1}{,}{2}}{≔}{4}$ (5)
 > $M$
 $\left[\begin{array}{ccc}{0}& {4}& {0}\\ {4}& {0}& {0}\\ {0}& {0}& {0}\end{array}\right]$ (6)
 > $\mathrm{rtable_indfns}\left(M\right)$
 ${\mathrm{symmetric}}$ (7)

 See Also