Static methods

staticdiag<T>(diagonal:Vector<T>):Matrix<Float>

staticfilled<T>(rows:Int, cols:Int, value:T):Matrix<T>

staticofArray<T>(rows:Int, cols:Int, values:Array<T>):Matrix<T>

staticouter<T>(lhs:Vector<T>, rhs:Vector<T>):Matrix<Float>

Constructor

new(rows:Int, cols:Int, values:Array<T>)

Variables

finalcols:Int

finalrows:Int

Methods

add(other:Matrix<T>):Matrix<T>

determinant():Float

inlinefrobenius():Float

inlinefrobeniusNorm():Float

inlineget(row:Int, col:Int):T

@:arrayAccessinlinegetFlat(index:Int):T

inverse():Matrix<Float>

kernelGet(row:Int, col:Int):T

matmul(other:Matrix<T>):Matrix<Float>

matvec(vector:Vector<T>):Vector<Float>

mul(other:Matrix<T>):Matrix<T>

inlinemultiplyVector(vector:Vector<T>):Vector<Float>

inlineset(row:Int, col:Int, value:T):T

@:arrayAccessinlinesetFlat(index:Int, value:T):T

sub(other:Matrix<T>):Matrix<T>

toArray():Array<T>

trace():Float

zip(other:Matrix<T>, f:(T, T) ‑> T):Matrix<T>