From: Jean-Max Redonnet <jmax.redonnet@meca.insa-tlse.fr>
To: gsl-discuss@sourceware.cygnus.com
Subject: 3 points from a new user of gsl
Date: Wed, 19 Dec 2001 13:20:00 -0000 [thread overview]
Message-ID: <01061516251601.22198@lgmt-fab5.ups-tlse.fr> (raw)
Hi,
I'm a new user of gsl. I plan to use it for managing with vectors and
matrices and multidimensional root finding.
Here is my first impression on this library (be indulgent, i'm not a great
hacker, just a phD in mechanical engineering needing free tools to solve its
problems).
I'm using version 0.7 on Mandrake 8.0.
Install with rpm package is ok. Good job.
Just a small problem
$ /usr/bin/gsl-config --libs
returns
-L/usr/lib -lgsl -lm
This not include -lblas that might be useful sometines. Is it normal ?
Multidimensional root finding :
works fine especially with newton algorithm (as expected).
just a suggestion : It would be nice sometimes to be able to bound each
variable. I've not find an easy way to do this in current release. Although
this may help the algorithm to find the "right" solution. Is it possible ? Is
it reasonnable to imagine this will be possible in future releases?
Vectors and matrices
I've not found any function to get the norm of a vector, so I've writed my
own one, but I think this may be useful to include this feture in future
release. What about this suggestion?
Here is my code to do this - Need improvements (especially to manage
infinities)
double
vector_norm(gsl_vector *v, int n)
{
int i;
double tmp = 0;
for(i = 0; i < v->size; i++)
{
tmp += pow(gsl_vector_get (v, i), n);
}
return sqrt(tmp);
}
Hope this points are in scope of this mailing list.
Jean-Max Redonnet
next reply other threads:[~2001-12-19 13:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-19 13:20 Jean-Max Redonnet [this message]
2001-12-19 13:20 ` Philip Kendall
2001-12-19 13:20 ` Brian Gough
2001-12-19 13:20 ` Toby White
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=01061516251601.22198@lgmt-fab5.ups-tlse.fr \
--to=jmax.redonnet@meca.insa-tlse.fr \
--cc=gsl-discuss@sourceware.cygnus.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).