Mercurial > hg > octave-avbm
comparison src/ov.h @ 5785:6b9cec830d72
[project @ 2006-05-03 19:32:46 by dbateman]
author | dbateman |
---|---|
date | Wed, 03 May 2006 19:32:48 +0000 |
parents | faafc2d98b8d |
children | 22e23bee74c8 |
comparison
equal
deleted
inserted
replaced
5784:70f7659d0fb9 | 5785:6b9cec830d72 |
---|---|
38 #include "idx-vector.h" | 38 #include "idx-vector.h" |
39 #include "mx-base.h" | 39 #include "mx-base.h" |
40 #include "oct-alloc.h" | 40 #include "oct-alloc.h" |
41 #include "oct-time.h" | 41 #include "oct-time.h" |
42 #include "str-vec.h" | 42 #include "str-vec.h" |
43 #include "SparseType.h" | |
44 | 43 |
45 class Cell; | 44 class Cell; |
46 class streamoff_array; | 45 class streamoff_array; |
47 class Octave_map; | 46 class Octave_map; |
48 class octave_stream; | 47 class octave_stream; |
161 | 160 |
162 octave_value (octave_time t); | 161 octave_value (octave_time t); |
163 octave_value (double d); | 162 octave_value (double d); |
164 octave_value (const ArrayN<octave_value>& a, bool is_cs_list = false); | 163 octave_value (const ArrayN<octave_value>& a, bool is_cs_list = false); |
165 octave_value (const Cell& c, bool is_cs_list = false); | 164 octave_value (const Cell& c, bool is_cs_list = false); |
166 octave_value (const Matrix& m); | 165 octave_value (const Matrix& m, const MatrixType& t = MatrixType()); |
167 octave_value (const NDArray& nda); | 166 octave_value (const NDArray& nda); |
168 octave_value (const ArrayN<double>& m); | 167 octave_value (const ArrayN<double>& m); |
169 octave_value (const DiagMatrix& d); | 168 octave_value (const DiagMatrix& d); |
170 octave_value (const RowVector& v); | 169 octave_value (const RowVector& v); |
171 octave_value (const ColumnVector& v); | 170 octave_value (const ColumnVector& v); |
172 octave_value (const Complex& C); | 171 octave_value (const Complex& C); |
173 octave_value (const ComplexMatrix& m); | 172 octave_value (const ComplexMatrix& m, const MatrixType& t = MatrixType()); |
174 octave_value (const ComplexNDArray& cnda); | 173 octave_value (const ComplexNDArray& cnda); |
175 octave_value (const ArrayN<Complex>& m); | 174 octave_value (const ArrayN<Complex>& m); |
176 octave_value (const ComplexDiagMatrix& d); | 175 octave_value (const ComplexDiagMatrix& d); |
177 octave_value (const ComplexRowVector& v); | 176 octave_value (const ComplexRowVector& v); |
178 octave_value (const ComplexColumnVector& v); | 177 octave_value (const ComplexColumnVector& v); |
179 octave_value (bool b); | 178 octave_value (bool b); |
180 octave_value (const boolMatrix& bm); | 179 octave_value (const boolMatrix& bm, const MatrixType& t = MatrixType()); |
181 octave_value (const boolNDArray& bnda); | 180 octave_value (const boolNDArray& bnda); |
182 octave_value (char c, char type = '"'); | 181 octave_value (char c, char type = '"'); |
183 octave_value (const char *s, char type = '"'); | 182 octave_value (const char *s, char type = '"'); |
184 octave_value (const std::string& s, char type = '"'); | 183 octave_value (const std::string& s, char type = '"'); |
185 octave_value (const string_vector& s, char type = '"'); | 184 octave_value (const string_vector& s, char type = '"'); |
187 char type = '"'); | 186 char type = '"'); |
188 octave_value (const charNDArray& chnda, bool is_string = false, | 187 octave_value (const charNDArray& chnda, bool is_string = false, |
189 char type = '"'); | 188 char type = '"'); |
190 octave_value (const ArrayN<char>& chnda, bool is_string = false, | 189 octave_value (const ArrayN<char>& chnda, bool is_string = false, |
191 char type = '"'); | 190 char type = '"'); |
192 octave_value (const SparseMatrix& m, const SparseType& t = SparseType ()); | 191 octave_value (const SparseMatrix& m, const MatrixType& t = MatrixType ()); |
193 octave_value (const SparseComplexMatrix& m, | 192 octave_value (const SparseComplexMatrix& m, |
194 const SparseType& t = SparseType ()); | 193 const MatrixType& t = MatrixType ()); |
195 octave_value (const SparseBoolMatrix& bm, | 194 octave_value (const SparseBoolMatrix& bm, |
196 const SparseType& t = SparseType ()); | 195 const MatrixType& t = MatrixType ()); |
197 octave_value (const octave_int8& i); | 196 octave_value (const octave_int8& i); |
198 octave_value (const octave_int16& i); | 197 octave_value (const octave_int16& i); |
199 octave_value (const octave_int32& i); | 198 octave_value (const octave_int32& i); |
200 octave_value (const octave_int64& i); | 199 octave_value (const octave_int64& i); |
201 octave_value (const octave_uint8& i); | 200 octave_value (const octave_uint8& i); |
362 { return rep->permute (vec, true); } | 361 { return rep->permute (vec, true); } |
363 | 362 |
364 octave_value resize (const dim_vector& dv, bool fill = false) const | 363 octave_value resize (const dim_vector& dv, bool fill = false) const |
365 { return rep->resize (dv, fill);} | 364 { return rep->resize (dv, fill);} |
366 | 365 |
366 MatrixType matrix_type (void) const | |
367 { return rep->matrix_type (); } | |
368 | |
369 MatrixType matrix_type (const MatrixType& typ) const | |
370 { return rep->matrix_type (typ); } | |
371 | |
367 // Does this constant have a type? Both of these are provided since | 372 // Does this constant have a type? Both of these are provided since |
368 // it is sometimes more natural to write is_undefined() instead of | 373 // it is sometimes more natural to write is_undefined() instead of |
369 // ! is_defined(). | 374 // ! is_defined(). |
370 | 375 |
371 bool is_defined (void) const | 376 bool is_defined (void) const |