Mercurial > octave-nkf
diff src/OPERATORS/op-cs-scm.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 |
line wrap: on
line diff
--- a/src/OPERATORS/op-cs-scm.cc Thu Jan 20 17:21:27 2011 -0500 +++ b/src/OPERATORS/op-cs-scm.cc Thu Jan 20 17:24:59 2011 -0500 @@ -70,7 +70,7 @@ DEFBINOP (pow, complex, sparse_complex_matrix) { - CAST_BINOP_ARGS (const octave_complex&, + CAST_BINOP_ARGS (const octave_complex&, const octave_sparse_complex_matrix&); return xpow (v1.complex_value (), v2.complex_matrix_value ()); } @@ -121,7 +121,7 @@ { CAST_BINOP_ARGS (octave_complex&, const octave_sparse_complex_matrix&); SparseComplexMatrix tmp (1, 1, v1.complex_value ()); - return octave_value (tmp. concat (v2.sparse_complex_matrix_value (), + return octave_value (tmp. concat (v2.sparse_complex_matrix_value (), ra_idx)); } @@ -129,7 +129,7 @@ { CAST_CONV_ARG (const octave_complex&); - return new octave_sparse_complex_matrix + return new octave_sparse_complex_matrix (SparseComplexMatrix (v.complex_matrix_value ())); } @@ -141,7 +141,7 @@ INSTALL_BINOP (op_mul, octave_complex, octave_sparse_complex_matrix, mul); INSTALL_BINOP (op_div, octave_complex, octave_sparse_complex_matrix, div); INSTALL_BINOP (op_pow, octave_complex, octave_sparse_complex_matrix, pow); - INSTALL_BINOP (op_ldiv, octave_complex, octave_sparse_complex_matrix, + INSTALL_BINOP (op_ldiv, octave_complex, octave_sparse_complex_matrix, ldiv); INSTALL_BINOP (op_lt, octave_complex, octave_sparse_complex_matrix, lt); INSTALL_BINOP (op_le, octave_complex, octave_sparse_complex_matrix, le); @@ -149,24 +149,24 @@ INSTALL_BINOP (op_ge, octave_complex, octave_sparse_complex_matrix, ge); INSTALL_BINOP (op_gt, octave_complex, octave_sparse_complex_matrix, gt); INSTALL_BINOP (op_ne, octave_complex, octave_sparse_complex_matrix, ne); - INSTALL_BINOP (op_el_mul, octave_complex, octave_sparse_complex_matrix, + INSTALL_BINOP (op_el_mul, octave_complex, octave_sparse_complex_matrix, el_mul); - INSTALL_BINOP (op_el_div, octave_complex, octave_sparse_complex_matrix, + INSTALL_BINOP (op_el_div, octave_complex, octave_sparse_complex_matrix, el_div); - INSTALL_BINOP (op_el_pow, octave_complex, octave_sparse_complex_matrix, + INSTALL_BINOP (op_el_pow, octave_complex, octave_sparse_complex_matrix, el_pow); - INSTALL_BINOP (op_el_ldiv, octave_complex, octave_sparse_complex_matrix, + INSTALL_BINOP (op_el_ldiv, octave_complex, octave_sparse_complex_matrix, el_ldiv); - INSTALL_BINOP (op_el_and, octave_complex, octave_sparse_complex_matrix, + INSTALL_BINOP (op_el_and, octave_complex, octave_sparse_complex_matrix, el_and); - INSTALL_BINOP (op_el_or, octave_complex, octave_sparse_complex_matrix, + INSTALL_BINOP (op_el_or, octave_complex, octave_sparse_complex_matrix, el_or); INSTALL_CATOP (octave_complex, octave_sparse_complex_matrix, cs_scm); - INSTALL_ASSIGNCONV (octave_complex, octave_sparse_complex_matrix, + INSTALL_ASSIGNCONV (octave_complex, octave_sparse_complex_matrix, octave_complex_matrix); - INSTALL_WIDENOP (octave_complex, octave_sparse_complex_matrix, + INSTALL_WIDENOP (octave_complex, octave_sparse_complex_matrix, sparse_complex_matrix_conv); }