From: Ada novice on
I've tried earlier to delete the irrelevant parts but it seems I can't
do this once the message is posted. Anyhow, I've used
gnatchop [-r] -w *.ada and I got like 19 warnings in the Ad 83 matrix
package. And the file test_generic_complex_eigenvalues.ada compiles
with lots of errors. So I've abandoned playing with it.

Thanks
YC
From: Ada novice on
I've tried earlier to delete the irrelevant parts but it seems I can't
do this once the message is posted. Anyhow, I've used
gnatchop [-r] -w *.ada and I got like 19 warnings in the Ada 83
matrix
package. And the file test_generic_complex_eigenvalues.ada compiles
with lots of errors. So I've abandoned playing with it.

Thanks
YC
From: Simon Wright on
jonathan <johnscpg(a)googlemail.com> writes:

> On Jul 12, 9:13 pm, Simon Wright <si...(a)pushface.org> wrote:
>> jonathan <johns...(a)googlemail.com> writes:
>> > Finally! The test routine is user unfriendly.  (I hope you fix it up
>> > for the rest of us.) You have to enter numbers.
>>
>> Actually, there's a file test_generic_complex_eigenvalues.dat ...
>
> ... and you have to enter these somehow, without prompt or
> instruction.

To a Unix fanboi, this seems obvious :-)

> In my Linux BASH shell it seems to be straightforward:
>
> ./test_generic_complex_eigenvalues <
> test_generic_complex_eigenvalues.dat > output.txt
>
> I hope that's right. Now if I compare with the expected output,
>
> diff output.txt test_generic_complex_eigenvalues.out
>
> I find that all of the numbers in the 2 files are different. Anything
> to worry about? (I say no;-)

I found that not all of the numbers were different. Some of the
differences were very small. Sometimes vectors were given in the
opposite order (there's a note in the AI about that not being a
problem).

The internal checks did all pass, so presumably the differences are
tolerable. But IANAM so I don't know!
From: Ada novice on

>
> I found that not all of the numbers were different. Some of the
> differences were very small. Sometimes vectors were given in the
> opposite order (there's a note in the AI about that not being a
> problem).

The eigenvalues are not given in an ascending order. Different
software implementations use different ways to present the eigenvalues
and eigenvectors (normalizations for the latter).

YC
From: robin on
fitta wrote in message <445503bc-6b5c-4b60-b539-c51dcfa723bd(a)y11g2000yqm.googlegroups.com>...
>Thanks a lot. I could unzip it now. I have been using PeaZip to unzip
>the package and it wasn't working. I've tried with 7-zip and the
>decompression went fine. Thanks for letting me know---I had blind
>faith in PeaZip! So I see:
>Ada 95 Matrix Math Package
>Version 1.01
>First Release, August 1996
>Current Release, September 1996
>
>and
>
>also that a to-do for this package remains: implement eigenvectors/
>eigenvalues, singular value decomposition, and inverses for complex
>matrices.
>
>I haven't try the package yet but I'll hope it'll work for a real non-
>symmetric matrix.


If it doesn't, you could check out

http://members.dodo.com.au/~robin51/numeric.htm

which has several eigenvector algorithms in PL/I, including one for general matrixes.


First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8
Prev: Truncating a fixed-point value
Next: cmake and PLplot for Ada