comparison src/OPERATORS/op-double-conv.cc @ 5164:57077d0ddc8e

[project @ 2005-02-25 19:55:24 by jwe]
author jwe
date Fri, 25 Feb 2005 19:55:28 +0000
parents 3361e0846469
children 4c8a2e4e0717
comparison
equal deleted inserted replaced
5163:9f3299378193 5164:57077d0ddc8e
18 along with Octave; see the file COPYING. If not, write to the Free 18 along with Octave; see the file COPYING. If not, write to the Free
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 20
21 */ 21 */
22 22
23 #if defined (__GNUG__) && defined (USE_PRAGMA_INTERFACE_IMPLEMENTATION)
24 #pragma implementation
25 #endif
26
27 #ifdef HAVE_CONFIG_H 23 #ifdef HAVE_CONFIG_H
28 #include <config.h> 24 #include <config.h>
29 #endif 25 #endif
30 26
31 #include "gripes.h" 27 #include "gripes.h"
39 #include "ov-uint16.h" 35 #include "ov-uint16.h"
40 #include "ov-uint32.h" 36 #include "ov-uint32.h"
41 #include "ov-uint64.h" 37 #include "ov-uint64.h"
42 #include "ov-bool.h" 38 #include "ov-bool.h"
43 #include "ov-bool-mat.h" 39 #include "ov-bool-mat.h"
40 #include "ov-re-sparse.h"
41 #include "ov-bool-sparse.h"
44 #include "ov-range.h" 42 #include "ov-range.h"
45 #include "ov-scalar.h" 43 #include "ov-scalar.h"
46 #include "ov-re-mat.h" 44 #include "ov-re-mat.h"
47 #include "ov-str-mat.h" 45 #include "ov-str-mat.h"
48 #include "ov-typeinfo.h" 46 #include "ov-typeinfo.h"
70 DEFDBLCONVFN (uint32_scalar_to_double_matrix, uint32_scalar, uint32_array) 68 DEFDBLCONVFN (uint32_scalar_to_double_matrix, uint32_scalar, uint32_array)
71 DEFDBLCONVFN (uint64_scalar_to_double_matrix, uint64_scalar, uint64_array) 69 DEFDBLCONVFN (uint64_scalar_to_double_matrix, uint64_scalar, uint64_array)
72 70
73 DEFDBLCONVFN (bool_matrix_to_double_matrix, bool_matrix, bool_array) 71 DEFDBLCONVFN (bool_matrix_to_double_matrix, bool_matrix, bool_array)
74 DEFDBLCONVFN (bool_scalar_to_double_matrix, bool, bool_array) 72 DEFDBLCONVFN (bool_scalar_to_double_matrix, bool, bool_array)
73
74 DEFDBLCONVFN (sparse_matrix_to_double_matrix, sparse_matrix, array)
75 DEFDBLCONVFN (sparse_bool_matrix_to_double_matrix, sparse_bool_matrix, array)
75 76
76 DEFDBLCONVFN (range_to_double_matrix, range, array) 77 DEFDBLCONVFN (range_to_double_matrix, range, array)
77 78
78 DEFSTRDBLCONVFN(char_matrix_str_to_double_matrix) 79 DEFSTRDBLCONVFN(char_matrix_str_to_double_matrix)
79 80
103 INSTALL_CONVOP (octave_uint64_scalar, octave_matrix, uint64_scalar_to_double_matrix); 104 INSTALL_CONVOP (octave_uint64_scalar, octave_matrix, uint64_scalar_to_double_matrix);
104 105
105 INSTALL_CONVOP (octave_bool_matrix, octave_matrix, bool_matrix_to_double_matrix); 106 INSTALL_CONVOP (octave_bool_matrix, octave_matrix, bool_matrix_to_double_matrix);
106 INSTALL_CONVOP (octave_bool, octave_matrix, bool_scalar_to_double_matrix); 107 INSTALL_CONVOP (octave_bool, octave_matrix, bool_scalar_to_double_matrix);
107 108
109 INSTALL_CONVOP (octave_sparse_matrix, octave_matrix, sparse_matrix_to_double_matrix);
110 INSTALL_CONVOP (octave_sparse_bool_matrix, octave_matrix, sparse_bool_matrix_to_double_matrix);
111
108 INSTALL_CONVOP (octave_range, octave_matrix, range_to_double_matrix); 112 INSTALL_CONVOP (octave_range, octave_matrix, range_to_double_matrix);
109 113
110 INSTALL_CONVOP (octave_char_matrix_str, octave_matrix, char_matrix_str_to_double_matrix); 114 INSTALL_CONVOP (octave_char_matrix_str, octave_matrix, char_matrix_str_to_double_matrix);
111 115
112 INSTALL_CONVOP (octave_scalar, octave_matrix, double_scalar_to_double_matrix); 116 INSTALL_CONVOP (octave_scalar, octave_matrix, double_scalar_to_double_matrix);