comparison scripts/special-matrix/toeplitz.m @ 19018:1197f04eec09 stable

doc: minor typo fixes and copy-paste error. * package.txi: Correct typos. * toeplitz.m: Correct warning message which should refer to "diagonal" rather than "anti-diagonal".
author Colin Macdonald <cbm@m.fsf.org>
date Tue, 15 Jul 2014 00:14:18 +0100
parents d63878346099
children 446c46af4b42
comparison
equal deleted inserted replaced
19013:8de35ac99e80 19018:1197f04eec09
72 nc = nr; 72 nc = nr;
73 else 73 else
74 if (! (isvector (c) && isvector (r))) 74 if (! (isvector (c) && isvector (r)))
75 error ("toeplitz: C and R must be vectors"); 75 error ("toeplitz: C and R must be vectors");
76 elseif (r(1) != c(1)) 76 elseif (r(1) != c(1))
77 warning ("toeplitz: column wins anti-diagonal conflict"); 77 warning ("toeplitz: column wins diagonal conflict");
78 endif 78 endif
79 79
80 nr = length (c); 80 nr = length (c);
81 nc = length (r); 81 nc = length (r);
82 endif 82 endif