Table of Contents
This is an old revision of the document!
Sub
Matrix.Sub(M,n) takes a Matrix M and returns the upper left submatrix of size n×n.
Matrix.Sub(M,r,c) takes a Matrix M and returns the upper left submatrix of size r×c.
Matrix.Sub(M, r0, r, c0, c) takes a Matrix M and returns a submatrix of size r×c, where the 1,1 element of the new matrix coincides with the r0,c0 element of M. Note that in this case the first entry of a row or a column is indexed 1, not 0.
Example
One of these days an example will appear here.
Input
- Example.Quanty
-- some example code
Result
text produced as output