Computing.Net > Forums > Programming > New to C

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

New to C

Reply to Message Icon

Name: Howeird
Date: February 10, 2003 at 23:55:33 Pacific
OS: 2000
CPU/Ram: P4 512
Comment:

Im new to C... but I need to know how to do matrix multiplication, transpose, etc with C. Are there any good website for people like me?



Sponsored Link
Ads by Google

Response Number 1
Name: azidstar
Date: February 11, 2003 at 04:59:38 Pacific
Reply:

I suggest looking into the math.h library. Havnīt had experience with these functions myself.
Look in:
http://www.cas.mcmaster.ca/~eng1d04/20022003/tm1/slides/VectAndMat.htm

Otherwise, write them yourself, transpose isnīt hard to do with a pen and paper so it shouldnīt be hard to write as a function in C, if it isnīt already one which i would be supried if there wasnīt.
Hope this help a bit on the way.

Finaly: tip search in google: +"matrix" +"math.h"


0

Response Number 2
Name: elric
Date: February 12, 2003 at 08:17:11 Pacific
Reply:

G'day,

Matrix manipulation is fun for 2x2 or even 3x3, but after that it is tedious.
If the solutions are simple then fine, but most engineering solutions require numerical analysis (Guass-Siedel, Newton Rhaphson etc)and the key to the solution is the algorithm- not the language.
If you can understand the algorithm (as azidstar has hinted at), then you can write the code.
Another path is to look into the Pascal/ Algol texts, because they were very good at that in the 70's and you just need to convert them to C.

regards,

Elric


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: New to C

New to C, need help Programming www.computing.net/answers/programming/new-to-c-need-help-programming/5505.html

New to C++ www.computing.net/answers/programming/new-to-c/8416.html

New to c++ www.computing.net/answers/programming/new-to-c/15649.html