comparison src/OPERATORS/op-m-m.cc @ 11586:12df7854fa7c

strip trailing whitespace from source files
author John W. Eaton <jwe@octave.org>
date Thu, 20 Jan 2011 17:24:59 -0500
parents fd0a3ac60b0e
children 72c96de7a403
comparison
equal deleted inserted replaced
11585:1473d0cf86d2 11586:12df7854fa7c
67 67
68 DEFBINOP (div, matrix, matrix) 68 DEFBINOP (div, matrix, matrix)
69 { 69 {
70 CAST_BINOP_ARGS (const octave_matrix&, const octave_matrix&); 70 CAST_BINOP_ARGS (const octave_matrix&, const octave_matrix&);
71 MatrixType typ = v2.matrix_type (); 71 MatrixType typ = v2.matrix_type ();
72 72
73 Matrix ret = xdiv (v1.matrix_value (), v2.matrix_value (), typ); 73 Matrix ret = xdiv (v1.matrix_value (), v2.matrix_value (), typ);
74 74
75 v2.matrix_type (typ); 75 v2.matrix_type (typ);
76 return ret; 76 return ret;
77 } 77 }
84 84
85 DEFBINOP (ldiv, matrix, matrix) 85 DEFBINOP (ldiv, matrix, matrix)
86 { 86 {
87 CAST_BINOP_ARGS (const octave_matrix&, const octave_matrix&); 87 CAST_BINOP_ARGS (const octave_matrix&, const octave_matrix&);
88 MatrixType typ = v1.matrix_type (); 88 MatrixType typ = v1.matrix_type ();
89 89
90 Matrix ret = xleftdiv (v1.matrix_value (), v2.matrix_value (), typ); 90 Matrix ret = xleftdiv (v1.matrix_value (), v2.matrix_value (), typ);
91 91
92 v1.matrix_type (typ); 92 v1.matrix_type (typ);
93 return ret; 93 return ret;
94 } 94 }
109 109
110 DEFBINOP (trans_ldiv, matrix, matrix) 110 DEFBINOP (trans_ldiv, matrix, matrix)
111 { 111 {
112 CAST_BINOP_ARGS (const octave_matrix&, const octave_matrix&); 112 CAST_BINOP_ARGS (const octave_matrix&, const octave_matrix&);
113 MatrixType typ = v1.matrix_type (); 113 MatrixType typ = v1.matrix_type ();
114 114
115 Matrix ret = xleftdiv (v1.matrix_value (), v2.matrix_value (), typ, blas_trans); 115 Matrix ret = xleftdiv (v1.matrix_value (), v2.matrix_value (), typ, blas_trans);
116 116
117 v1.matrix_type (typ); 117 v1.matrix_type (typ);
118 return ret; 118 return ret;
119 } 119 }