Mercurial > octave
diff src/OPERATORS/op-b-bm.cc @ 7789:82be108cc558
First attempt at single precision tyeps
* * *
corrections to qrupdate single precision routines
* * *
prefer demotion to single over promotion to double
* * *
Add single precision support to log2 function
* * *
Trivial PROJECT file update
* * *
Cache optimized hermitian/transpose methods
* * *
Add tests for tranpose/hermitian and ChangeLog entry for new transpose code
author | David Bateman <dbateman@free.fr> |
---|---|
date | Sun, 27 Apr 2008 22:34:17 +0200 |
parents | a1dbe9d80eee |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/src/OPERATORS/op-b-bm.cc Wed May 14 18:09:56 2008 +0200 +++ b/src/OPERATORS/op-b-bm.cc Sun Apr 27 22:34:17 2008 +0200 @@ -30,7 +30,9 @@ #include "ov-bool.h" #include "ov-bool-mat.h" #include "ov-scalar.h" +#include "ov-float.h" #include "ov-re-mat.h" +#include "ov-flt-re-mat.h" #include "ov-typeinfo.h" #include "ops.h" #include "xdiv.h" @@ -45,6 +47,9 @@ DEFNDCATOP_FN (b_m, bool, matrix, array, array, concat) DEFNDCATOP_FN (s_bm, scalar, bool_matrix, array, array, concat) +DEFNDCATOP_FN (b_fm, bool, float_matrix, float_array, float_array, concat) +DEFNDCATOP_FN (f_bm, float_scalar, bool_matrix, float_array, float_array, concat) + DEFCONV (bool_matrix_conv, bool, bool_matrix) { CAST_CONV_ARG (const octave_bool&); @@ -61,6 +66,8 @@ INSTALL_CATOP (octave_bool, octave_bool_matrix, b_bm); INSTALL_CATOP (octave_bool, octave_matrix, b_m); INSTALL_CATOP (octave_scalar, octave_bool_matrix, s_bm); + INSTALL_CATOP (octave_bool, octave_float_matrix, b_fm); + INSTALL_CATOP (octave_float_scalar, octave_bool_matrix, f_bm); INSTALL_ASSIGNCONV (octave_bool, octave_bool_matrix, octave_bool_matrix);