Mercurial > octave-nkf
view CITATION @ 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 | a6d13c62fccf |
children | f5d9e57d4380 |
line wrap: on
line source
To cite GNU Octave in publications use: John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2014). GNU Octave version 3.8.1 manual: a high-level interactive language for numerical computations. CreateSpace Independent Publishing Platform. ISBN 1441413006, URL http://www.gnu.org/software/octave/doc/interpreter/ A BibTeX entry for LaTeX users is: @book{, author = {John W. Eaton, David Bateman, S\oren Hauberg, and Rik Wehbring}, title = {{GNU Octave} version 3.8.1 manual: a high-level interactive language for numerical computations}, publisher = {CreateSpace Independent Publishing Platform}, year = {2014}, note = {{ISBN} 1441413006}, url = {http://www.gnu.org/software/octave/doc/interpreter}, } We have invested a lot of time and effort in creating GNU Octave, please cite it when using it. See also `citation pkgname' for citing Octave packages.