Previous Up Next

5.45.25  Define a matrix : matrix

matrix takes three arguments :

matrix returns the matrix A=(aj,k) (j=1..n and k=1..p) of dimension n × p.
Input :


or first define the h function:


then, input:


Output :


Note the argument order and the fact that the indices are counted starting from 1. If the last argument is not provided, it defaults to 0.

Previous Up Next