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_DDRM.solveL(t, vv, n);

            // solve L^T*x=y
            TriangularSolver_DDRM.solveTranL(t, vv, n);
        }
        /**
         * Used internally to find the solution to a single column vector.
         */
        private void solveInternal()
        {
            // solve L*s=b storing y in x
            TriangularSolver_DDRM.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_DDRM.solveTranL(el, vv, n);
        }