Vector

Undocumented in source.
struct Vector (
ElemT
size_t SizeV
) if (
SizeV >= 1
) {}

Constructors

this
this(ThisT v)
Undocumented in source.
this
this(ElemT v)
Undocumented in source.
this
this(ElemT[SizeV] v)
Undocumented in source.
this
this(RangeT data)
Undocumented in source.

Members

Aliases

FloatT
alias FloatT = double
Undocumented in source.
FloatT
alias FloatT = ElemT
Undocumented in source.
ThisT
alias ThisT = Vector!(ElemT, SizeV)
Undocumented in source.

Functions

abs
ThisT abs()
Undocumented in source. Be warned that the author may not have intended to support it.
aequal
bool aequal(ThisT vb, FloatT margin)
Undocumented in source. Be warned that the author may not have intended to support it.
angle
FloatT angle(ThisT v)
Undocumented in source. Be warned that the author may not have intended to support it.
angle
FloatT angle(ThisT va)
Undocumented in source. Be warned that the author may not have intended to support it.
ceil
ThisT ceil()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
componentOrder
Vector!(int, 3) componentOrder()
Undocumented in source. Be warned that the author may not have intended to support it.
crossProd
ElemT crossProd(ThisT vb)
Undocumented in source. Be warned that the author may not have intended to support it.
crossProd
ThisT crossProd(ThisT vb)
Undocumented in source. Be warned that the author may not have intended to support it.
dotProd
ElemT dotProd(ThisT b)
Undocumented in source. Be warned that the author may not have intended to support it.
fabs
ThisT fabs()
Undocumented in source. Be warned that the author may not have intended to support it.
floor
ThisT floor()
Undocumented in source. Be warned that the author may not have intended to support it.
isNaN
bool isNaN()
Undocumented in source. Be warned that the author may not have intended to support it.
largestAbsComponent
int largestAbsComponent()
Undocumented in source. Be warned that the author may not have intended to support it.
norm
ElemT norm()
Undocumented in source. Be warned that the author may not have intended to support it.
norm2
ElemT norm2()
Undocumented in source. Be warned that the author may not have intended to support it.
normalize
ThisT normalize()
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
ThisT opBinary(ThisT v)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinary
ThisT opBinary(ElemT k)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryRight
ThisT opBinaryRight(ElemT k)
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(ThisT v)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(ThisT v)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
inout(ElemT) opIndex(size_t i1)
Undocumented in source.
opIndexAssign
void opIndexAssign(ElemT value, size_t i1)
Undocumented in source.
opOpAssign
ThisT opOpAssign(ThisT v)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssign
ThisT opOpAssign(ScalarT v)
Undocumented in source. Be warned that the author may not have intended to support it.
opUnary
ThisT opUnary()
Undocumented in source. Be warned that the author may not have intended to support it.
ortho
ThisT ortho()
Undocumented in source. Be warned that the author may not have intended to support it.
ortho
ThisT ortho()
Undocumented in source. Be warned that the author may not have intended to support it.
round
ThisT round()
Undocumented in source. Be warned that the author may not have intended to support it.
sqrt
ThisT sqrt()
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.
toIntVector
Vector!(int, SizeV) toIntVector()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

data
ElemT[SizeV] data [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
w
ElemT w [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
w
ElemT w [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
x
ElemT x [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
x
ElemT x [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
y
ElemT y [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
y
ElemT y [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
z
ElemT z [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
z
ElemT z [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

from
ThisT from(Vector!(Elem2T, SizeV) b)
Undocumented in source. Be warned that the author may not have intended to support it.
max
ThisT max(ThisT a, ThisT b)
Undocumented in source. Be warned that the author may not have intended to support it.
min
ThisT min(ThisT a, ThisT b)
Undocumented in source. Be warned that the author may not have intended to support it.
nan
ThisT nan()
Undocumented in source. Be warned that the author may not have intended to support it.
size
size_t size()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_data
ElemT[SizeV] _data;
Undocumented in source.
_data
ElemT[SizeV] _data;
Undocumented in source.

Meta