public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* linear system
@ 2003-11-27 12:09 lauradiara
  0 siblings, 0 replies; 2+ messages in thread
From: lauradiara @ 2003-11-27 12:09 UTC (permalink / raw)
  To: gsl-discuss, help-gsl help-gsl

Hi all,

can someone help me?

I don't know how to solve linear system (Ax=b) which have det A = 0.

In this case the linear system can have nothing or infinite solutions.

How can I solve this kinkd of system with gsl?


Thanks

--Laura

^ permalink raw reply	[flat|nested] 2+ messages in thread

* linear system
@ 2003-11-27  9:14 lauradiara
  0 siblings, 0 replies; 2+ messages in thread
From: lauradiara @ 2003-11-27  9:14 UTC (permalink / raw)
  To: gsl-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-27 12:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-27 12:09 linear system lauradiara
  -- strict thread matches above, loose matches on Subject: below --
2003-11-27  9:14 lauradiara

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).