VectorCalculus
*
An overloaded version of Star that deals with scalar multiplication of Vectors
Calling Sequence
Parameters
Description
Examples
s*v
s
-
algebraic; the scalar to scale the Vector
v
Vector(algebraic); the Vector to scale
Returns the scalar multiplication of s and v.
An overloaded version for the VectorCalculus package that deals with scaling Vectors (scalar multiplication) in different coordinate systems.
The following table describes the interaction between different types of Vector objects in different coordinate systems when the Star operator is applied.
coord(v)
coord(s*v)
1
free Vector
cartesian
curved
error
2
rooted Vector(root)
any
rooted Vector (root)
3
vector field
4
position Vector
Note that in 2-D math, the Star operator appears as a dot.
withVectorCalculus:
Only free Vectors in cartesian coordinates can be scaled.
21,1,2
v1≔Vector1,2,coordinates=cartesianx,y
v1≔12
3v1
Rooted Vectors in any coordinate system can be scaled.
v2≔RootedVectorroot=1,π2,1,2,polarr,t
v2≔12
3v2
36
v3≔RootedVectorroot=1,2,1,1,parabolicu,v
v3≔11
2v3
22
Vector Fields in any coordinate system can be scaled.
vf≔VectorFieldx,y,cartesianx,y
xvf
Position Vectors can be scaled.
pv≔PositionVectorp,p,polarr,t
pv≔pcosppsinp
12pv
pcosp2psinp2
See Also
VectorCalculus[PositionVector]
VectorCalculus[RootedVector]
VectorCalculus[Vector]
VectorCalculus[VectorField]
Download Help Document