Static methods

staticinlineofArray<T>(values:Array<T>):Vector<T>

Constructor

inlinenew(values:Array<T>)

Variables

read onlylength:Int

Methods

cross(this:VectorData<T>, other:Vector<T>):Vector<Float>

dot(this:VectorData<T>, other:Vector<T>):Float

@:arrayAccessinlineget(this:VectorData<T>, index:Int):T

map(this:VectorData<T>, f:T ‑> T):Vector<T>

norm(this:VectorData<T>):Float

normalized(this:VectorData<T>):Vector<Float>

inlineouter(this:VectorData<T>, other:Vector<T>):Matrix<Float>

@:arrayAccessinlineset(this:VectorData<T>, index:Int, value:T):T

inlinesquaredNorm(this:VectorData<T>):Float

inlinetoArray(this:VectorData<T>):Array<T>

zip(this:VectorData<T>, other:Vector<T>, f:(T, T) ‑> T):Vector<T>