## The Design of Software (CLOSED)A public forum for discussing the design of software, from the user interface to the code architecture. Now closed. |
||

The "Design of Software" discussion group has been merged with the main
Joel on Software discussion group.
The archives will remain online indefinitely. |
Hi,
I'm looking for either an existing (BSD-licensed) library that does the following, or the right search terms to find the math theory I need to implement it on my own: (a) I need to build a square matrix and find it's Eigenvector (not too difficult) (b) Let's say the matrix contains currency conversion rates, i. e. there's an intersection of USD and EUR with the value 1.23. Now I don't want to enter all the values, but instead automatically fill them in once enough information is entered. If EUR:USD=1.25 and EUR:GBP=0.8 then USD:GBP=0.8/1.25 Question: what's the algorithm called that certainly already exists to do this for a large matrix?
Matthias Thursday, August 10, 2006
http://nmath.sourceforge.net/wiki/index.php/Main_Page includes matrix operations.
Don't know about part b.
Part b could be implemented by a theorem prover, like Prolog, or a rule engine consisting of some basic conversion facts along with some rules for combining the facts. A prolog implementation seems like it would be the easier of the two options, though. Might be overkill for what you are trying to do, however.
Prolog! Tuesday, August 15, 2006 |

Powered by FogBugz