Initializer

init(rowCount:columnCount:columnStride:attributes:data:)

Creates a new matrix of double-precision values.

Declaration

init(rowCount: Int32, columnCount: Int32, columnStride: Int32, attributes: SparseAttributes_t, data: UnsafeMutablePointer<Double>)

Parameters

rowCount

The number of rows in the matrix.

columnCount

The number of columns in the matrix.

columnStride

The column stride of the matrix.

attributes

The attributes of the matrix, for example, whether it is symmetrical or triangular.

data

The array of double-precision, floating-point values, in column-major order.