fromDoubleArray

Constructs a matrix from DoubleArray with values in row-major order.