diff src/OPERATORS/op-m-s.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 280fae940bb0
line wrap: on
line diff
--- a/src/OPERATORS/op-m-s.cc	Wed May 14 18:09:56 2008 +0200
+++ b/src/OPERATORS/op-m-s.cc	Sun Apr 27 22:34:17 2008 +0200
@@ -29,6 +29,7 @@
 #include "oct-obj.h"
 #include "ov.h"
 #include "ov-re-mat.h"
+#include "ov-flt-re-mat.h"
 #include "ov-scalar.h"
 #include "ov-typeinfo.h"
 #include "ops.h"
@@ -105,6 +106,7 @@
 DEFNDCATOP_FN (m_s, matrix, scalar, array, array, concat)
 
 DEFNDASSIGNOP_FN (assign, matrix, scalar, array, assign)
+DEFNDASSIGNOP_FN (sgl_assign, float_matrix, scalar, float_array, assign)
 
 void
 install_m_s_ops (void)
@@ -137,6 +139,7 @@
   INSTALL_CATOP (octave_matrix, octave_scalar, m_s);
 
   INSTALL_ASSIGNOP (op_asn_eq, octave_matrix, octave_scalar, assign);
+  INSTALL_ASSIGNOP (op_asn_eq, octave_float_matrix, octave_scalar, sgl_assign);
 }
 
 /*