On Fri, Mar 5, 2010 at 8:47 AM, Rohit Garg <rpg....@gmail.com> wrote:
> I am a bit puzzled at this. You are suggesting that CUDA is a good fit
> for your application, provided you can get the C code for that
> function.
>
> That would mean that your computations can be written in a very data
> parallel friendly manner. Then why is lambdify() not suitable for you?
>
> for i in I:
>  numerically evaluate X
>  Y = f(X)
>  for a in A:
>     EXPR.subs(a,Y)
>
> In this loop, is X being calculated from a sympy expression
> numerically? Is it the only numerical evaluation of a sympy expression
> in the outer for loop?
>
> Also, if some sympy guru will clarify for me here, my understanding is
> that a sympy expression can only consist of the 4 arithmetic
> operators, mathematical constants and transcendental functions. If
> this is indeed the case then I might be able to cook up some quick
> numerical expression evaluator.

Most of the times, yes. In general, it can consist of any operation,
e.g. any python class derived from Basic would work, also there are
more functions in sympy, not just the transcendental functions. But
for most of the cases, what you wrote is correct.

Ondrej

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sy...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to