Mercurial > octave
annotate liboctave/array/MatrixType.h @ 31204:a81fad5c9fef
idx_vector: Fix wrong length calculation (bug #62968).
* liboctave/array/idx-vector.cc: Fix wrong calculation for m_len in
(start, limit, step) constructor to account for incomplete intervals.
* liboctave/array/idx-vector.h: Add comment to (start, limit, step) constructor.
author | Maged Rifaat <magedrifaat@gmail.com> |
---|---|
date | Sat, 27 Aug 2022 13:41:44 +0200 |
parents | 796f54d4ddbf |
children | 597f3ee61a48 |
rev | line source |
---|---|
27923
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
1 //////////////////////////////////////////////////////////////////////// |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
2 // |
30564
796f54d4ddbf
update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents:
30508
diff
changeset
|
3 // Copyright (C) 2006-2022 The Octave Project Developers |
27923
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
4 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
5 // See the file COPYRIGHT.md in the top-level directory of this |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
6 // distribution or <https://octave.org/copyright/>. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
7 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
8 // This file is part of Octave. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
9 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
10 // Octave is free software: you can redistribute it and/or modify it |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
11 // under the terms of the GNU General Public License as published by |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
12 // the Free Software Foundation, either version 3 of the License, or |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
13 // (at your option) any later version. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
14 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
15 // Octave is distributed in the hope that it will be useful, but |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
16 // WITHOUT ANY WARRANTY; without even the implied warranty of |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
18 // GNU General Public License for more details. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
19 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
20 // You should have received a copy of the GNU General Public License |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
21 // along with Octave; see the file COPYING. If not, see |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
22 // <https://www.gnu.org/licenses/>. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
23 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
24 //////////////////////////////////////////////////////////////////////// |
5785 | 25 |
20791
f7084eae3318
maint: Use Octave coding conventions for #if statements.
Rik <rik@octave.org>
parents:
19864
diff
changeset
|
26 #if ! defined (octave_MatrixType_h) |
21213
f7d1050b9b53
maint: Clean up various usages of #ifdef.
Rik <rik@octave.org>
parents:
20791
diff
changeset
|
27 #define octave_MatrixType_h 1 |
5785 | 28 |
21244
1473547f50f5
include octave-config.h in public header files
John W. Eaton <jwe@octave.org>
parents:
21213
diff
changeset
|
29 #include "octave-config.h" |
1473547f50f5
include octave-config.h in public header files
John W. Eaton <jwe@octave.org>
parents:
21213
diff
changeset
|
30 |
30508
6f07492c9c20
Provide header file with forward declarations of matrix types (bug #59820).
Markus Mützel <markus.muetzel@gmx.de>
parents:
30394
diff
changeset
|
31 #include "mx-fwd.h" |
22246
fa917f1f0faf
MatrixType: remove duplicate code for SparseMatrix and ComplexSparseMatrix.
Carnë Draug <carandraug@octave.org>
parents:
21244
diff
changeset
|
32 |
30508
6f07492c9c20
Provide header file with forward declarations of matrix types (bug #59820).
Markus Mützel <markus.muetzel@gmx.de>
parents:
30394
diff
changeset
|
33 #include "MSparse.h" |
5785 | 34 |
35 class | |
36 MatrixType | |
37 { | |
38 public: | |
17769
49a5a4be04a1
maint: Use GNU style coding conventions for code in liboctave/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
39 enum matrix_type |
49a5a4be04a1
maint: Use GNU style coding conventions for code in liboctave/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
40 { |
5785 | 41 Unknown = 0, |
42 Full, | |
43 Diagonal, | |
44 Permuted_Diagonal, | |
45 Upper, | |
46 Lower, | |
47 Permuted_Upper, | |
48 Permuted_Lower, | |
49 Banded, | |
50 Hermitian, | |
51 Banded_Hermitian, | |
52 Tridiagonal, | |
53 Tridiagonal_Hermitian, | |
54 Rectangular | |
55 }; | |
56 | |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
57 OCTAVE_API MatrixType (void); |
6376 | 58 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
59 OCTAVE_API MatrixType (const MatrixType& a); |
5785 | 60 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
61 OCTAVE_API MatrixType (const Matrix& a); |
5785 | 62 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
63 OCTAVE_API MatrixType (const ComplexMatrix& a); |
5785 | 64 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
65 OCTAVE_API MatrixType (const FloatMatrix& a); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
66 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
67 OCTAVE_API MatrixType (const FloatComplexMatrix& a); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
68 |
22246
fa917f1f0faf
MatrixType: remove duplicate code for SparseMatrix and ComplexSparseMatrix.
Carnë Draug <carandraug@octave.org>
parents:
21244
diff
changeset
|
69 template <typename T> |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
70 OCTAVE_API |
30394
f3f3e3793fb5
maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents:
30085
diff
changeset
|
71 MatrixType (const MSparse<T>& a); |
5785 | 72 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
73 OCTAVE_API MatrixType (const matrix_type t, bool _full = false); |
5785 | 74 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
75 OCTAVE_API MatrixType (const matrix_type t, const octave_idx_type np, |
30394
f3f3e3793fb5
maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents:
30085
diff
changeset
|
76 const octave_idx_type *p, bool _full = false); |
5785 | 77 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
78 OCTAVE_API MatrixType (const matrix_type t, const octave_idx_type ku, |
30394
f3f3e3793fb5
maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents:
30085
diff
changeset
|
79 const octave_idx_type kl, bool _full = false); |
5785 | 80 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
81 OCTAVE_API ~MatrixType (void); |
5785 | 82 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
83 OCTAVE_API MatrixType& operator = (const MatrixType& a); |
5785 | 84 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
85 OCTAVE_API int type (bool quiet = true); |
5785 | 86 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
87 OCTAVE_API int type (const Matrix& a); |
5785 | 88 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
89 OCTAVE_API int type (const ComplexMatrix& a); |
5785 | 90 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
91 OCTAVE_API int type (const FloatMatrix& a); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
92 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
93 OCTAVE_API int type (const FloatComplexMatrix& a); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
94 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
95 OCTAVE_API int type (const SparseMatrix& a); |
5785 | 96 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
97 OCTAVE_API int type (const SparseComplexMatrix& a); |
5785 | 98 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
99 double band_density (void) const { return m_bandden; } |
5785 | 100 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
101 int nupper (void) const { return m_upper_band; } |
5785 | 102 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
103 int nlower (void) const { return m_lower_band; } |
5785 | 104 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
105 bool is_dense (void) const { return m_dense; } |
5785 | 106 |
23597
0f4d3b06464c
MatrixType.h: Deprecate is_diagonal, is_upper_triangular, is_lower_triangular, is_banded.
Rik <rik@octave.org>
parents:
23595
diff
changeset
|
107 bool isdiag (void) const |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
108 { return (m_type == Diagonal || m_type == Permuted_Diagonal); } |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
109 |
23597
0f4d3b06464c
MatrixType.h: Deprecate is_diagonal, is_upper_triangular, is_lower_triangular, is_banded.
Rik <rik@octave.org>
parents:
23595
diff
changeset
|
110 bool istriu (void) const |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
111 { return (m_type == Upper || m_type == Permuted_Upper); } |
5785 | 112 |
23597
0f4d3b06464c
MatrixType.h: Deprecate is_diagonal, is_upper_triangular, is_lower_triangular, is_banded.
Rik <rik@octave.org>
parents:
23595
diff
changeset
|
113 bool istril (void) const |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
114 { return (m_type == Lower || m_type == Permuted_Lower); } |
5785 | 115 |
23597
0f4d3b06464c
MatrixType.h: Deprecate is_diagonal, is_upper_triangular, is_lower_triangular, is_banded.
Rik <rik@octave.org>
parents:
23595
diff
changeset
|
116 bool isbanded (void) const |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
117 { return (m_type == Banded || m_type == Banded_Hermitian); } |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
118 |
5785 | 119 bool is_tridiagonal (void) const |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
120 { return (m_type == Tridiagonal || m_type == Tridiagonal_Hermitian); } |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
121 |
23594
af5b813503cb
maint: Deprecate is_hermitian and replace with ishermitian.
Rik <rik@octave.org>
parents:
23433
diff
changeset
|
122 bool ishermitian (void) const |
17769
49a5a4be04a1
maint: Use GNU style coding conventions for code in liboctave/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
123 { |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
124 return (m_type == Banded_Hermitian || m_type == Tridiagonal_Hermitian |
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
125 || m_type == Hermitian); |
17769
49a5a4be04a1
maint: Use GNU style coding conventions for code in liboctave/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
126 } |
5785 | 127 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
128 bool is_rectangular (void) const { return (m_type == Rectangular); } |
5785 | 129 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
130 bool is_known (void) const { return (m_type != Unknown); } |
5785 | 131 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
132 bool is_unknown (void) const { return (m_type == Unknown); } |
5785 | 133 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
134 OCTAVE_API void info (void) const; |
5785 | 135 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
136 octave_idx_type * triangular_perm (void) const { return m_perm; } |
5785 | 137 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
138 void invalidate_type (void) { m_type = Unknown; } |
5785 | 139 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
140 void mark_as_diagonal (void) { m_type = Diagonal; } |
5785 | 141 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
142 void mark_as_permuted_diagonal (void) { m_type = Permuted_Diagonal; } |
5785 | 143 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
144 void mark_as_upper_triangular (void) { m_type = Upper; } |
5785 | 145 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
146 void mark_as_lower_triangular (void) { m_type = Lower; } |
5785 | 147 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
148 void mark_as_tridiagonal (void) {m_type = Tridiagonal; } |
5785 | 149 |
150 void mark_as_banded (const octave_idx_type ku, const octave_idx_type kl) | |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
151 { m_type = Banded; m_upper_band = ku; m_lower_band = kl; } |
5785 | 152 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
153 void mark_as_full (void) { m_type = Full; } |
5785 | 154 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
155 void mark_as_rectangular (void) { m_type = Rectangular; } |
5785 | 156 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
157 void mark_as_dense (void) { m_dense = true; } |
5785 | 158 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
159 void mark_as_not_dense (void) { m_dense = false; } |
5785 | 160 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
161 OCTAVE_API void mark_as_symmetric (void); |
5785 | 162 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
163 OCTAVE_API void mark_as_unsymmetric (void); |
5785 | 164 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
165 OCTAVE_API void mark_as_permuted (const octave_idx_type np, const octave_idx_type *p); |
5785 | 166 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
167 OCTAVE_API void mark_as_unpermuted (void); |
5785 | 168 |
29227
a009cb8ef68f
Set API tags in files in liboctave/array (patch #8919).
Markus Mützel <markus.muetzel@gmx.de>
parents:
27923
diff
changeset
|
169 OCTAVE_API MatrixType transpose (void) const; |
5785 | 170 |
171 private: | |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
172 void type (int new_typ) { m_type = static_cast<matrix_type> (new_typ); } |
5785 | 173 |
30085
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
174 matrix_type m_type; |
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
175 double m_sp_bandden; |
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
176 double m_bandden; |
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
177 octave_idx_type m_upper_band; |
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
178 octave_idx_type m_lower_band; |
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
179 bool m_dense; |
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
180 bool m_full; |
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
181 octave_idx_type m_nperm; |
46001ac1b6b1
maint: use "m_" prefix for member variables in class MatrixType.
Rik <rik@octave.org>
parents:
29359
diff
changeset
|
182 octave_idx_type *m_perm; |
5785 | 183 }; |
184 | |
185 #endif |