Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Ada > Re: Symmetric m...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 13 Topic 5658 of 5831
Post > Topic >>

Re: Symmetric matrices only!

by smsomething@[EMAIL PROTECTED] Apr 17, 2008 at 06:34 PM

On Apr 18, 1:16=A0am, amado.al...@[EMAIL PROTECTED]
 wrote:
> The eigenvector solvers in Ada.Numerics.Generic_Real_Arrays require
> *symmetric* matrices! This is extremely silly. The world is full of
> nonsymmetric matrices. I've got a bunch of them to solve. Some very
> large, e.g. 1000x1000. Suggestions welcome. Thanks a lot.

Providing sup****t for solving eigenvectors for general matrices
without restrictions would be a very complicated task, and I can
understand why the language designers provided the limited sup****t
they have. Ada provides a rather basic set of solvers, useable in
straight-forward problems. This is not particularly silly at all -
it's a pragmatic approach to what is a very difficult general problem.
Having said that, I do use the Ada built-in solvers, and they're very
useful where I can't be bothered getting access to specialised
routines, or where there is no necessity to do so. When I need
something better, I use a routine that has been proven to work in the
specialised situation I am dealing with.

If you (potentially) need to find the eigenvalues of non-symmetric
matrices of 1000x1000, then your need is highly specialised, and you
need to seek out the highly-specialised solutions that have been
developed, and that are widely available. Some will be in C/C++, but
more likely they are in FORTRAN, but the interfacing issues with Ada
are (usually) not complicated.

You could start with GSL (www.gnu.org/software/gsl), which has a
variety of eigensystem solvers, including a set for real asymmetric
matrices. Also look at NETLIB (www.netlib.org). Once you've been
through these, you'll have a better idea what kind of problem you are
up against, and whether you need to seek straight-forward or
specialised routines.

Unfortunately, you havn't specified whether your asymmetric matrices
are real or complex, or whether the matrix itself has any other
construction properties, or whether it is sparse. Answers to these
questions could drastically alter the advice you would be given.

Overall, the answer to your problem for calculating (or, better,
"estimating") eigenvalues is out there somewhere, and the various
solutions can (in general) be accessed from Ada.

Good luck
SM
 




 13 Posts in Topic:
Symmetric matrices only!
amado.alves@[EMAIL PROTEC  2008-04-17 06:16:49 
Re: Symmetric matrices only!
Adam Beneschan <adam@[  2008-04-17 08:25:26 
Re: Symmetric matrices only!
"Dmitry A. Kazakov&q  2008-04-17 18:55:45 
Re: Symmetric matrices only!
smsomething@[EMAIL PROTEC  2008-04-17 18:34:35 
Re: Symmetric matrices only!
Gautier <gautier@[EMAI  2008-04-18 06:30:34 
Re: Symmetric matrices only!
Ken Thomas <kst@[EMAIL  2008-04-18 02:40:03 
Re: Symmetric matrices only!
amado.alves@[EMAIL PROTEC  2008-04-18 08:19:25 
Re: Symmetric matrices only!
amado.alves@[EMAIL PROTEC  2008-04-18 08:55:02 
Re: Symmetric matrices only!
amado.alves@[EMAIL PROTEC  2008-04-18 09:27:16 
Re: Symmetric matrices only!
Jerry <lanceboyle@[EMA  2008-04-18 15:30:04 
Re: Symmetric matrices only!
Jerry <lanceboyle@[EMA  2008-04-18 15:32:09 
Re: Symmetric matrices only!
Jerry <lanceboyle@[EMA  2008-04-18 15:40:34 
Re: Symmetric matrices only!
amado.alves@[EMAIL PROTEC  2008-04-21 06:21:21 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:09:29 CDT 2008.