sion of X.
 
    This provides a useful definition of the dimensionality of X.  Unlike 
    Matlab's NDIMS, which thinks that a column vector and a scalar both 
    have dimension 2, <a href="lnsd.html">LNSD</a> defines the dimension of a scalar to be zero and
    that of a column vector to be one, while a row vector has an <a href="lnsd.html">LNSD</a> of 2.
   
    Note that <a href="lnsd.html">LNSD</a>(X) changes if X is permuted. 
   
    [N1,N2,...NM]=<a href="lnsd.html">LNSD</a>(X1,X2,...XM) returns th