I tried my hand at kivy to build a python application.
Run it by running the file sympy.py . Try running mathematical expressions
on it. Its a very basic interface right now . I plan on developing it
further.
Also, assignment statements do not work yet so all the computation can be
tested by us
Thanks for the comments.
You are right, that works. So that example was my lengthy scripts too far
simplified. In my actual program the functions have two arrays as input
(expectation and standard uncertainty in a measurement model) and than the
* does not work anymore. I understood from the doc
Your code still doesn't work for me in Python 2 either.
But the point has been received. This sort of thing (nested arguments)
should probably work.
You need to understand what the * does. It denestst the list into
arguments, so that
f(*[1, 2, 3])
is the same as
f(1, 2, 3)
You are basically c
numpy.hstack and numpy.vstack are typically used for concatenation of numpy
arrays. I typically use it and the * for passing lots of args into lambdify.
Jason
moorepants.info
+01 530-601-9791
On Sun, Jan 12, 2014 at 5:04 PM, Aaron Meurer wrote:
> Your code still doesn't work for me in Python
I still think we should fix this so that it just works out of the box.
Squashing everything into one array is more complicated than it needs
to be.
Aaron Meurer
On Sun, Jan 12, 2014 at 4:08 PM, Jason Moore wrote:
> numpy.hstack and numpy.vstack are typically used for concatenation of numpy
> ar