Unit like.m

From Spinach Documentation Wiki
Jump to: navigation, search

Returns a unit object of the same type as whatever is supplied.

                        A=unit_like(A)

Full square matrices, sparse matrices and tensor train represen- tations of square matrices are supported.