Discussion Overview
The discussion revolves around the challenges of performing higher order arithmetic and prime factorization in MATLAB for an MSc dissertation. Participants explore potential solutions, including add-on packages and alternative software options, while addressing the limitations of MATLAB in this context.
Discussion Character
- Exploratory
- Technical explanation
- Debate/contested
Main Points Raised
- One participant expresses frustration with MATLAB's limitations for higher order arithmetic, specifically regarding prime numbers and integer factorization.
- Another participant suggests using the MATLAB Symbolic Math Toolbox, indicating it may offer arbitrary precision capabilities, but notes that significant changes to the existing code may be necessary.
- A different viewpoint proposes using C/C++ libraries for number theory work, emphasizing the computational intensity of factoring large integers and the advantages of optimized libraries.
- Further suggestions include exploring additional MATLAB add-ons for variable precision integer arithmetic and considering alternatives like Mathcad and SMath, which also support arbitrary precision arithmetic.
- One participant recommends Python libraries such as mpmath and sympy for multi-precision and number system functions, questioning the specific functions needed for the dissertation work.
Areas of Agreement / Disagreement
Participants present multiple competing views on how to address the limitations of MATLAB, with no consensus on a single solution or approach. The discussion remains unresolved regarding the best path forward for the original poster.
Contextual Notes
Participants acknowledge the computational challenges associated with factoring large integers, particularly those with 100 digits, and the potential need for significant computational resources or time. There is also mention of the need for clarity on the specific types of functions required for the dissertation work.