Scientific libraries for Lua?
Are there any scientific packages for Lua comparable to Scipy? Thanks for your time and help :) ...
Are there any scientific packages for Lua comparable to Scipy? Thanks for your time and help :) ...
I'm writing some Python numerical code and would like to use some functions from the special module. So far, my code only depends on numpy, which I've found very easy to install in a variety of Python environments. Installing scipy, on the other hand, has generally been an exercise in frustration. Is there a way to get just the special ...
I've been looking around the internet for a Java scientific package that is "similar" to Scipy. The only thing I have really found is JScience but it seems not to offer plotting and such. Does anyone know of a good scientific package for Java? ...
I am strggling to figure out how to use the scipy.distributions package and wondered if anyone can post some example code for me. It appears to do everything I need, I just can't figure out how to use it. I need to generate two distributions, one log-normal and one poisson. I know the variance and lambda for each. Links to resources ...
In attempting to use scipy's quad method to integrate a gaussian (lets say there's a gaussian method named gauss), I was having problems passing needed parameters to gauss and leaving quad to do the integration over the correct variable. Does anyone have a good example of how to use quad w/ a multidimensional function? But this led me t...
I've been able to use the standard Python modules from IronPython, but I haven't gotten SciPy to work yet. Has anyone been able to use SciPy from IronPython? What did you have to do to make it work? Update: See Numerical computing in IronPython with Ironclad Update: Microsoft is partnering with Enthought to make SciPy for .NET. ...
I am trying to numerically integrate an arbitrary (known when I code) function in my program using numerical integration methods. I am using Python 2.5.2 along with SciPy's numerical integration package. In order to get a feel for it, i decided to try integrating sin(x) and observed this behavior- >>> from math import pi >>> from scipy....
I'm a Linux n00b, and I want to install SciPy to help me on a homework asignment. This page has confused me more than helped me. I have been guiding myself on the INSTALL.txt file I got from sourceforge, which says PREREQUISITES ============= SciPy requires the following software installed: 1) Python__ 2.4.x or newer Debian pac...
On my 64-bit Debian/Lenny system (4GByte RAM + 4GByte swap partition) I can successfully do: v=array(10000*random([512,512,512]),dtype=np.int16) f=fftn(v) but with f being a np.complex128 the memory consumption is shocking, and I can't do much more with the result (e.g modulate the coefficients and then f=ifftn(f) ) without a MemoryEr...
Looking further into the differences between Python and Ruby, is there a Ruby equivalent to SciPy, or what other scientific math gems are available for Ruby? ...
I've been asked to provide Numpy & Scipy as python egg files. Unfortunately Numpy and Scipy do not make official releases of their product in .egg form for a Win32 platform - that means if I want eggs then I have to compile them myself. At the moment my employer provides Visual Studio.Net 2003, which will compile no version of Numpy lat...
Hello everyone! I need to port some functions from C# to Python, but i can't implement next code right: [SqlFunction(IsDeterministic = true, DataAccess = DataAccessKind.None)] public static SqlDouble LogNormDist(double probability, double mean, double stddev) { LognormalDistribution lnd = new LognormalDistribution(mean,stddev); ...
This is what I need to do- I have this equation- Ax = y Where A is a rational m*n matrix (m<=n), and x and y are vectors of the right size. I know A and y, I don't know what x is equal to. I also know that there is no x where Ax equals exactly y. I want to find the vector x' such that Ax' is as close as possible to y. Meaning that (Ax...
Could you guys please tell me how I can make the following code more pythonic? The code is correct. Full disclosure - it's problem 1b in Handout #4 of this machine learning course. I'm supposed to use newton's algorithm on the two data sets for fitting a logistic hypothesis. But they use matlab & I'm using scipy Eg one question i have...
Is there a better way to find which X gives me the Y I am looking for in SciPy? I just began using SciPy and I am not too familiar with each function. import numpy as np import matplotlib.pyplot as plt from scipy import interpolate x = [70, 80, 90, 100, 110] y = [49.7, 80.6, 122.5, 153.8, 163.0] tck = interpolate.splrep(x,y,s=0) xnew =...
I know that scipy has some signal processing tools for wavelets in scipy.signal.wavelets and a chart can be drawn using matplotlib, but it seems I can't get it right. I have tried plotting a daub wavelet against a linspace, but it's not what I am looking for. I am highly unskilled about wavelets and math in general . :) ...
I am trying to pass a ctype variable to inline c code using scipy.weave.inline. One would think this would be simple. Documentation is good when doing it with normal python object types, however, they have a lot more features than I need, and It makes more sense to me to use ctypes when working with C. I am unsure, however, where my erro...
Hi, I am trying to install SciPy following these instructions: http://www.scipy.org/Download And constantly getting error to build them for OS X Lepeord 10.5.7: dyld: lazy symbol binding failed: Symbol not found: _iconv_open Referenced from: /usr/lib/libaprutil-1.0.dylib Expected in: /opt/local/lib/libiconv.2.dylib dyld: Symbol n...
Hello, I am currently using scipy's linregress function for single regression. I am unable to find if the same library, or another, is able to do multiple regression, that is, one dependent variable and more than one independent variable. I'd like to avoid R if possible. If you're wondering, I am doing FX market analysis with the goal ...
Hi Everybody, I am new to Python and new to SciPy libraries. I wanted to take some ques from the experts here on the list before dive into SciPy world. I was wondering if some one could provide a rough guide about how to run two stats functions: Cumulative Distribution Function (CDF) and Probability Distribution Function (PDF). My use...