Function idn – HP 49g+ User Manual
Page 305
Page 10-9
value. Function CON generates a matrix with constant elements. For
example, in ALG mode, the following command creates a 4
×3 matrix whose
elements are all equal to –1.5:
In RPN mode this is accomplished by using
{4,3} ` 1.5 \
` CON.
Function IDN
Function IDN (IDeNtity matrix) creates an identity matrix given its size. Recall
that an identity matrix has to be a square matrix, therefore, only one value is
required to describe it completely. For example, to create a 4
×4 identity
matrix in ALG mode use:
You can also use an existing square matrix as the argument of function IDN,
e.g.,
The resulting identity matrix will have the same dimensions as the argument
matrix. Be aware that an attempt to use a rectangular (i.e., non-square)
matrix as the argument of IDN will produce an error.
In RPN mode, the two exercises shown above are created by using:
4`
IDN and @@@A@@@ IDN.