3
$\begingroup$

Question:

  • How to find, load and use a legacy Mathematica package from a previous Mathematica version? What is the preferred approach and process?

Context:

I am working through a set of examples in Mathematica. One example being:

The problem is that the example given is from 2007 and relies upon:

<< NumberTheory`Frobenius`

in theory I could update the code and replace FrobeniusF[] with FrobeniusNumber[], whilst also replacing GreedyDecomposition[ with FrobeniusSolve[.

The above will work but it would be simpler to be able to find and use the original Mathematica package. Interested how people approach this type of problem as (I assume) it occurs with some level of frequency.

All help and advice gratefully received.

FrobeniusF Compatibility ref:

$\endgroup$
  • 1
    $\begingroup$ For what it's worth, if you search "Greedy Decomposition" in the Wolfram Documentation, the function NumberDecompose shows up. Do you think GreedyDecomposition is now NumberDecompose? $\endgroup$ – QuantumDot Jul 25 '18 at 23:20
  • $\begingroup$ @QuantumDot Your help is worth a lot and very much appreciated. Your reference led me through a set of routes in the documentation to FrobeniusSolve[. I updated the question to reflect the reference. $\endgroup$ – Technophobe01 Jul 26 '18 at 16:02
  • $\begingroup$ Ah, so I was wrong. $\endgroup$ – QuantumDot Jul 26 '18 at 16:24
  • $\begingroup$ @QuantumDot - Chuckle - you pointed me in the right direction. $\endgroup$ – Technophobe01 Jul 26 '18 at 18:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.