- clear
void clear(vt value)
 Sets all values of the vector to value.
- get_
inout(vt) get_()
 - isFinite
bool isFinite()
 Returns true if all values are not nan and finite, otherwise false.
- length
real length()
 Returns the magnitude of the vector.
- lengthSquared
real lengthSquared()
 Returns the squared magnitude of the vector.
- normalize
void normalize()
 - normalized
Vector normalized()
 Returns a normalized copy of the current vector.
- opBinary
Vector opBinary(vt r)
 Undocumented in source. Be warned that the author may not have intended to support it.
- opBinary
Vector opBinary(vt r)
 Undocumented in source. Be warned that the author may not have intended to support it.
- opBinary
Vector opBinary(Vector r)
 Undocumented in source. Be warned that the author may not have intended to support it.
- opBinary
Vector opBinary(Vector r)
 Undocumented in source. Be warned that the author may not have intended to support it.
- opBinary
Vector!(vt, T.cols) opBinary(T inp)
 Undocumented in source. Be warned that the author may not have intended to support it.
- opBinaryRight
auto  opBinaryRight(T inp)
 Undocumented in source. Be warned that the author may not have intended to support it.
- opCmp
int opCmp(Vector vec)
 Undocumented in source. Be warned that the author may not have intended to support it.
- opDispatch
Vector!(vt, s.length) opDispatch()
 Implements dynamic swizzling.
- opEquals
bool opEquals(T vec)
 Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(const(T)[] array)
 Undocumented in source. Be warned that the author may not have intended to support it.
- opOpAssign
void opOpAssign(vt r)
 Undocumented in source. Be warned that the author may not have intended to support it.
- opOpAssign
void opOpAssign(vt r)
 Undocumented in source. Be warned that the author may not have intended to support it.
- opOpAssign
void opOpAssign(Vector r)
 Undocumented in source. Be warned that the author may not have intended to support it.
- opUnary
Vector opUnary()
 Undocumented in source. Be warned that the author may not have intended to support it.
- ptr
auto  ptr()
 Returns a pointer to the coordinates.
- set
void set(vt x, vt y)
 Undocumented in source. Be warned that the author may not have intended to support it.
- set
void set(vt x, vt y, vt z)
 Undocumented in source. Be warned that the author may not have intended to support it.
- set
void set(vt x, vt y, vt z, vt w)
 Undocumented in source. Be warned that the author may not have intended to support it.
- toHash
size_t toHash()
 - toString
const(string) toString()
 Returns the current vector formatted as string, useful for printing the vector.
- update
void update(Vector!(vt, dimension) other)
 Updates the vector with the values from other.
Base template for all vector-types.