From: Oleg <oleg_inconnu@myrealbox.com>
To: caml-list@pauillac.inria.fr
Subject: Re: [Caml-list] inversion de matrice en caml
Date: Mon, 27 May 2002 13:43:05 -0400 [thread overview]
Message-ID: <E17COWP-0005gh-00@tw304h3.cpmc.columbia.edu> (raw)
In-Reply-To: <F226zDo2QltZ4jN5ufK00009abd@hotmail.com>
On Monday 27 May 2002 10:06 am, thomas Icart wrote:
> Je suis en math-spe .Pour mon tipe sur la geometrie des nombres ,j'aurai
> besoin d'un programme qui puisse m'inverser des matrices de taille au
> moins 15*15 dans un temps assez raisonnable.
> Je vous remercie d'avance.
> Thomas ICART.
>
Typically, responsible programmers will use LAPACK (
http://www.netlib.org/lapack/lug/lapack_lug.html ) for all their linear
algebra needs. LAPACK in turn uses BLAS (http://www.netlib.org/blas/).
If speed is important to you, and your hardware vendor does not supply
hardware-specific BLAS, consider a self-optimizing version of BLAS called
ATLAS ( http://math-atlas.sourceforge.net/ ). Up to 10x speed-ups are
possible with ATLAS compared to generic BLAS.
If you don't want to "roll your own" interface to LAPACK (as it is in
FORTRAN), consider LACAML (found at
http://www.ai.univie.ac.at/~markus/home/ocaml_sources.html ). I haven't tried
it yet.
BTW, in most cases matrix inversion is not required. To solve A*X=B (where X
is either a vector or a matrix) use xGESV subroutine (x = C,Z,S,D - denotes
complex, double complex, float, double respectively). If you insist on
finding the inverse, use xGETRI.
HTH
Oleg
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2002-05-27 17:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-27 14:06 thomas Icart
2002-05-27 17:01 ` Laurent Chéno
2002-05-27 17:43 ` Oleg [this message]
2002-05-27 21:36 ` Markus Mottl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E17COWP-0005gh-00@tw304h3.cpmc.columbia.edu \
--to=oleg_inconnu@myrealbox.com \
--cc=caml-list@pauillac.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox