|
Calling Sequence
|
|
Vector[o](n, init, f, c)
<x1, x2, ...>
|
|
Parameters
|
|
o
|
-
|
(optional) one of row or column; specifies Vector orientation
|
n
|
-
|
(optional) non-negative integer or integer range starting at 1; number of elements in the Vector
|
init
|
-
|
(optional) Maple procedure, table, Array, Vector, set of equations, list, or expression of type algebraic; initial values for the Vector
|
f
|
-
|
(optional) equation of the form fill=value; specifies Vector entries at locations not otherwise set
|
c
|
-
|
(optional) name or an equation of the form coords=name or coordinates=name; specify the coordinate system, optionally indexed by coordinate names
|
x1, x2, ...
|
-
|
algebraic expressions; initial values for the Vector
|
|
|
|
|
Description
|
|
•
|
The Vector command constructs a free Vector, one of the principal data structures of the Vector Calculus package.
|
•
|
The optional argument c specifies a coordinate system that will be attached to the constructed free Vector as an attribute. Commands in the VectorCalculus package understand a comprehensive set of coordinate systems.
|
•
|
All other arguments in Vector are passed to the top-level Vector constructor.
|
•
|
If c is omitted, the constructed free Vector will inherit the coordinate attribute from the current coordinate system. In this case, if the number of components specified does not match the expected dimension of the current coordinate system, an error will be raised.
|
•
|
The syntax calls this command, but only after executing the with(VectorCalculus) command. If any of the elements xi are not algebraic expressions, then the top-level Vector command is called instead.
|
•
|
For details on the differences between free Vectors, position Vectors, and rooted Vectors, see VectorCalculus,Details.
|
|
|
Examples
|
|
>
|
|
| (2) |
>
|
|
>
|
|
|
|
|