Lesson 7 of 15
Vector Fields
Vector Fields
A vector field assigns a tangent vector to every point of a manifold. In coordinates, a vector field has components that vary smoothly from point to point.
A vector field acts as a differential operator on scalar functions:
This produces a new scalar function — the directional derivative of along .
Important Vector Fields on
Radial field:
This field points radially outward. Acting on :
Rotation field:
This field rotates counterclockwise. Acting on (which is rotationally symmetric):
The rotation field kills radially-symmetric functions — it detects angular variation.
Your Task
Implement vector_field(comps_fn) where comps_fn(point) returns the component list . The result should be a function such that gives the directional derivative.
Python runtime loading...
Loading...
Click "Run" to execute your code.