User Profile

Collapse

Profile Sidebar

Collapse
jpecci
jpecci
Last Activity: Nov 23 '09, 12:50 PM
Joined: Jul 1 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jpecci
    replied to numpy subclassing
    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
    See more | Go to post

    Leave a comment:


  • jpecci
    started a topic numpy subclassing

    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. ...
    See more | Go to post
    Last edited by bvdet; Jul 23 '09, 02:53 PM. Reason: add code tags and indentation

  • jpecci
    started a topic parser for math expressions

    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...
    See more | Go to post
No activity results to display
Show More
Working...