How to perform trig functions on a vector element-wise?
You could use the map list functionality 

new_vector = Vector(map(lambda x: sin(x), list(vector_variable)))


maybe even better

new_vector = Vector(sin(x) for x in vector_variable)


see here