Accord.Math.Environments.REnvironment.matrix C# (CSharp) Method

matrix() protected method

Creates a new matrix.
protected matrix ( double values, int rows, int cols ) : mat
values double
rows int
cols int
return mat
        protected mat matrix(double[] values, int rows, int cols)
        {
            return Matrix.Reshape(values, rows, cols, MatrixOrder.FortranColumnMajor);
        }
REnvironment