First time here? Check out the FAQ!
answered 2016-12-20 09:38:19 +0100
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.