Mercurial > hg > octave-nkf
diff scripts/general/is_square.m @ 3321:6923abb04e16
[project @ 1999-10-26 18:15:30 by jwe]
author | jwe |
---|---|
date | Tue, 26 Oct 1999 18:15:41 +0000 |
parents | a998db745232 |
children | 36405da8e173 |
line wrap: on
line diff
--- a/scripts/general/is_square.m +++ b/scripts/general/is_square.m @@ -17,11 +17,12 @@ ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA ## 02111-1307, USA. -## usage: is_square (x) -## -## If x is square, then return value is the dimension of x. -## otherwise, returns a value of 0 -## +## -*- texinfo -*- +## @deftypefn {Usage} {} is_square (@var{x}) +## If @var{x} is a square matrix, then return the dimension of @var{x}. +## Otherwise, return 0. +## @end deftypefn + ## See also: size, rows, columns, length, is_matrix, is_scalar, is_vector ## Author: A. S. Hodel <scotte@eng.auburn.edu>