thanks a lot. I think I will do something on these lines even if
I was hoping in something which didnt involve getslice() since it has been deprecated.
jacopo
User Profile
Collapse
-
numpy subclassing
I would like to ask you a quick question:
I am facing the opposite problem described here:
http://docs.scipy.org/doc/numpy/user...bclassing.html
In short, I want to create a class Dummy(np.ndarra y) which returns a plain array whenever is sliced or viewed. I cannot figure out how.
I would really appreciate you help, here is a chunk of code, what is commented was an attempt which didn’t work. ... -
parser for math expressions
I am approaching parsing for the first time and I can't find which solution is best for me.
I need to process command line strings implementing mathematical operations (defined by me) on objects (defined by me), i.e.
Prompt:> ((A*B)->C)+2
A,B,C could be matrixes or more complex objects
*, -> ,+ could be operations which I want to implement
Is there a parser approach most suitable...
No activity results to display
Show More
Leave a comment: