Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Linear Equation solver

Reply
Thread Tools

Linear Equation solver

 
 
Guenther Sohler
Guest
Posts: n/a
 
      09-19-2005
I am looking for a apropriate c library to solve my
sparse linear equation system.

I have n variables and m equations.

m might be less, equal or greater then n!!!!

If there are less equations than variables, the system should
effectively set undefined variables to 0

If there are still more equations than variables after removing redundancy,
the system shall report an error.

A very big bonus extra(but not required) is to define certain variables
cannot go negative but i think this cannot be done

Can anybody suggest an adequate free c library for that ?

 
Reply With Quote
 
 
 
 
Alexei A. Frounze
Guest
Posts: n/a
 
      09-19-2005
"Guenther Sohler" <> wrote in message
news...
> I am looking for a apropriate c library to solve my
> sparse linear equation system.


This is OT in this group, since the standard C libraries (the ones covered
by the C standard) includes no equation solvers. You better try googling for
something like Numerical Recipes in C - The Art of Scientific Computing by
Press, Teukolsky, etc -- it's a .pdf book available somewhere on the net for
free. It includes explanations and sample code for your problems, which
standard C libs don't.

HTH
Alex


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pell's equation solver in Ruby Takeshi NISHIMATSU Ruby 0 12-01-2009 08:34 AM
Solving System of Linear Equation (SLE) - FuncDesigner example dmitrey Python 0 10-25-2009 04:50 PM
Looking for Equation Solver Chris Perl Misc 15 11-15-2005 04:04 PM
Code for linear congruences, diophantine linear equations alessandra_cabrini@virgilio.it Java 1 11-15-2005 12:23 PM
quartic polynomial solver Lothar Leidner Java 2 12-22-2003 11:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57