Ask Your Question

Revision history [back]

For vector and matrix valued functions, you can also do:

sage: var('atheta')
sage: ahat=vector([cos(atheta),sin(atheta),0])
sage: ahat(atheta=0)
(1,0,0)

See also this related question.