Vector
Vector[ { expr1, expr2, ... }, options ]
Vector[ { expr1, expr2, ... }, options ] represents the mathematical concept of a coordinate containing elements expr1, expr2, ..., in an order.
| Example | in | out |
|---|---|---|
The coordinate (x,y) with the name A. |
Vector[ { x, y }, Name=>BoldText[A] ] |
A(x,y) |
The vector (x,y,z) with the name A. |
Vector[ { x, y, z }, Name=>Text[A] ] |
A(x,y,z) |
Options
Name
Name defines the name of a vector. Note that the format of textname should be in text, e.g. Text[name] or BoldText[name].
| Syntax | Example |
|---|---|
Vector[ { x, y, z }, Name=>textname ] |
Vector[ x, y, z, Name=>BoldText[A] ] |
Orientation
Orientation describes whether the vector should be rendered vertically, as a column vector, or horizontally, as a row vector. Note that for certain audiences, the orientation affects not only rendering behaviour, but also functional behaviour.
| Syntax | Example |
|---|---|
Vector[x,y, Orientation=>'Horizontal'] |
|