Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
Function: identfor (<M>)
Function: identfor (<M>, <fld>) Return an identity matrix that has the same shape as the matrix <M>. The diagonal entries of the identity matrix are the multiplicative identity of the field <fld>; the default for <fld> is <generalring>.
The first argument <M> should be a square matrix or a non-matrix. When <M> is a matrix, each entry of <M> can be a square matrix - thus <M> can be a blocked Maxima matrix. The matrix can be blocked to any (finite) depth.
See also zerofor
(%o1) true (%i2)