- array
T[] array()
Converts a vector to an array.
- length
T length()
- normalize
void normalize()
- normalized
Vector!T normalized()
Returns a normalized vector.
- opBinary
Vector!T opBinary(Vector rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
- opBinary
Vector!T opBinary(T num)
Undocumented in source. Be warned that the author may not have intended to support it.
- opCmp
int opCmp(Vector rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(Vector a, Vector b)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(Vector other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndex
T opIndex(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
- opIndexAssign
void opIndexAssign(T value, size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
- opOpAssign
void opOpAssign(Vector rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
- opOpAssign
void opOpAssign(T num)
Undocumented in source. Be warned that the author may not have intended to support it.
Vector structure. May include any numeric data type available for vector arithmetic.