@ (Matrix)

Returns an element of a matrix by column index and row index.

Arguments

rowIndex
and
columnIndex
are integer numbers, zero-based.
The
matrix
(see Matrix) to get the element of.

Return values

value
of the matrix element.

Complexity

Constant

Example

"sl/algebra" useFile m: ((1.0 3.0 2.0) (1.0 2.0 -3.0) (4.0 -6.0 6.0)) makeMatrix; 0 1 m @ print
Output:
1.000000