Mercurial > hg > octave-lyh
view src/OPERATORS/op-dm-m.cc @ 9198:3b9aacf07744
optimize accumarray with constant ranges
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Fri, 15 May 2009 07:07:40 +0200 |
parents | eb63fbe60fab |
children | d5570d4b1116 |
line wrap: on
line source
/* Copyright (C) 2008 Jaroslav Hajek This file is part of Octave. Octave is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. Octave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Octave; see the file COPYING. If not, see <http://www.gnu.org/licenses/>. */ #define LINCLUDE "ov-re-diag.h" #define RINCLUDE "ov-re-mat.h" #define LMATRIX diag_matrix #define RMATRIX matrix #define LSHORT dm #define RSHORT m #define DEFINELDIV #include "op-dm-template.cc"