Mathematica Disagreement between Mathematica 5, 6 and 7 ?

  • Thread starter Thread starter Dohste
  • Start date Start date
  • Tags Tags
    Mathematica
AI Thread Summary
The discussion revolves around significant discrepancies in the behavior of Mathematica code across versions 5, 6, and 7. The user reports that running the same program with identical input data yields completely different results, raising concerns about compatibility and function interpretation. Despite running compatibility checks and applying suggested changes, the issue persists. There is speculation that the problem may stem from how different versions handle matrix inversion, with a suggestion to calculate the condition number of the matrix to assess its stability. The conversation highlights the challenges users face when transitioning between software versions and the potential for major differences in function support and execution.
Dohste
Messages
3
Reaction score
0
Disagreement between Mathematica 5, 6 and 7! ??

Hey

I've got a piece of Mathematica code which I'm working on that appears to behave differently depending on which version of Mathematica it's run on...

I've tried it on versions 5, 6 and 7 and running the exact same program with the exact same input data provides different results. And I mean completely different results - not just minor variations or something.

Mathematica did its standard scan for compatibility issues and I ran it once with the suggested changes and once without them but that made absolutely no difference.

Has anyone else experienced this before?
Is there some particular type of function that the different versions interpret differently?

Appreciate any ideas!
 
Physics news on Phys.org


After working through the code again I'm fairly sure that this must be an issue with how the various versions handle inversing a matrix... ?
 


I have had situations where a function was no longer supported, but not like what you describe. I would not think that inverting a matrix would be significantly different unless the matrix itself were ill-conditioned. I would calculate the condition number of the matrix to see.
 

Similar threads

Replies
7
Views
4K
Replies
6
Views
3K
Replies
8
Views
6K
Replies
3
Views
11K
Replies
4
Views
8K
Replies
2
Views
4K
Back
Top