Пример #1
0
            public static EigenSystemResult[] EigenSystem(double[,] A)
            {
                EigenSolver3 solver = new EigenSolver3();

                solver.ComputeEigenStuff(A);
                EigenSystemResult[] resultArray = new EigenSystemResult[3];
                for (int i = 0; i < 3; i++)
                {
                    resultArray[2 - i] = new EigenSystemResult(solver.mEigenvalue[i], solver.mEigenvector[i].Array);
                }
                return(resultArray);
            }
Пример #2
0
        // Token: 0x060002E7 RID: 743 RVA: 0x0003022C File Offset: 0x0002E42C
        public static EigenSystemResult[] EigenSystem(double[,] A)
        {
            EigenSolver3 eigenSolver = new EigenSolver3();

            eigenSolver.ComputeEigenStuff(A);
            EigenSystemResult[] array = new EigenSystemResult[3];
            for (int i = 0; i < 3; i++)
            {
                array[2 - i] = new EigenSystemResult(eigenSolver.mEigenvalue[i], eigenSolver.mEigenvector[i].ToArray());
            }
            return(array);
        }