TITLE(ncol @@ The Number of Columns of a Matrix)
ALIAS(NCOL)
USAGE(
ncol(x)
NCOL(x)
)
ALIAS(ncol)
ALIAS(NCOL)
ARGUMENTS(
ARG(x @@ array)
)
DESCRIPTION(
LANG(ncol) returns the number of columns present in its argument.
LANG(NCOL) does the same, but dealing a vector as 1-column matrix.
)
SEEALSO(
LANG(LINK(nrow)) and LANG(NROW).
)
EXAMPLES(
ncol(matrix(1:12, 3, 4)) # 4
ncol(array(1:24, dim= 2:4)) # 3, the second dimension
NCOL(1:12) # 1
)
