Popular recipes tagged "numerical" but not "units"http://code.activestate.com/recipes/tags/numerical-units/2015-08-04T20:08:29-07:00ActiveState Code RecipesConverting numeric strings to integers (Python)
2015-08-04T20:08:29-07:00Vasudev Ramhttp://code.activestate.com/recipes/users/4173351/http://code.activestate.com/recipes/579093-converting-numeric-strings-to-integers/
<p style="color: grey">
Python
recipe 579093
by <a href="/recipes/users/4173351/">Vasudev Ram</a>
(<a href="/recipes/tags/formats/">formats</a>, <a href="/recipes/tags/numbers/">numbers</a>, <a href="/recipes/tags/numerical/">numerical</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/python2/">python2</a>, <a href="/recipes/tags/representation/">representation</a>).
</p>
<p>This recipe shows how to convert numeric strings into integers, i.e. it emulates the Python int() function - partially. It does not handle negative numbers, floating point numbers, or numbers in other bases than decimal. It is only meant as a simple demo of the steps by which a string containing an integer value, is converted into an actual integer, in Python (and similarly, in other languages).</p>
Numerical Inversion of the Laplace Transform with mpmath (Python)
2013-12-27T05:10:12-08:00Pawel Olejnikhttp://code.activestate.com/recipes/users/4188852/http://code.activestate.com/recipes/578799-numerical-inversion-of-the-laplace-transform-with-/
<p style="color: grey">
Python
recipe 578799
by <a href="/recipes/users/4188852/">Pawel Olejnik</a>
(<a href="/recipes/tags/analysis/">analysis</a>, <a href="/recipes/tags/mpmath/">mpmath</a>, <a href="/recipes/tags/numerical/">numerical</a>).
</p>
<p>This Recipe is a variant of <a href="http://code.activestate.com/recipes/576934/">recipe 576934</a>: Numerical Inversion of the Laplace Transform using the Talbot method by Fernando Damian Nieuwveldt adapted to high precision mpmath</p>
Numerical Inversion of the Laplace Transform using the Talbot method. (Python)
2009-10-27T04:53:30-07:00Fernando Nieuwveldthttp://code.activestate.com/recipes/users/4172088/http://code.activestate.com/recipes/576934-numerical-inversion-of-the-laplace-transform-using/
<p style="color: grey">
Python
recipe 576934
by <a href="/recipes/users/4172088/">Fernando Nieuwveldt</a>
(<a href="/recipes/tags/analysis/">analysis</a>, <a href="/recipes/tags/laplace/">laplace</a>, <a href="/recipes/tags/numerical/">numerical</a>).
Revision 5.
</p>
<p>This is a fast and highly accurate numerical method for the inversion of the Laplace transform</p>
Numerical Inversion of the Laplace Transform with mpmath (Python)
2009-10-27T01:48:22-07:00Dieter Kadelkahttp://code.activestate.com/recipes/users/4172107/http://code.activestate.com/recipes/576938-numerical-inversion-of-the-laplace-transform-with-/
<p style="color: grey">
Python
recipe 576938
by <a href="/recipes/users/4172107/">Dieter Kadelka</a>
(<a href="/recipes/tags/analysis/">analysis</a>, <a href="/recipes/tags/mpmath/">mpmath</a>, <a href="/recipes/tags/numerical/">numerical</a>).
</p>
<p>This Recipe is a variant of <a href="http://code.activestate.com/recipes/576934/">recipe 576934</a>: Numerical Inversion of the Laplace Transform using the Talbot method by Fernando Damian Nieuwveldt adapted to high precision mpmath</p>
Newton Raphson Root Finding (Python)
2009-05-19T05:18:00-07:00alexander bakerhttp://code.activestate.com/recipes/users/4166679/http://code.activestate.com/recipes/576762-newton-raphson-root-finding/
<p style="color: grey">
Python
recipe 576762
by <a href="/recipes/users/4166679/">alexander baker</a>
(<a href="/recipes/tags/numerical/">numerical</a>, <a href="/recipes/tags/scipy/">scipy</a>).
</p>
<p>Newton Raphson Root Finding</p>
Poor man's mgrid (Python)
2009-01-21T15:37:13-08:00David Lamberthttp://code.activestate.com/recipes/users/4167420/http://code.activestate.com/recipes/576625-poor-mans-mgrid/
<p style="color: grey">
Python
recipe 576625
by <a href="/recipes/users/4167420/">David Lambert</a>
(<a href="/recipes/tags/index/">index</a>, <a href="/recipes/tags/index_tricks/">index_tricks</a>, <a href="/recipes/tags/method/">method</a>, <a href="/recipes/tags/mgrid/">mgrid</a>, <a href="/recipes/tags/numerical/">numerical</a>, <a href="/recipes/tags/numerical_methods/">numerical_methods</a>, <a href="/recipes/tags/numpy/">numpy</a>, <a href="/recipes/tags/scipy/">scipy</a>, <a href="/recipes/tags/trick/">trick</a>).
</p>
<p>Python 3 code.
scipy.mgrid is a useful!
This short implementation comes without installing numpy.</p>