Constructor.
Contains all the components of the Vector.
Clone this Vector.
A copy of this Vector.
Returns the cross products between two vectors.
A Vector2D
The scalar number result of the cross product.
Returns the dot product of two Vectors.
A Vector.
The dot product.
Returns true if the Vectors are equal.
A Vector.
A boolean.
Return true if the Vectors are normal (a.k.a. perpendicular) to each other.
A Vector.
A boolean.
Return the required norm. By default return the length of the Vector.
The type of norm.
The value of the required norm.
Scales this Vector so that its lenght is equal to one.
Set as true to save the results in this Vector.
The normalized Vector.
Sets all entries with opposite sign of this Vector's.
Set as true to save the results in this Vector.
A Vector that has all entries opposite to this' ones.
Scalar multiplication, scales this Vector by the given number.
Scalar number
Set as true to save the results in this Vector.
A scaled Vector.
Sets a single entry of the vector to a new value.
Reset the components.
The number of entries in this Vector.
Create an Array containing the components.
An Array
Create a string describing the Vector.
A string describing the vector.
Create a new vector of size n with all entries set as zero.
Size of the new vector of ones.
The new Vector created.
Create a new vector of size n with all entries set as zero.
Size of the new vector of zeros.
The new Vector created.
Generated using TypeDoc
Represtens a mathematical Vector on a Plane. The Vector must have only two components.