Mercurial > octave-nkf
comparison src/OPERATORS/op-int-conv.cc @ 5032:3361e0846469
[project @ 2004-09-24 03:56:41 by jwe]
author | jwe |
---|---|
date | Fri, 24 Sep 2004 03:57:04 +0000 |
parents | d894b803ccb5 |
children | 57077d0ddc8e |
comparison
equal
deleted
inserted
replaced
5031:5d1e2102d447 | 5032:3361e0846469 |
---|---|
42 #include "ov-range.h" | 42 #include "ov-range.h" |
43 #include "ov-bool.h" | 43 #include "ov-bool.h" |
44 #include "ov-bool-mat.h" | 44 #include "ov-bool-mat.h" |
45 #include "ov-scalar.h" | 45 #include "ov-scalar.h" |
46 #include "ov-re-mat.h" | 46 #include "ov-re-mat.h" |
47 #include "ov-str-mat.h" | |
47 #include "ov-typeinfo.h" | 48 #include "ov-typeinfo.h" |
48 #include "ops.h" | 49 #include "ops.h" |
49 | 50 |
50 // conversion ops | 51 // conversion ops |
51 | 52 |
86 | 87 |
87 DEFCONVFN (bool_matrix_to_uint8, bool_matrix, uint8) | 88 DEFCONVFN (bool_matrix_to_uint8, bool_matrix, uint8) |
88 DEFCONVFN (bool_matrix_to_uint16, bool_matrix, uint16) | 89 DEFCONVFN (bool_matrix_to_uint16, bool_matrix, uint16) |
89 DEFCONVFN (bool_matrix_to_uint32, bool_matrix, uint32) | 90 DEFCONVFN (bool_matrix_to_uint32, bool_matrix, uint32) |
90 DEFCONVFN (bool_matrix_to_uint64, bool_matrix, uint64) | 91 DEFCONVFN (bool_matrix_to_uint64, bool_matrix, uint64) |
92 | |
93 DEFSTRINTCONVFN (char_matrix_str_to_int8, int8) | |
94 DEFSTRINTCONVFN (char_matrix_str_to_int16, int16) | |
95 DEFSTRINTCONVFN (char_matrix_str_to_int32, int32) | |
96 DEFSTRINTCONVFN (char_matrix_str_to_int64, int64) | |
97 | |
98 DEFSTRINTCONVFN (char_matrix_str_to_uint8, uint8) | |
99 DEFSTRINTCONVFN (char_matrix_str_to_uint16, uint16) | |
100 DEFSTRINTCONVFN (char_matrix_str_to_uint32, uint32) | |
101 DEFSTRINTCONVFN (char_matrix_str_to_uint64, uint64) | |
91 | 102 |
92 DEFCONVFN (range_to_int8, range, int8) | 103 DEFCONVFN (range_to_int8, range, int8) |
93 DEFCONVFN (range_to_int16, range, int16) | 104 DEFCONVFN (range_to_int16, range, int16) |
94 DEFCONVFN (range_to_int32, range, int32) | 105 DEFCONVFN (range_to_int32, range, int32) |
95 DEFCONVFN (range_to_int64, range, int64) | 106 DEFCONVFN (range_to_int64, range, int64) |
168 INSTALL_CONVOPS (scalar) | 179 INSTALL_CONVOPS (scalar) |
169 INSTALL_CONVOPS (matrix) | 180 INSTALL_CONVOPS (matrix) |
170 INSTALL_CONVOPS (bool) | 181 INSTALL_CONVOPS (bool) |
171 INSTALL_CONVOPS (bool_matrix) | 182 INSTALL_CONVOPS (bool_matrix) |
172 INSTALL_CONVOPS (range) | 183 INSTALL_CONVOPS (range) |
184 INSTALL_CONVOPS (char_matrix_str) | |
173 | 185 |
174 INSTALL_INT_CONV_FUNCTIONS (int8) | 186 INSTALL_INT_CONV_FUNCTIONS (int8) |
175 INSTALL_INT_CONV_FUNCTIONS (int16) | 187 INSTALL_INT_CONV_FUNCTIONS (int16) |
176 INSTALL_INT_CONV_FUNCTIONS (int32) | 188 INSTALL_INT_CONV_FUNCTIONS (int32) |
177 INSTALL_INT_CONV_FUNCTIONS (int64) | 189 INSTALL_INT_CONV_FUNCTIONS (int64) |