Mercurial > octave
comparison src/OPERATORS/op-cm-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 |
---|---|
59 | 59 |
60 DEFBINOP (div, complex_matrix, matrix) | 60 DEFBINOP (div, complex_matrix, matrix) |
61 { | 61 { |
62 CAST_BINOP_ARGS (const octave_complex_matrix&, const octave_matrix&); | 62 CAST_BINOP_ARGS (const octave_complex_matrix&, const octave_matrix&); |
63 MatrixType typ = v2.matrix_type (); | 63 MatrixType typ = v2.matrix_type (); |
64 | 64 |
65 ComplexMatrix ret = xdiv (v1.complex_matrix_value (), | 65 ComplexMatrix ret = xdiv (v1.complex_matrix_value (), |
66 v2.matrix_value (), typ); | 66 v2.matrix_value (), typ); |
67 | 67 |
68 v2.matrix_type (typ); | 68 v2.matrix_type (typ); |
69 return ret; | 69 return ret; |
70 } | 70 } |
78 | 78 |
79 DEFBINOP (ldiv, complex_matrix, matrix) | 79 DEFBINOP (ldiv, complex_matrix, matrix) |
80 { | 80 { |
81 CAST_BINOP_ARGS (const octave_complex_matrix&, const octave_matrix&); | 81 CAST_BINOP_ARGS (const octave_complex_matrix&, const octave_matrix&); |
82 MatrixType typ = v1.matrix_type (); | 82 MatrixType typ = v1.matrix_type (); |
83 | 83 |
84 ComplexMatrix ret = xleftdiv (v1.complex_matrix_value (), | 84 ComplexMatrix ret = xleftdiv (v1.complex_matrix_value (), |
85 v2.matrix_value (), typ); | 85 v2.matrix_value (), typ); |
86 | 86 |
87 v1.matrix_type (typ); | 87 v1.matrix_type (typ); |
88 return ret; | 88 return ret; |
89 } | 89 } |