Mercurial > hg > octave-max
changeset 785:efdb7d3eddd8
[project @ 1994-10-10 19:35:30 by jwe]
author | jwe |
---|---|
date | Mon, 10 Oct 1994 19:38:46 +0000 |
parents | 07b48e7ddd9b |
children | 4fcd2e68dd3b |
files | src/det.cc src/lu.cc src/minmax.cc src/schur.cc |
diffstat | 4 files changed, 11 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/src/det.cc +++ b/src/det.cc @@ -94,7 +94,7 @@ retval = d; } } - else if (arg.is_complex_matrix ()) + else if (arg.is_complex_type ()) { ComplexMatrix m = arg.complex_matrix_value ();
--- a/src/lu.cc +++ b/src/lu.cc @@ -96,7 +96,7 @@ } } } - else if (arg.is_complex_matrix ()) + else if (arg.is_complex_type ()) { ComplexMatrix m = arg.complex_matrix_value ();
--- a/src/minmax.cc +++ b/src/minmax.cc @@ -290,7 +290,7 @@ } } } - else if (arg1.is_complex_matrix () || arg2.is_complex_type ()) + else if (arg1.is_complex_type () || arg2.is_complex_type ()) { ComplexMatrix m1 = arg1.complex_matrix_value (); @@ -362,7 +362,7 @@ { retval(0) = arg1.complex_value (); } - else if (arg1.is_real_matrix ()) + else if (arg1.is_real_type ()) { Matrix m = arg1.matrix_value (); if (m.rows () == 1) @@ -370,7 +370,7 @@ else retval(0) = tree_constant (m.column_max (), 0); } - else if (arg1.is_complex_matrix ()) + else if (arg1.is_complex_type ()) { ComplexMatrix m = arg1.complex_matrix_value (); if (m.rows () == 1) @@ -396,7 +396,7 @@ retval(1) = 1; retval(0) = arg1.complex_value (); } - else if (arg1.is_real_matrix ()) + else if (arg1.is_real_type ()) { Matrix m = arg1.matrix_value (); if (m.rows () == 1) @@ -410,7 +410,7 @@ retval(0) = tree_constant (m.column_max (), 0); } } - else if (arg1.is_complex_matrix ()) + else if (arg1.is_complex_type ()) { ComplexMatrix m = arg1.complex_matrix_value (); if (m.rows () == 1) @@ -455,13 +455,13 @@ result = b_elem; retval(0) = result; } - else if (arg1.is_real_matrix ()) + else if (arg1.is_real_type ()) { Matrix result; result = max (arg1.matrix_value (), arg2.matrix_value ()); retval(0) = result; } - else if (arg1.is_complex_matrix ()) + else if (arg1.is_complex_type ()) { ComplexMatrix result; result = max (arg1.complex_matrix_value (),
--- a/src/schur.cc +++ b/src/schur.cc @@ -96,7 +96,7 @@ return retval; } - if (arg.is_real_matrix ()) + if (arg.is_real_type ()) { Matrix tmp = arg.matrix_value (); @@ -115,7 +115,7 @@ } } } - else if (arg.is_complex_matrix ()) + else if (arg.is_complex_type ()) { ComplexMatrix ctmp = arg.complex_matrix_value ();