Exemplo n.º 1
0
        public Gauss(int n, double[,] A)
        {
            this.n = n;
            this.A = A;

            UserConsole.PrintNumber("Порядок системы, n", n);
            UserConsole.PrintMatrix("Матрица системы, A", A, n);
        }
Exemplo n.º 2
0
        public Gauss(int n, double[,] A, double[] b)
        {
            this.n = n;
            this.A = A;
            this.b = b;

            UserConsole.PrintNumber("Порядок системы, n", n);
            UserConsole.PrintMatrix("Матрица системы, A", A, n);
            UserConsole.PrintVector("Правая часть системы, b", b);
        }
Exemplo n.º 3
0
        public void Determenant()
        {
            double determenant = 1;

            for (int i = 0; i < n; i++)
            {
                determenant = A[i, i] * determenant;
            }
            UserConsole.PrintNumber("Определитель", determenant);
        }