Mathematica 9 is now available

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

VectorQ

FilledSmallSquare VectorQ[expr] gives True if expr is a list or a one-dimensional SparseArray object, none of whose elements are themselves lists, and gives False otherwise.

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

FilledSmallSquare VectorQ[expr, NumberQ] tests whether expr is a vector of numbers.

FilledSmallSquare See Section 2.3.5 and Section 3.7.3.

FilledSmallSquare See also: MatrixQ, ArrayDepth.

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
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.