Mercurial > octave-libgccjit
comparison src/OPERATORS/op-dm-m.cc @ 9499:d5570d4b1116
handle null matrix assignment for diagonal and permutation matrices
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 06 Aug 2009 13:42:17 -0400 |
parents | eb63fbe60fab |
children | fd0a3ac60b0e |
comparison
equal
deleted
inserted
replaced
9498:f7cc8f30f3b8 | 9499:d5570d4b1116 |
---|---|
1 /* | 1 /* |
2 | 2 |
3 Copyright (C) 2008 Jaroslav Hajek | 3 Copyright (C) 2008, 2009 Jaroslav Hajek |
4 | 4 |
5 This file is part of Octave. | 5 This file is part of Octave. |
6 | 6 |
7 Octave is free software; you can redistribute it and/or modify it | 7 Octave is free software; you can redistribute it and/or modify it |
8 under the terms of the GNU General Public License as published by the | 8 under the terms of the GNU General Public License as published by the |
22 | 22 |
23 #define LINCLUDE "ov-re-diag.h" | 23 #define LINCLUDE "ov-re-diag.h" |
24 #define RINCLUDE "ov-re-mat.h" | 24 #define RINCLUDE "ov-re-mat.h" |
25 | 25 |
26 #define LMATRIX diag_matrix | 26 #define LMATRIX diag_matrix |
27 #define LDMATRIX matrix | |
27 #define RMATRIX matrix | 28 #define RMATRIX matrix |
28 | 29 |
29 #define LSHORT dm | 30 #define LSHORT dm |
30 #define RSHORT m | 31 #define RSHORT m |
31 | 32 |
32 #define DEFINELDIV | 33 #define DEFINELDIV |
34 #define DEFINENULLASSIGNCONV | |
33 | 35 |
34 #include "op-dm-template.cc" | 36 #include "op-dm-template.cc" |
35 | 37 |