comparison src/ov-bool-mat.h @ 5164:57077d0ddc8e

[project @ 2005-02-25 19:55:24 by jwe]
author jwe
date Fri, 25 Feb 2005 19:55:28 +0000
parents e35b034d3523
children bd32f770c09a
comparison
equal deleted inserted replaced
5163:9f3299378193 5164:57077d0ddc8e
106 { return matrix.matrix_value (); } 106 { return matrix.matrix_value (); }
107 107
108 boolNDArray bool_array_value (void) const 108 boolNDArray bool_array_value (void) const
109 { return matrix; } 109 { return matrix; }
110 110
111 SparseMatrix sparse_matrix_value (bool = false) const
112 { return SparseMatrix (Matrix (matrix.matrix_value ())); }
113
114 SparseComplexMatrix sparse_complex_matrix_value (bool = false) const
115 { return SparseComplexMatrix (ComplexMatrix (matrix.matrix_value ())); }
116
117 SparseBoolMatrix sparse_bool_matrix_value (bool = false) const
118 { return SparseBoolMatrix (matrix.matrix_value ()); }
119
111 octave_value convert_to_str_internal (bool pad, bool force) const; 120 octave_value convert_to_str_internal (bool pad, bool force) const;
112 121
113 void print_raw (std::ostream& os, bool pr_as_read_syntax = false) const; 122 void print_raw (std::ostream& os, bool pr_as_read_syntax = false) const;
114 123
115 bool save_ascii (std::ostream& os, bool& infnan_warned, 124 bool save_ascii (std::ostream& os, bool& infnan_warned,