# Numerical methods

 Register Blogs Members List Search Today's Posts Mark Forums Read

 September 13, 2000, 10:07 Numerical methods #1 Lex Guest   Posts: n/a Hi everybody Developing my code for solving cfd problem I had to make some interpolation of another numerical experiment data So after some time I found some procedures for interpolation by spline good enough for my purposes The only problem is that I'm usin C++ and have no good mathematical libraies So when I had to make the inverse matrix I understood that the time came to find something So I got the linalg packeg from netlib to work with matricies and vectors Looking at the code I understood that it's not bad But now I have trubles with compiling it If anyone used this lib please answer me.

 September 13, 2000, 22:35 Re: Numerical methods #2 Istadi Guest   Posts: n/a Please use MATLAB . In Matlab, the any interpolation methods and matrix operations have been available.

 September 14, 2000, 04:52 Re: MATLAB #3 Lex Guest   Posts: n/a Using MATLAB is not a bad idea I often use it for simple purposes But for these time I have to use interpolation in my own solver written in C (C++) so it's to tuff to my mind to use any part of MATLAB in this case

 September 14, 2000, 06:39 Re: Numerical methods #4 Sebastien Perron Guest   Posts: n/a Is it an obligation to make to inverse matrix? Wouldn't it be better to solve the system? If so try templates from netlib. I used it and had no difficulties compiling it. P.S. As far as I can remember, it is very time consuming to actually calculate the inverse of a matrix.

 September 14, 2000, 09:45 Re: MATLAB #5 Kai Kang Guest   Posts: n/a Take a look at the numerical receipt, it should at least has some information about matrix operation in Fortran, which is not difficult to convert to C++ Inverse big matrix costs too much of computational effort, why not try iteratively solve it...

 September 15, 2000, 08:48 Re: Numerical methods #6 Hans Klaufus Guest   Posts: n/a Hi Lex, I developped some codes (C++) myself for splining, matrix stuff, etc. If you're interested, please send me an email, so I can attach these sources in a replying email. Cheers, Hans.

 September 17, 2000, 12:16 Re: Inverse #7 Lex Guest   Posts: n/a Hi Sometimes it's easier to invert matrix espesially if you have to solve several linear systems with the same matrix but different right parts Aleksei Privalov

 September 19, 2000, 09:46 Re: Numerical methods #8 Reza Besharati Guest   Posts: n/a Hi Dear Alex Take a look at the MathLink feature of Mathematica version 4.0,at the addreess: www.wolfram.com I don't know but I think it mught be helpfull. Reza

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Nikhil Main CFD Forum 1 December 5, 2008 04:51 joy Main CFD Forum 8 August 20, 2008 06:03 Andrei Main CFD Forum 0 October 14, 2002 03:22 Oleg Main CFD Forum 0 January 15, 1999 06:46 Hansong Hang Main CFD Forum 12 September 16, 1998 22:26

All times are GMT -4. The time now is 12:38.