Hi there,
It's always hard to debug with Octave, but this is just plain silly:
debug> disp(arg(ltest(1:10)))
Columns 1 through 3:
-1.8553496929550626 -1.9838606021755145 -1.4955671994810567
Columns 4 through 6:
-1.4888745153854199 2.1184513794028010 2.4945712220195189
Columns 7 through 9:
-0.0754857813862795 0.0360733730004250 -1.0827597910965596
Column 10:
-0.7724227004694977
debug> disp(arg(ltest(1:10)))
Columns 1 through 3:
-1.8553496929550626 -1.9838606021755145 -1.4955671994810567
Columns 4 through 6:
-1.4888745153854199 2.1184513794028010 2.4945712220195189
Columns 7 through 9:
-0.0754857813862795 0.0360733730004250 -1.0827597910965596
Column 10:
-0.7724227004694977
debug> disp(arg(ltmps(1:10)) == arg(ltest(1:10)))
0 0 1 1 1 0 0 0 1 0
I feel like being cheated on. Is there any explanation for such
contradictory results? Or is have I gone into some weird madness and
have unreasonable expectations?
Oh,
debug> disp(OCTAVE_VERSION)
2.1.71
built from FreeBSD ports, if that matters.
qvb