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.
with⁡VectorCalculus:
Only free Vectors in cartesian coordinates can be scaled.
2⁢1,1,2
v1≔Vector⁡1,2,coordinates=cartesianx,y
v1≔12
3⁢v1
Rooted Vectors in any coordinate system can be scaled.
v2≔RootedVector⁡root=1,π2,1,2,polarr,t
v2≔12
3⁢v2
36
v3≔RootedVector⁡root=1,2,1,1,parabolicu,v
v3≔11
2⁢v3
22
Vector Fields in any coordinate system can be scaled.
vf≔VectorField⁡x,y,cartesianx,y
x⁢vf
Position Vectors can be scaled.
pv≔PositionVector⁡p,p,polarr,t
pv≔p⁢cos⁡pp⁢sin⁡p
12⁢pv
p⁢cos⁡p2p⁢sin⁡p2
See Also
VectorCalculus[PositionVector]
VectorCalculus[RootedVector]
VectorCalculus[Vector]
VectorCalculus[VectorField]
Download Help Document