Operation Manual

Chapter 10: Matrices 239
Redimensioning
RedimensioningRedimensioning
Redimensioning a Matrix with
a Matrix with a Matrix with
a Matrix with dim(
dim(dim(
dim(
Use
dim( with ¿ to redimension an existing matrixname to dimensions rows × columns.
The elements in the old
matrixname that are within the new dimensions are not changed.
Additional created elements are zeros. Matrix elements that are outside the new
dimensions are deleted.
{rows,columns}"dim(matrixname)
Fill(
Fill(Fill(
Fill(
Fill( stores value to every element in matrixname.
Fill(value,matrixname)
identity(
identity(identity(
identity(
identity( returns the identity matrix of dimension rows × dimension columns.