Isn't this solved by julia? I think scientific community should use a more functional language rather than language like python tbh
Pythran: Crossing the Python Frontier [pdf]
11–20 of 70 posts
Re: Pythran: Crossing the Python Frontier [pdf]
#12Interesting article but just skimming through it some things stand out immediately: 1.) The first snippet isn't even valid python code as floats don't have a shape attribute. s = 0. n = s.shape 2.) The inline latex math isn't rendered properly.
Re: Pythran: Crossing the Python Frontier [pdf]
#13Talk from PyParis 2015: https://www.youtube.com/watch?v=Af8B30mXZ7E Slides: https://fr.slideshare.net/PoleSystematicParisRegion/track-32...
Re: Pythran: Crossing the Python Frontier [pdf]
#14Isn't this solved by julia? I think scientific community should use a more functional language rather than language like python tbh
Re: Pythran: Crossing the Python Frontier [pdf]
#15Isn't this solved by julia? I think scientific community should use a more functional language rather than language like python tbh
Could you elaborate more on the advantages of a functional language?
Re: Pythran: Crossing the Python Frontier [pdf]
#16Re: Pythran: Crossing the Python Frontier [pdf]
#17Isn't this solved by julia? I think scientific community should use a more functional language rather than language like python tbh
Re: Pythran: Crossing the Python Frontier [pdf]
#18Isn't this solved by julia? I think scientific community should use a more functional language rather than language like python tbh
Re: Pythran: Crossing the Python Frontier [pdf]
#19Link to the actual software: https://github.com/serge-sans-paille/pythran
> "Pythran is an ahead of time compiler for a subset of the Python language, with a focus on scientific computing." and > a claimless python to c++ converter
The idea of the change was that it's more important to convey the problem it solves rather than how it's done ;-)
Re: Pythran: Crossing the Python Frontier [pdf]
#20Interesting article but just skimming through it some things stand out immediately: 1.) The first snippet isn't even valid python code as floats don't have a shape attribute. s = 0. n = s.shape 2.) The inline latex math isn't rendered properly.
I believe the input should be a numpy array of floats which has a shape attribute
One should read
def rosen_explicit_loop(x):
s = 0.
n = x.shape[0]
for i in range(0, n - 1):
s += 100. * (x[i + 1] - x[i] ** 2.) ** 2. + (1 - x[i]) ** 2
return s
(edited)