Command Summary

returns a new matrix filled with 0s given the dimensions provided

Command Syntax


Menu Location

  • Press 2nd MATH to enter the MATH popup
  • Press 4 to enter the Matrix submenu
  • Press F ( Alpha

Calculator Compatibility

This command works on all calculators.

Token Size

~8 byte(s)

When integers are used as arguments, newMat() returns an empty matrix of the specified dimensions filled with zeros. When any type other than integers are used as as arguments, newMat returns a Data Type error.


Advanced Uses

Can be used to pre-allocate matrices for programs.


Error Conditions

210 - Data type happens when the data type specified as a dimension is invalid. See above..

Related Commands

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial 2.5 License.