NCOL matrix function
NCOL(A) returns the number of columns of matrix A.
Matrix Algebra Useful for Statistics
Shayle R. Searle, Andre I. Khuri
Buy from Amazon
This book addresses matrix algebra that is useful in the statistical analysis of data as well as within statistics as a whole. The material is presented in an explanatory style rather than a formal theorem-proof format and is self-contained.