Interface MatrixCreateEmptyOptions<ArrayConstructorType>

interface MatrixCreateEmptyOptions<
    ArrayConstructorType extends
        NumberArrayConstructor = Float64ArrayConstructor,
> {
    ArrayConstructor?: ArrayConstructorType;
    matrix?: DoubleMatrix;
    nbColumns?: number;
    nbRows?: number;
}

Type Parameters

Properties

ArrayConstructor?: ArrayConstructorType

Allows to specify the type of array to use

Float64Array
matrix?: DoubleMatrix

Matrix from which to extract nbRows and nbColumns

nbColumns?: number

Matrix from which to extract nbRows and nbColumns

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

Matrix from which to extract nbRows and nbColumns

matrix.length || 1