Mercurial > octave-nkf
diff src/OPERATORS/op-bm-b.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-bm-b.cc Wed May 14 18:09:56 2008 +0200 +++ b/src/OPERATORS/op-bm-b.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-str-mat.h" #include "ov-int8.h" #include "ov-int16.h" @@ -53,6 +55,8 @@ DEFNDCATOP_FN (bm_b, bool_matrix, bool, bool_array, bool_array, concat) DEFNDCATOP_FN (bm_s, bool_matrix, scalar, array, array, concat) DEFNDCATOP_FN (m_b, matrix, bool, array, array, concat) +DEFNDCATOP_FN (bm_f, bool_matrix, float_scalar, float_array, float_array, concat) +DEFNDCATOP_FN (fm_b, float_matrix, bool, float_array, float_array, concat) DEFNDASSIGNOP_FN (assign, bool_matrix, bool, bool_array, assign) @@ -83,6 +87,8 @@ INSTALL_CATOP (octave_bool_matrix, octave_bool, bm_b); INSTALL_CATOP (octave_bool_matrix, octave_scalar, bm_s); INSTALL_CATOP (octave_matrix, octave_bool, m_b); + INSTALL_CATOP (octave_bool_matrix, octave_float_scalar, bm_f); + INSTALL_CATOP (octave_float_matrix, octave_bool, fm_b); INSTALL_ASSIGNOP (op_asn_eq, octave_bool_matrix, octave_bool, assign);