Hi,

I am new to Sage and excuse me if my question is so simple.

If I understood correctly, a vector in sage can be shown by something
like: [x,y,z]
Now, I want to define a function to get a symbolic vector as parameter
and return a symbolic vector or scalar. Something like:

f([x,y,z])=a*x^2+b*x+c

g([x,y,z])=[x^2,y^2,z^2]

f(g([tan(x),sin(x),cos(x)]))=?

Is it possible?

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to