Static methods

@:value({ layout : LayoutPolicy.Default })staticfromTensor<T>(storage:TensorArg<T>, shape:Array<Int>, rows:Int, cols:Int, layout:LayoutPolicy = LayoutPolicy.Default):MatrixNdarray<T>

Constructor

@:value({ layout : LayoutPolicy.Default })new(storage:TensorArg<T>, shape:Array<Int>, rows:Int, cols:Int, layout:LayoutPolicy = LayoutPolicy.Default)

Variables

finalcols:Int

finalelementCount:Int

finalrows:Int

finalshape:Array<Int>

Methods

close():Void

fromMatrices(values:Array<Matrix<T>>):Void

readMat2(index:Int):Matrix<T>

readMat3(index:Int):Matrix<T>

readMat4(index:Int):Matrix<T>

toMatrices():Array<Matrix<T>>

writeMat2(index:Int, value:Matrix<T>):Void

writeMat3(index:Int, value:Matrix<T>):Void

writeMat4(index:Int, value:Matrix<T>):Void