) CofactorMatrix(
            double m1x1, double m1x2, double m1x3, double m1x4, double m1x5, double m1x6,
            double m2x1, double m2x2, double m2x3, double m2x4, double m2x5, double m2x6,
            double m3x1, double m3x2, double m3x3, double m3x4, double m3x5, double m3x6,
            double m4x1, double m4x2, double m4x3, double m4x4, double m4x5, double m4x6,
            double m5x1, double m5x2, double m5x3, double m5x4, double m5x5, double m5x6,
            double m6x1, double m6x2, double m6x3, double m6x4, double m6x5, double m6x6)
        {
            var m = GeneralMatrixCofactorTests.Cofactor(new double[, ]
            {
                { m1x1, m1x2, m1x3, m1x4, m1x5, m1x6 },
                { m2x1, m2x2, m2x3, m2x4, m2x5, m2x6 },
                { m3x1, m3x2, m3x3, m3x4, m3x5, m3x6 },
                { m4x1, m4x2, m4x3, m4x4, m4x5, m4x6 },
                { m5x1, m5x2, m5x3, m5x4, m5x5, m5x6 },
                { m6x1, m6x2, m6x3, m6x4, m6x5, m6x6 }
            });

            return(m[0, 0], m[0, 1], m[0, 2], m[0, 3], m[0, 4], m[0, 5],
                   m[1, 0], m[1, 1], m[1, 2], m[1, 3], m[1, 4], m[1, 5],
                   m[2, 0], m[2, 1], m[2, 2], m[2, 3], m[2, 4], m[2, 5],
                   m[3, 0], m[3, 1], m[3, 2], m[3, 3], m[3, 4], m[3, 5],
                   m[4, 0], m[4, 1], m[4, 2], m[4, 3], m[4, 4], m[4, 5],
                   m[5, 0], m[5, 1], m[5, 2], m[5, 3], m[5, 4], m[5, 5]);
        }
Ejemplo n.º 2
0
            ) CofactorMatrix(
            double m1x1, double m1x2, double m1x3, double m1x4, double m1x5,
            double m2x1, double m2x2, double m2x3, double m2x4, double m2x5,
            double m3x1, double m3x2, double m3x3, double m3x4, double m3x5,
            double m4x1, double m4x2, double m4x3, double m4x4, double m4x5,
            double m5x1, double m5x2, double m5x3, double m5x4, double m5x5)
        {
            var m = GeneralMatrixCofactorTests.Cofactor(new double[, ]
            {
                { m1x1, m1x2, m1x3, m1x4, m1x5 },
                { m2x1, m2x2, m2x3, m2x4, m2x5 },
                { m3x1, m3x2, m3x3, m3x4, m3x5 },
                { m4x1, m4x2, m4x3, m4x4, m4x5 },
                { m5x1, m5x2, m5x3, m5x4, m5x5 }
            });

            return(m[0, 0], m[0, 1], m[0, 2], m[0, 3], m[0, 4],
                   m[1, 0], m[1, 1], m[1, 2], m[1, 3], m[1, 4],
                   m[2, 0], m[2, 1], m[2, 2], m[2, 3], m[2, 4],
                   m[3, 0], m[3, 1], m[3, 2], m[3, 3], m[3, 4],
                   m[4, 0], m[4, 1], m[4, 2], m[4, 3], m[4, 4]);
        }