Mercurial > hg > octave-nkf
diff scripts/linear-algebra/dmult.m @ 3458:d25bc039237b
[project @ 2000-01-19 09:36:14 by jwe]
author | jwe |
---|---|
date | Wed, 19 Jan 2000 09:36:28 +0000 |
parents | 858695b3ed62 |
children | 38c61cbf086c |
line wrap: on
line diff
--- a/scripts/linear-algebra/dmult.m +++ b/scripts/linear-algebra/dmult.m @@ -20,8 +20,8 @@ ## @code{diag (@var{a}) * @var{b}} (but computed much more efficiently). ## @end deftypefn -## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> -## Description: Rescale the rows of a matrix +## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> +## Description: Rescale the rows of a matrix function M = dmult (a, B) @@ -31,7 +31,7 @@ s = size (a); if ((min (s) > 1) || (max (s) != rows (B))) - error ("dmult: a must be a vector of length rows (B)"); + error ("dmult: a must be a vector of length rows (B)"); endif M = (reshape (a, max (s), 1) * ones (1, columns (B))) .* B;