> Try map instead: map(theta,[x,x^2,x^3]), because map applies the
> function
> to every list element.

Thanks for the suggestion but theta is, in fact, a vector-valued function. It 
acts on the elements of the input list / vector in a non-linear and non-trivial 
way. So I'm looking for ways to craete a function (perhaps wrapping 
BuiltinFunction) that can recognize and evaluate vectors over SR. 

The issue is that theta currently can only evaluate numerical input. (Over 
ComplexField.) There's a lot of numerical approximation going on so simply 
feeding it symbolic types isn't going to work. Hence, the need for some sort of 
wrapper around this numerical theta that will deal with symbolic input 
appropriately.

--
Chris



-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to