Mercurial > hg > octave-nkf
annotate scripts/miscellaneous/semicolon.m @ 17691:8a54a481ecb5
Massive speed improvement in sparse min/max functions for calls like
'max(s,[],2)' (bug #40268)
* dSparse.cc (SparseMatrix SparseMatrix::max (Array<octave_idx-type>&, int)) :
Remove triple loop by using a local buffer
(SparseMatrix SparseMatrix::min (Array<octave_idx-type>&, int)) : ditto
* CSparse.cc (SparseComplexMatrix SparseComplexMatrix::max (
Array<octave_idx-type>&, int)) : Remove triple loop by using a local buffer
(SparseComplexMatrix SparseComplexMatrix::min (Array<octave_idx-type>&,
int)) : ditto
author | David Bateman <dbateman@free.fr> |
---|---|
date | Fri, 18 Oct 2013 23:44:44 +0200 |
parents | f3d52523cde1 |
children | d63878346099 |
rev | line source |
---|---|
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
12794
diff
changeset
|
1 ## Copyright (C) 1995-2012 John W. Eaton |
2313 | 2 ## |
3 ## This file is part of Octave. | |
4 ## | |
5 ## Octave is free software; you can redistribute it and/or modify it | |
6 ## under the terms of the GNU General Public License as published by | |
7016 | 7 ## the Free Software Foundation; either version 3 of the License, or (at |
8 ## your option) any later version. | |
2313 | 9 ## |
10 ## Octave is distributed in the hope that it will be useful, but | |
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 ## General Public License for more details. | |
14 ## | |
15 ## You should have received a copy of the GNU General Public License | |
7016 | 16 ## along with Octave; see the file COPYING. If not, see |
17 ## <http://www.gnu.org/licenses/>. | |
1417 | 18 |
3449 | 19 ## -*- texinfo -*- |
11547 | 20 ## @deftypefn {Operator} {} ; |
2303 | 21 ## Array row or command separator. |
5642 | 22 ## @seealso{comma} |
11547 | 23 ## @end deftypefn |
12794
dd8a2a448788
codesprint: Add trivial assert(1) test to documentation-only .m files.
Rik <octave@nomad.inbox5.com>
parents:
11547
diff
changeset
|
24 |
14363
f3d52523cde1
Use Octave coding conventions in all m-file %!test blocks
Rik <octave@nomad.inbox5.com>
parents:
14138
diff
changeset
|
25 |
12794
dd8a2a448788
codesprint: Add trivial assert(1) test to documentation-only .m files.
Rik <octave@nomad.inbox5.com>
parents:
11547
diff
changeset
|
26 ## Mark file as being tested. No real test needed for a documentation .m file |
dd8a2a448788
codesprint: Add trivial assert(1) test to documentation-only .m files.
Rik <octave@nomad.inbox5.com>
parents:
11547
diff
changeset
|
27 %!assert (1) |
dd8a2a448788
codesprint: Add trivial assert(1) test to documentation-only .m files.
Rik <octave@nomad.inbox5.com>
parents:
11547
diff
changeset
|
28 |