create
fun create(data:IntRange):Matrix<Double>
Creates a matrix filled with the given range of values.
fun <T> create(data:IntRange, dtype:MatrixType<T>):Matrix<T>
fun <T> create(data:DoubleArray, dtype:MatrixType<T>):Matrix<T>
fun <T> create(data:DoubleArray, numRows:Int, numCols:Int, dtype:MatrixType<T>):Matrix<T>
fun <T> create(data:Array<DoubleArray>, dtype:MatrixType<T>):Matrix<T>``fun create(data:DoubleArray):Matrix<Double>
Creates a matrix filled with the given set of values as a row-vector.
fun create(data:DoubleArray, numRows:Int, numCols:Int):Matrix<Double>
Creates a matrix filled with the given set of values in row-major order.
fun create(data:Array<DoubleArray>):Matrix<Double>
Creates a matrix filled with the given data, assuming input is row major.