Mercurial > jwe > octave
comparison libinterp/octave-value/ov-flt-re-mat.h @ 31143:b3ca7f891750
maint: use "m_" prefix for member variables in class octave_base_matrix.
* ov-base-int.cc, ov-base-mat.cc, ov-base-mat.h, ov-base.h, ov-bool-mat.cc,
ov-bool-mat.h, ov-cell.cc, ov-cell.h, ov-ch-mat.cc, ov-ch-mat.h, ov-cx-mat.cc,
ov-cx-mat.h, ov-flt-cx-mat.cc, ov-flt-cx-mat.h, ov-flt-re-mat.cc,
ov-flt-re-mat.h, ov-intx.h, ov-re-mat.cc, ov-re-mat.h, ov-str-mat.cc,
ov-str-mat.h:
use "m_" prefix for member variables in class octave_base_matrix.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 10 Jul 2022 18:26:24 -0700 |
parents | 796f54d4ddbf |
children |
comparison
equal
deleted
inserted
replaced
31142:6308ce73bdca | 31143:b3ca7f891750 |
---|---|
90 | 90 |
91 octave_base_value * try_narrowing_conversion (void); | 91 octave_base_value * try_narrowing_conversion (void); |
92 | 92 |
93 octave::idx_vector index_vector (bool /* require_integers */ = false) const | 93 octave::idx_vector index_vector (bool /* require_integers */ = false) const |
94 { | 94 { |
95 return idx_cache ? *idx_cache : set_idx_cache (octave::idx_vector (matrix)); | 95 return m_idx_cache ? *m_idx_cache |
96 : set_idx_cache (octave::idx_vector (m_matrix)); | |
96 } | 97 } |
97 | 98 |
98 builtin_type_t builtin_type (void) const { return btyp_float; } | 99 builtin_type_t builtin_type (void) const { return btyp_float; } |
99 | 100 |
100 bool is_real_matrix (void) const { return true; } | 101 bool is_real_matrix (void) const { return true; } |
104 bool is_single_type (void) const { return true; } | 105 bool is_single_type (void) const { return true; } |
105 | 106 |
106 bool isfloat (void) const { return true; } | 107 bool isfloat (void) const { return true; } |
107 | 108 |
108 int8NDArray | 109 int8NDArray |
109 int8_array_value (void) const { return int8NDArray (matrix); } | 110 int8_array_value (void) const { return int8NDArray (m_matrix); } |
110 | 111 |
111 int16NDArray | 112 int16NDArray |
112 int16_array_value (void) const { return int16NDArray (matrix); } | 113 int16_array_value (void) const { return int16NDArray (m_matrix); } |
113 | 114 |
114 int32NDArray | 115 int32NDArray |
115 int32_array_value (void) const { return int32NDArray (matrix); } | 116 int32_array_value (void) const { return int32NDArray (m_matrix); } |
116 | 117 |
117 int64NDArray | 118 int64NDArray |
118 int64_array_value (void) const { return int64NDArray (matrix); } | 119 int64_array_value (void) const { return int64NDArray (m_matrix); } |
119 | 120 |
120 uint8NDArray | 121 uint8NDArray |
121 uint8_array_value (void) const { return uint8NDArray (matrix); } | 122 uint8_array_value (void) const { return uint8NDArray (m_matrix); } |
122 | 123 |
123 uint16NDArray | 124 uint16NDArray |
124 uint16_array_value (void) const { return uint16NDArray (matrix); } | 125 uint16_array_value (void) const { return uint16NDArray (m_matrix); } |
125 | 126 |
126 uint32NDArray | 127 uint32NDArray |
127 uint32_array_value (void) const { return uint32NDArray (matrix); } | 128 uint32_array_value (void) const { return uint32NDArray (m_matrix); } |
128 | 129 |
129 uint64NDArray | 130 uint64NDArray |
130 uint64_array_value (void) const { return uint64NDArray (matrix); } | 131 uint64_array_value (void) const { return uint64NDArray (m_matrix); } |
131 | 132 |
132 double double_value (bool = false) const; | 133 double double_value (bool = false) const; |
133 | 134 |
134 float float_value (bool = false) const; | 135 float float_value (bool = false) const; |
135 | 136 |
159 | 160 |
160 charNDArray char_array_value (bool = false) const; | 161 charNDArray char_array_value (bool = false) const; |
161 | 162 |
162 NDArray array_value (bool = false) const; | 163 NDArray array_value (bool = false) const; |
163 | 164 |
164 FloatNDArray float_array_value (bool = false) const { return matrix; } | 165 FloatNDArray float_array_value (bool = false) const { return m_matrix; } |
165 | 166 |
166 SparseMatrix sparse_matrix_value (bool = false) const; | 167 SparseMatrix sparse_matrix_value (bool = false) const; |
167 | 168 |
168 SparseComplexMatrix sparse_complex_matrix_value (bool = false) const; | 169 SparseComplexMatrix sparse_complex_matrix_value (bool = false) const; |
169 | 170 |
209 bool load_hdf5 (octave_hdf5_id loc_id, const char *name); | 210 bool load_hdf5 (octave_hdf5_id loc_id, const char *name); |
210 | 211 |
211 int write (octave::stream& os, int block_size, | 212 int write (octave::stream& os, int block_size, |
212 oct_data_conv::data_type output_type, int skip, | 213 oct_data_conv::data_type output_type, int skip, |
213 octave::mach_info::float_format flt_fmt) const | 214 octave::mach_info::float_format flt_fmt) const |
214 { return os.write (matrix, block_size, output_type, skip, flt_fmt); } | 215 { return os.write (m_matrix, block_size, output_type, skip, flt_fmt); } |
215 | 216 |
216 mxArray * as_mxArray (bool interleaved) const; | 217 mxArray * as_mxArray (bool interleaved) const; |
217 | 218 |
218 octave_value map (unary_mapper_t umap) const; | 219 octave_value map (unary_mapper_t umap) const; |
219 | 220 |