[42S] Test for COMPLEX matrix
|
03-23-2015, 02:05 PM
Post: #1
|
|||
|
|||
[42S] Test for COMPLEX matrix
This must've come up before, I'm sure.
Take the sequence: Code: COMPLEX If - like me - you're writing code that must run for real input as well as for complex, you test your input. But REAL? sadly only tests for real numbers, not matrices. So my question, or challenge if you want, is: Write a routine that will deliver the complex conjugate of a complex matrix, and will leave a real matrix alone. You cannot EDIT or INDEX the matrix, and you can use only two stack levels. In: Complex matrix Out: Complex conjugate matrix In: real matrix Out: matrix untouched. Anyone? Cheers, Werner I can do it, but it's not pretty. I hope I'm missing something. 41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
[42S] Test for COMPLEX matrix - Werner - 03-23-2015 02:05 PM
RE: [42S] Test for COMPLEX matrix - Gerson W. Barbosa - 03-23-2015, 03:17 PM
RE: [42S] Test for COMPLEX matrix - Werner - 03-23-2015, 06:05 PM
RE: [42S] Test for COMPLEX matrix - J-F Garnier - 03-23-2015, 07:44 PM
RE: [42S] Test for COMPLEX matrix - Werner - 03-24-2015, 07:12 AM
RE: [42S] Test for COMPLEX matrix - Gjermund Skailand - 03-24-2015, 06:36 PM
RE: [42S] Test for COMPLEX matrix - Werner - 03-24-2015, 08:11 PM
RE: [42S] Test for COMPLEX matrix - Gjermund Skailand - 03-25-2015, 08:39 AM
RE: [42S] Test for COMPLEX matrix - Werner - 03-25-2015, 10:42 AM
RE: [42S] Test for COMPLEX matrix - Gerald H - 03-25-2015, 11:03 AM
RE: [42S] Test for COMPLEX matrix - Werner - 03-25-2015, 03:54 PM
RE: [42S] Test for COMPLEX matrix - Gjermund Skailand - 03-25-2015, 06:42 PM
RE: [42S] Test for COMPLEX matrix - Werner - 03-26-2015, 12:27 PM
|
User(s) browsing this thread: 1 Guest(s)