Calculus of vector valued function