Interface MatrixCreateEmptyOptions<ArrayConstructorType>

interface MatrixCreateEmptyOptions {
    ArrayConstructor?: ArrayConstructorType;
    matrix?: DoubleMatrix;
    nbColumns?: number;
    nbRows?: number;
}

Type Parameters

Properties

ArrayConstructor?: ArrayConstructorType

Allows to specify the type of array to use

Default

Float64Array
matrix?: DoubleMatrix

Matrix from which to extract nbRows and nbColumns

nbColumns?: number

Matrix from which to extract nbRows and nbColumns

Default

matrix[0].length || 1
nbRows?: number

Matrix from which to extract nbRows and nbColumns

Default

matrix.length || 1