Mercurial > octave
comparison doc/refcard/refcard.tex @ 31285:d8d2b5661082
doc: Fix typo in refcard.tex
refcard.tex: Fix typo "ount" --> "count".
Update version number to indicate bugfix.
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Sun, 09 Oct 2022 16:35:20 -0400 |
parents | 3e4b9ecc031c |
children | 2008859463c3 |
comparison
equal
deleted
inserted
replaced
31284:5ec49cb45c50 | 31285:d8d2b5661082 |
---|---|
54 % Octave commands, but due to space constraints there are some things | 54 % Octave commands, but due to space constraints there are some things |
55 % I chose to omit. In general, not all synonyms for commands are | 55 % I chose to omit. In general, not all synonyms for commands are |
56 % covered, nor all variations of a command. | 56 % covered, nor all variations of a command. |
57 | 57 |
58 \def\octaveversion{8.0.0} | 58 \def\octaveversion{8.0.0} |
59 \def\refcardedition{3.1} | 59 \def\refcardedition{3.1.1} |
60 | 60 |
61 % ------------------ | 61 % ------------------ |
62 % multicolumn format | 62 % multicolumn format |
63 % ------------------ | 63 % ------------------ |
64 | 64 |
440 eye&create identity matrix\cr | 440 eye&create identity matrix\cr |
441 diag&create diagonal matrix\cr | 441 diag&create diagonal matrix\cr |
442 rand randi randn&create matrix of random values\cr | 442 rand randi randn&create matrix of random values\cr |
443 all&true if all elements nonzero\cr | 443 all&true if all elements nonzero\cr |
444 any&true if at least one element nonzero\cr | 444 any&true if at least one element nonzero\cr |
445 nnz &ount nonzero elements\cr | 445 nnz &count nonzero elements\cr |
446 sparse&create a sparse matrix\cr | 446 sparse&create a sparse matrix\cr |
447 \endsec | 447 \endsec |
448 | 448 |
449 \sec Multi-dimensional Arrays; | 449 \sec Multi-dimensional Arrays; |
450 cat&concatenate along a given dimension\cr | 450 cat&concatenate along a given dimension\cr |