954,180 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Where can I find C book for mathematical programming?

Hi friends,
I want to learn about basic mathematical solving(matrix, eign value) problems, using c language. Could anyone give you the site or book which dealing with easy steps?

diddle
Newbie Poster
11 posts since Aug 2005
Reputation Points: 10
Solved Threads: 0
 

The very best book for this isnt in C. The code examples are shown in an imaginary machine code. This allows you to take the algorithms general steps and convert them into any language you like. Its heavy going, expensive and absolutely worth its weight in gold. Its The art of computer programming by Donald Knuth. .
Alternatively their are several books based on C by authors such as robert sedgewick such as algorithms in C, problem solving in C. I found these books a mixed bag. Some people rave about sedgewicks books, I couldnt get past his babyish code errors.

Stoned_coder
Junior Poster
164 posts since Jul 2005
Reputation Points: 19
Solved Threads: 5
 

Are you:
A) interested more in the math or
B) how to use the math in your games or
C) do you have a project in mind and think you want/need to use this type of stuff but aren't sure what to do?

For A, I've gone back to my calculus book (never had a course in Linear Mathematics) and have been reading some tutorials I've found here

http://www.netcomuk.co.uk/~jenolive/homevec.html

http://www.gamedev.net/reference/list.asp?categoryid=28

I've been using the the math and physics section at GameDev.net primarily so far. I plan to write my own vector and matrix classes so I have a better understanding of the material once I feel I have enough knowledge of the math under my belt. I know my stuff will never be as good as what's out there already, but that's not my goal.

For B) the examples at gamedev.net seem awesome, at least for game development.

For C) again, the material at gamedev.net seems very nice for getting an idea of what can be done graphically using the math, etc. But you can learn how to use OpenGL and DirectX graphics libraries elsewhere, and I know OpenGL, and I'd be surprised if DirectX didn't, has the basic vector and matrix manipulations all set up for you so you don't have to do the actual math, just have an idea about what is happening (sort of like driving a car, if you're like me, you sort of have an idea about what's happening under hood, but not really). If you are trying to write a computer assisted drawing program or use the math for some purpose other than game programming, then the stuff at gamedev.net may or may not be much use to you except from a theoretical point of view, but I'd still take a look at the material available there.

Lerner
Nearly a Posting Maven
2,382 posts since Jul 2005
Reputation Points: 739
Solved Threads: 396
 

Thank you very much for all who replied to my topic. I am doing image processing involves Gram-Schmidt Orthonormalization. As I am poor in maths, want to learn how to use maths concepts, in c programming.

diddle
Newbie Poster
11 posts since Aug 2005
Reputation Points: 10
Solved Threads: 0
 

Get good in math first, then try to apply that knowledge towards writing computer programs.

The program will never be better at it than the person writing it, it will only be faster.

If you don't know what the outcome should be, how can you know that what you get is correct for example?

jwenting
duckman
Team Colleague
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
 

By asking people who do know?
Hopefully the programmer weak at math knows enough to seek some sort of assistance from a book or message board...

Drowzee
Posting Whiz in Training
245 posts since Jul 2005
Reputation Points: 22
Solved Threads: 5
 

Thank you all who replied me.

diddle
Newbie Poster
11 posts since Aug 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You