Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / Built-in Functions / Lists and Matrices / List Testing /

MatrixQ

FilledSmallSquare MatrixQ[expr] gives True if expr is a list of lists or a two-dimensional SparseArray object that can represent a matrix, and gives False otherwise.

FilledSmallSquare MatrixQ[expr, test] gives True only if test yields True when applied to each of the matrix elements in expr.

FilledSmallSquare MatrixQ[expr] gives True only if expr is a list, and each of its elements is a list of the same length, containing no elements that are themselves lists, or is a two-dimensional SparseArray object.

FilledSmallSquare MatrixQ[expr, NumberQ] tests whether expr is a numerical matrix.

FilledSmallSquare See Section 2.3.5 and Section 3.7.3.

FilledSmallSquare See also: VectorQ, ArrayQ, ArrayDepth.

FilledSmallSquare Related package: LinearAlgebra`MatrixManipulation`.

FilledSmallSquare New in Version 1; modified in 2.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: