Esempio n. 1
0
        /**
         * Used internally to find the solution to a single column vector.
         */
        private void solveInternalL()
        {
            // solve L*y=b storing y in x
            TriangularSolver_FDRM.solveL(t, vv, n);

            // solve L^T*x=y
            TriangularSolver_FDRM.solveTranL(t, vv, n);
        }
Esempio n. 2
0
        /**
         * Used internally to find the solution to a single column vector.
         */
        private void solveInternal()
        {
            // solve L*s=b storing y in x
            TriangularSolver_FDRM.solveL(el, vv, n);

            // solve D*y=s
            for (int i = 0; i < n; i++)
            {
                vv[i] /= d[i];
            }

            // solve L^T*x=y
            TriangularSolver_FDRM.solveTranL(el, vv, n);
        }