469,271 Members | 1,009 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,271 developers. It's quick & easy.

idea of building python module using pyrex

Hello,

I have an idea to build python module to speed up python code in some
of field where pyrex shines such as numeric, code which needs a lot of
looping etc.

What do you think?

Sincerely Yours,
pujo

Dec 9 '05 #1
7 1344
aj****@gmail.com wrote:
Hello,

I have an idea to build python module to speed up python code in some
of field where pyrex shines such as numeric, code which needs a lot of
looping etc.


Isn't numeric already written in C?
--
Regards,

Diez B. Roggisch
Dec 9 '05 #2
aj****@gmail.com wrote:
I have an idea to build python module to speed up python code in some
of field where pyrex shines such as numeric, code which needs a lot of
looping etc.

What do you think?


I don't think you need anyone's permission to do that, really. Just grab
the tools and start coding. If you're happy with the result, feel free to
share it, if you want.

</F>

Dec 9 '05 #3
Hello,

I just wonder if someone has already build it.
Thanks for the response.

Best Regards,
pujo

Dec 9 '05 #4
aj****@gmail.com wrote:
I just wonder if someone has already build it.


built what? it's not like nobody's ever built a Python module using Pyrex before, so
I guess you have to be a bit more precise if you want feedback.

</F>

Dec 9 '05 #5

For example stastical module like commulative probability function for
t distribution, or other numerical module which incorporate looping to
get the result.

I found that pyrex is very helpfull when dealing with looping things.

pujo

Dec 9 '05 #6
"aj****@gmail.com" <aj****@gmail.com> writes:
For example stastical module like commulative probability function for
t distribution, or other numerical module which incorporate looping to
get the result.

I found that pyrex is very helpfull when dealing with looping
things.


Pyrex is indeed quite helpful. If you're interested in statistical
distributions, you'll want to look at the scipy.stats module in scipy
(http://www.scipy.org/), which has lots (including the t distribution).

In SciPy, we use Pyrex for the random-number generator module
scipy.random. It's actually used to wrap some C code, but it does the
job well.

--
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke
|cookedm(at)physics(dot)mcmaster(dot)ca
Dec 9 '05 #7
Hello David,

Is SciPy works with python 2.4.2, Windows XP?
I thought it is only for python 2.3?

pujo

Dec 9 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.