Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p><em>@Matlab: Does not support quad precision.</em></p> <p><a href="http://www.advanpix.com/" rel="nofollow">Multiprecision Computing Toolbox for MATLAB</a> provides routines for linear algebra computations in arbitrary precision. </p> <p>It covers many other fields - basic math, numerical methods (integration, ode, optimization), special functions and basic data analysis. </p> <p>Besides it allows running existing Matlab's programs in arbitrary precision with only minimal (or without any) modifications to source code. </p> <p><strong>Update (March 27, 2013)</strong>: Now toolbox also includes <strong>fast quadruple precision mode</strong>, which is nearly 100 times faster compared to alternatives. See <a href="http://www.advanpix.com/2013/01/20/fast-quadruple-precision-computations/" rel="nofollow">Fast Quadruple Precision Computations in MATLAB</a> for comparisons and details.</p> <hr> <p>Critics on suggested alternatives:</p> <p><em><strong>Symbolic Math Toolbox</em></strong> (MATLAB) from Mathworks targeted to symbolic computations. As such it lacks many essential features needed for arbitrary precision numerical computing. </p> <p>For example, it is not even possible to compare two <code>vpa()</code> numbers since they are of "symbolic" type (by design). This only limitation rules out 99% of algorithms from numerical analysis. </p> <p>Other basic linear algebra functions missing in Symbolic Math Toolbox are: <code>norm, cond, max, min, sort, lu, qr, chol, schur</code>. </p> <p>Free <strong>Multiple Precision Toolbox</strong> (MATLAB).</p> <p>Besides being extremely slow (it performs number-to-string conversion of operands on every arithmetic operation: <code>+, -, ...</code>) and lacking essential functionality (<code>eig, det, cond, \, ...</code>), it gives wrong results in functions it has. </p> <p>E.g. incorrect results delivered by <code>svd</code> function made my research senseless at some point and error was painful to find. </p> <p><strong>mpmath</strong> (Python)</p> <p>Mainly targeted to special functions computing (hypergeometric family in particular). And has no support for more or less advanced numerical algorithms. Has very little support for matrices. Although seems to have matrix logarithm you are looking for in the latest version.</p> <hr> <p>Actually all these drawbacks pushed me to develop my own extension for MATLAB to enable it with arbitrary precision computing (referred at the beginning - <a href="http://www.advanpix.com/" rel="nofollow">Multiprecision Computing Toolbox for MATLAB</a>). I just need it for my work. </p> <p>It is under active development (but already fixes all listed problems with other alternatives) - I would appreciate any feedback. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload