Create basic matrices.
eye(n, m = n)
ones(n, m = n)
zeros(n, m = n)
numeric scalars specifying size of the matrix
Matrix of size n x m.
Defaults to a square matrix if m is missing.
n x m
No dropping of dimensions; if n = 1, still returns a matrix and
not a vector.
n = 1
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.