VectorCalculus
evalVF
evaluate a vector field at a point
Calling Sequence
Parameters
Description
Examples
evalVF(F, v)
F
-
vector field or a Vector valued procedure; specify the components of the vector field
v
free or position Vector; specify the point at which to evaluate the vector field
The command evalVF(F, v) evaluates the vector field F at the point v. The result is a rooted Vector with root point v.
The parameters, F and v, must have the same dimension, but do not need to be defined in the same coordinate system.
The vector field parameter, F, can also be specified as a Vector-valued procedure, in which case this procedure is evaluated at the coordinates of the Vector v.
with⁡VectorCalculus:
ev≔evalVF⁡x,y,z↦RootedVector⁡root=1,0,1,cos⁡x,sin⁡y,z,PositionVector⁡π,π2,0
ev≔−110
About⁡ev
Type: Rooted VectorComponents: −1,1,0Coordinates: cartesianx,y,zRoot Point: π,π2,0
SetCoordinates⁡polarr,θ
polarr,θ
F≔VectorField⁡r2⁢θ,−θ
simplify⁡evalVF⁡F,1,π2
π2−π2
evalVF⁡a,b↦a2,b2,Vector⁡0,1,attributes=coordinates=cartesian
1π24
See Also
coords
VectorCalculus[GetCoordinates]
VectorCalculus[MapToBasis]
VectorCalculus[SetCoordinates]
VectorCalculus[Vector]
VectorCalculus[VectorField]
Download Help Document