Creates a sparse matrix from a dense matrix.
Creates a sparse identity matrix of the specified size.
Creates a sparse zero matrix with the specified dimensions.