Mercurial > octave-nkf
view .hgsub @ 18816:5556ddfb841b
spdiags.m: Treat sub/super-diagonals the same as Matlab.
Distinguish between M >= N and M < N cases when placing diagonals.
* spdiags.m: Add test for M >= N or M < N. When M >= N, sub-diagonals
are taken from the first entries in a column while super-diagonals are
taken from the last entries in a column. This is reversed for M < N.
Add %!tests for new behavior. Add seealso link to diag() in docstring.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 25 May 2014 13:13:17 -0700 |
parents | 44f30dcd87e0 |
children |