VectorCalculus[*] - An overloaded version of Star that deals with scalar multiplication of Vectors
|
Parameters
|
|
s
|
-
|
algebraic; the scalar to scale the Vector
|
v
|
-
|
Vector(algebraic); the Vector to scale
|
|
|
|
|
Description
|
|
•
|
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()
|
*
|
coord(*)
|
1
|
free Vector
|
cartesian
|
free Vector
|
cartesian
|
|
free Vector
|
curved
|
error
|
|
2
|
rooted Vector(root)
|
any
|
rooted Vector (root)
|
any
|
3
|
vector field
|
any
|
vector field
|
any
|
4
|
position Vector
|
cartesian
|
position Vector
|
cartesian
|
|
|
•
|
Note that in 2-D math, the Star operator appears as a dot.
|
|
|
Examples
|
|
>
|
|
Only free Vectors in cartesian coordinates can be scaled.
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
Rooted Vectors in any coordinate system can be scaled.
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
Vector Fields in any coordinate system can be scaled.
>
|
|
| (8) |
>
|
|
| (9) |
Position Vectors can be scaled.
>
|
|
| (10) |
>
|
|
| (11) |
|
|
Download Help Document
Was this information helpful?