| Vector Methods |
The Vector type exposes the following members.
| Name | Description | |
|---|---|---|
| Cartesian |
Returns the ith cartesian coordinate. | |
| Direction |
Returns a unit vector in the direction of this vector. | |
| DistanceTo |
Returns the Euclidean distance between this vector and the specified vector. | |
| Dot |
Returns the do product of this vector with the specified vector. | |
| Magnitude |
Returns the magnitude of this vector.
This is also known as the L2 norm or the Euclidean norm. | |
| MainTest |
Demo test the Vector data type. | |
| Minus |
Returns the difference between this vector and the specified vector. | |
| Plus |
Returns the sum of this vector and the specified vector. | |
| Scale |
Returns the scalar-vector product of this vector and the specified scalar | |
| Times |
Returns the scalar-vector product of this vector and the specified scalar.
Use Scale(Double) for better semantics. | |
| ToString |
Returns a string representation of this vector. (Overrides ObjectToString.) |