comparison 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
comparison
equal deleted inserted replaced
7788:45f5faba05a2 7789:82be108cc558
27 27
28 #include "gripes.h" 28 #include "gripes.h"
29 #include "oct-obj.h" 29 #include "oct-obj.h"
30 #include "ov.h" 30 #include "ov.h"
31 #include "ov-re-mat.h" 31 #include "ov-re-mat.h"
32 #include "ov-flt-re-mat.h"
32 #include "ov-scalar.h" 33 #include "ov-scalar.h"
33 #include "ov-typeinfo.h" 34 #include "ov-typeinfo.h"
34 #include "ops.h" 35 #include "ops.h"
35 #include "xdiv.h" 36 #include "xdiv.h"
36 #include "xpow.h" 37 #include "xpow.h"
103 DEFNDBINOP_FN (el_or, matrix, scalar, array, scalar, mx_el_or) 104 DEFNDBINOP_FN (el_or, matrix, scalar, array, scalar, mx_el_or)
104 105
105 DEFNDCATOP_FN (m_s, matrix, scalar, array, array, concat) 106 DEFNDCATOP_FN (m_s, matrix, scalar, array, array, concat)
106 107
107 DEFNDASSIGNOP_FN (assign, matrix, scalar, array, assign) 108 DEFNDASSIGNOP_FN (assign, matrix, scalar, array, assign)
109 DEFNDASSIGNOP_FN (sgl_assign, float_matrix, scalar, float_array, assign)
108 110
109 void 111 void
110 install_m_s_ops (void) 112 install_m_s_ops (void)
111 { 113 {
112 INSTALL_BINOP (op_add, octave_matrix, octave_scalar, add); 114 INSTALL_BINOP (op_add, octave_matrix, octave_scalar, add);
135 INSTALL_BINOP (op_el_or, octave_matrix, octave_scalar, el_or); 137 INSTALL_BINOP (op_el_or, octave_matrix, octave_scalar, el_or);
136 138
137 INSTALL_CATOP (octave_matrix, octave_scalar, m_s); 139 INSTALL_CATOP (octave_matrix, octave_scalar, m_s);
138 140
139 INSTALL_ASSIGNOP (op_asn_eq, octave_matrix, octave_scalar, assign); 141 INSTALL_ASSIGNOP (op_asn_eq, octave_matrix, octave_scalar, assign);
142 INSTALL_ASSIGNOP (op_asn_eq, octave_float_matrix, octave_scalar, sgl_assign);
140 } 143 }
141 144
142 /* 145 /*
143 ;;; Local Variables: *** 146 ;;; Local Variables: ***
144 ;;; mode: C++ *** 147 ;;; mode: C++ ***