Returns an identity matrix. If argument is a single number, then the output is
a square matrix. The argument can also be an array specifying the dimensions separately.
Calculate the eigenvalues and eigenvectors for a matrix. Specifically, the output is an
object map with entries for real_eigenvalues, imaginary_eigenvalues, eigenvectors, and
residuals.
Return a matrix of ones. Can be called with a single integer argument (indicating the
square matrix of that size) or with an array argument (indicating the size for each dimension).
Returns a matrix of random values, each between zero and one. Can be called with a single integer argument (indicating the
square matrix of that size) or with an array argument (indicating the size for each dimension).
Return a matrix of zeros. Can be called with a single integer argument (indicating the
square matrix of that size) or with an array argument (indicating the size for each dimension).