473,387 Members | 1,628 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Picard's method

I need c code for picard's method, Inverse of a matrix, Newtons forward and backward inter polation, numerical differentiations. Pls help as soon as possible
Sep 22 '06 #1
8 7464
r035198x
13,262 8TB
I need c code for picard's method, Inverse of a matrix, Newtons forward and backward inter polation, numerical differentiations. Pls help as soon as possible
Sometimes the best way to learn these things is to get the algorithms, understand their general ideas and then try tranlating them to C yourself. It may be much easier than you think actually.

Of course when you do get stuck at a more specific point, you could always post and get help. I would not expect there to be a hundred people willing to do all that for you.
Sep 22 '06 #2
Sometimes the best way to learn these things is to get the algorithms, understand their general ideas and then try tranlating them to C yourself. It may be much easier than you think actually.

Of course when you do get stuck at a more specific point, you could always post and get help. I would not expect there to be a hundred people willing to do all that for you.
respected sir/madam.
i dont have idea to do this program. so if u are having this program please send me. or otherwise tell me a way to get the program from website.
Jul 11 '07 #3
sicarie
4,677 Expert Mod 4TB
respected sir/madam.
i dont have idea to do this program.
1) figure out your problem
2) create an algorithm to solve your problem
3) create pseudocode from your algorithm
4) code your pseudocode

Those are the steps to most, if not all, programming issues. Which part are you on and what do you have a question about?

(If you just ask for the code, this is how we are supposed to respond, as I'm sure you know, because you have read the Posting Guidelines as we ask all posters to do...)

The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

Please read the Posting Guidelines and particularly the Coursework Posting Guidlines.

Then when you are ready post a new question in this thread.
Jul 11 '07 #4
I need c code for picard's method, Inverse of a matrix, Newtons forward and backward inter polation, numerical differentiations. Pls help as soon as possible
Google the names of the mathematical methods you require. You will find all the information you need. You must understand what you are trying to do with these algorithms before you can implement them in C++.

What are you trying to do anyway? Each of the above algorithms has a different purpose and they are not all related, although I can think of a way in which they might be.
Jul 11 '07 #5
JosAH
11,448 Expert 8TB
Google for "Numerical Recipes"; the C implementations of the algorithms are
free; the book implements and explains all of the above mentioned algorithms.
(I shouldn't calculate an explicit matrix inverse if I were you because of numerical
inaccuracy).

kind regards,

Jos
Jul 11 '07 #6
r035198x
13,262 8TB
Google for "Numerical Recipes"; the C implementations of the algorithms are
free; the book implements and explains all of the above mentioned algorithms.
(I shouldn't calculate an explicit matrix inverse if I were you because of numerical
inaccuracy).

kind regards,

Jos
Anyone coding in c must have a copy of numeric recipes. Especially if they're in college.
Jul 11 '07 #7
JosAH
11,448 Expert 8TB
Anyone coding in c must have a copy of numeric recipes. Especially if they're in college.
Indeed; and anyone with a fireplace should have a copy too because that's where
that book belongs: *in* the fireplace.

The code examples are so bad and so Fortranesque (the original edition). Most
of the code even invokes undefined behaviour and is sometimes simply incorrect,
but for the simple numerical algorithms wanted in this thread the book does fine.
There isn't a less worse book available anyways ...

kind regards,

Jos

ps. bad and good reviews of the NR book.
Jul 11 '07 #8
r035198x
13,262 8TB
Indeed; and anyone with a fireplace should have a copy too because that's where
that book belongs: *in* the fireplace.

The code examples are so bad and so Fortranesque (the original edition). Most
of the code even invokes undefined behaviour and is sometimes simply incorrect,
but for the simple numerical algorithms wanted in this thread the book does fine.
There isn't a less worse book available anyways ...

kind regards,

Jos

ps. bad and good reviews of the NR book.
Ha ha. How I used to love that book in college. Now I have to find it and throw it away?
Jul 11 '07 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

11
by: Dave Rahardja | last post by:
OK, so I've gotten into a philosophical disagreement with my colleague at work. He is a proponent of the Template Method pattern, i.e.: class foo { public: void bar() { do_bar(); } protected:...
5
by: Chris | last post by:
Hi I have a scenario where I've created another AppDomain to dynamically load a DLL(s) into. In this newly loaded DLL I want to call a static method on a class. The problem arise is that I have...
4
by: daniel.w.gelder | last post by:
I wrote a template class that takes a function prototype and lets you store and call a C-level function, like this: inline string SampleFunction(int, bool) {..} functor<string (int, bool)>...
7
by: greenflame | last post by:
I am trying to make a matrix object. I have given it some properites. I am trying to add a method. When I call the method by Test.showDims(...) I want to only enter one input, that is the method by...
5
by: Nick Flandry | last post by:
I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my development environment (Win2K server running IIS 5) and a test environment (also Win2K server running IIS...
18
by: JohnR | last post by:
From reading the documentation, this should be a relatively easy thing. I have an arraylist of custom class instances which I want to search with an"indexof" where I'm passing an instance if the...
10
by: Mihai Osian | last post by:
Hi everyone, Given the code below, can anyone tell me: a) Is this normal behaviour ? b) If it is, what is the reason behind it ? I would expect the A::method(int) to be inherited by B. ...
9
by: Steve Richter | last post by:
in a generic class, can I code the class so that I can call a static method of the generic class T? In the ConvertFrom method of the generic TypeConvert class I want to write, I have a call to...
2
by: dupr2002 | last post by:
i need c/c++ program for picard's method pls send as soon as possible. i need urgently.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.