I want to try and write a program that can solve algebra problems in C++, how would I go about doing this (I already know some C++, I just need a basic idea of how to go about using variables, constants, etc. to do algebra)?
Name:
Anonymous2007-10-31 22:22
a. choose a different language, like haskell or lisp.
b. read sicp
No, really, no trolling.
>>1
Please elaborate on what sort of algebraic solver you are trying to make.
Name:
Anonymous2007-11-01 7:59
>>16
The one that evalutes P=NP and x/0 with a definite solution
Name:
Anonymous2007-11-01 9:26
>>17
In that case, only x86 assembler is powerful enough to help you.
Name:
Anonymous2007-11-01 9:39
It is called symbolic computation. You have to use abstraction! Thus you will fail because you posted on prog.
Name:
Anonymous2007-11-01 9:40
>>17
The equivalence of the classes P and NP are unknowable. Stop trying.
Name:
Anonymous2007-11-01 9:54
>>20 The equivalence of the classes P and NP are unknowable.
What makes you think so?
Name:
Anonymous2007-11-01 11:02
You can do any algebraic equation after reading about 30 pages of SICP. It's worth it.
Name:
Anonymous2007-11-01 11:28
It's called numerical programming.
Any decent 4 year college will offer a specialized CS degree in it.
Go buy the text book. Make sure it covers Gaussian Elimination.
get "algorithms in C++" by R. Sedgewick, it has a few good algorithms for mathmatical purposes; alternatively use "Numerical Recipies in C"(fucking old but still the best book for numerical computing).
Name:
Anonymous2007-11-02 14:36
>>28
don't you mean "Numerical Recipies in C++" or do they have one for C as well