Mercurial > octave-nkf
diff src/OPERATORS/op-double-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 |
line wrap: on
line diff
--- a/src/OPERATORS/op-double-conv.cc Fri Sep 24 03:50:58 2004 +0000 +++ b/src/OPERATORS/op-double-conv.cc Fri Sep 24 03:57:04 2004 +0000 @@ -41,8 +41,10 @@ #include "ov-uint64.h" #include "ov-bool.h" #include "ov-bool-mat.h" +#include "ov-range.h" #include "ov-scalar.h" #include "ov-re-mat.h" +#include "ov-str-mat.h" #include "ov-typeinfo.h" #include "ops.h" @@ -71,6 +73,10 @@ DEFDBLCONVFN (bool_matrix_to_double_matrix, bool_matrix, bool_array) DEFDBLCONVFN (bool_scalar_to_double_matrix, bool, bool_array) +DEFDBLCONVFN (range_to_double_matrix, range, array) + +DEFSTRDBLCONVFN(char_matrix_str_to_double_matrix) + DEFDBLCONVFN (double_scalar_to_double_matrix, scalar, array) void @@ -99,6 +105,10 @@ INSTALL_CONVOP (octave_bool_matrix, octave_matrix, bool_matrix_to_double_matrix); INSTALL_CONVOP (octave_bool, octave_matrix, bool_scalar_to_double_matrix); + INSTALL_CONVOP (octave_range, octave_matrix, range_to_double_matrix); + + INSTALL_CONVOP (octave_char_matrix_str, octave_matrix, char_matrix_str_to_double_matrix); + INSTALL_CONVOP (octave_scalar, octave_matrix, double_scalar_to_double_matrix); }