public static DenseMatrix OfRowVectors(params Vector<float>[] rows) { var storage = new VectorStorage<float>[rows.Length]; for (int i = 0; i < rows.Length; i++) { storage[i] = rows[i].Storage; } return new DenseMatrix(DenseColumnMajorMatrixStorage<float>.OfRowVectors(storage)); }