From: "lauradiara\@libero\.it" <lauradiara@libero.it>
To: "gsl-discuss" <gsl-discuss@sources.redhat.com>
Subject: linear system
Date: Thu, 27 Nov 2003 09:14:00 -0000 [thread overview]
Message-ID: <HP06ZF$5207FA3DD03437B0C073A10B0927F7D2@libero.it> (raw)
Hi all,
I've implemented a function which solves linear system A x = b with the user input.
Reading the docs I have noticed that in gsl_linalg.h there are two very similar
methods which differ for the type of input parameters: gsl_linalg_LU_solve and
gsl_linalg_complex_LU_solve.
What are the differences? (I know that the second one works on complex numbers.)
Could I use only gsl_linalg_complex_LU_solve? If the user insert double numbers,
I insert the img part of complex number=0. Is it true?
What are the real usages of gsl_linalg_complex_LU_solve?
Other question: how can I solve linear system A x = b with indinite solutions?
For example: we suppose to have:
x+2y+3z=3
2x+3y+8z=4
3x+2y+17z=1
Thi system have infinite solutions:
x=-1-7t
y=2+2t
z=t t in R
Can i use gsl_linalg_LU_solve or gsl_linalg_complex_LU_solve to solve this kind
of linear system?
Cheers and thanks for your support
--Laura
next reply other threads:[~2003-11-27 9:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-27 9:14 lauradiara [this message]
2003-11-27 12:09 lauradiara
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='HP06ZF$5207FA3DD03437B0C073A10B0927F7D2@libero.it' \
--to=lauradiara@libero.it \
--cc=gsl-discuss@sources.redhat.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).