Questions tagged [numerical-equations]
The numerical-equations tag has no usage guidance.
5
questions
2
votes
1
answer
92
views
Pre-computation strategies when solving multiple linear equations with the same matrix?
Often in modeling, data processing, and optimization; the intensive portions of the code can often reduce to solving a lot of linear equations.
e.g.
solve for x1 in A x1 = b1
solve for x2 in A x2 =...
4
votes
1
answer
326
views
Refactoring numerical code for TDD and encapsulation
I am coming to terms with TDD, and the fact that I need to re-factor some code that I'm (re)writing. I am having a problem that I think is a classic conflict---TDD vs. encapsulation of private methods/...
0
votes
1
answer
187
views
How to do scalar multiplication and matrix inverse when variables are of size 1000 bits?
I am doing arithmetic operations on really huge numbers.
For example, I am given six variables, a_{11}, a_{12}, a_{21}, a_{22}, x_1, and x_2.
Although the above are math terms, these six variables ...
1
vote
1
answer
476
views
How is this number calculated?
I have numbers;
A == 0x20000000
B == 18
C == (B/10)
D == 0x20000004 == (A + C)
A and D are in hex, but I'm not sure what the assumed numeric bases of the others are (although I'd assume base 10 ...
11
votes
4
answers
2k
views
Is OCaml any good for numerical analysis? [closed]
I'm currently using C and some FORTRAN to solve numerically systems of differential equations.
I'm a bit fed up with both of these languages but I need to have some (rather) efficient code... I'm ...