Click or drag to resize
Vector Methods

The Vector type exposes the following members.

Methods
  NameDescription
Public methodCartesian
Returns the ith cartesian coordinate.
Public methodDirection
Returns a unit vector in the direction of this vector.
Public methodDistanceTo
Returns the Euclidean distance between this vector and the specified vector.
Public methodDot
Returns the do product of this vector with the specified vector.
Public methodMagnitude
Returns the magnitude of this vector. This is also known as the L2 norm or the Euclidean norm.
Public methodStatic memberMainTest
Demo test the Vector data type.
Public methodMinus
Returns the difference between this vector and the specified vector.
Public methodPlus
Returns the sum of this vector and the specified vector.
Public methodScale
Returns the scalar-vector product of this vector and the specified scalar
Public methodTimes
Returns the scalar-vector product of this vector and the specified scalar. Use Scale(Double) for better semantics.
Public methodToString
Returns a string representation of this vector.
(Overrides ObjectToString.)
Top
See Also