Disagreement between Mathematica 5, 6 and 7 ?

  • Context: Mathematica 
  • Thread starter Thread starter Dohste
  • Start date Start date
  • Tags Tags
    Mathematica
Click For Summary
SUMMARY

The discussion centers on discrepancies in the behavior of Mathematica versions 5, 6, and 7 when executing the same code with identical input data. Users report that the results vary significantly, indicating potential compatibility issues between versions. The primary concern raised is the handling of matrix inversion, with suggestions to calculate the condition number of the matrix to assess its stability. The standard compatibility scan provided by Mathematica did not resolve the issue, highlighting the need for deeper investigation into version-specific function interpretations.

PREREQUISITES
  • Understanding of Mathematica programming language
  • Knowledge of matrix operations, specifically matrix inversion
  • Familiarity with condition numbers in numerical analysis
  • Experience with version control and compatibility issues in software
NEXT STEPS
  • Research the differences in matrix inversion algorithms between Mathematica versions 5, 6, and 7
  • Learn how to calculate the condition number of a matrix in Mathematica
  • Explore Mathematica's documentation on compatibility issues and version updates
  • Investigate alternative functions or methods for matrix operations in different Mathematica versions
USEFUL FOR

Mathematica users, numerical analysts, and developers working with mathematical computations who need to understand version-specific behaviors and compatibility issues in their code.

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 2 ·
Replies
2
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 13 ·
Replies
13
Views
8K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
6K
  • · Replies 3 ·
Replies
3
Views
11K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 4 ·
Replies
4
Views
8K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 14 ·
Replies
14
Views
7K