Searched refs:s_n (Results 1 – 1 of 1) sorted by relevance
641 int32_t s_n = (int32_t)n; // Signed n. in matLinearSolveCholesky() local644 for (i = 0; i < s_n; ++i) { in matLinearSolveCholesky()647 sum += L[i * s_n + j] * x[j]; in matLinearSolveCholesky()650 if (L[i * s_n + i] < EPSILON) { in matLinearSolveCholesky()653 x[i] = (b[i] - sum) / L[i * s_n + i]; in matLinearSolveCholesky()658 for (i = s_n - 1; i >= 0; --i) { in matLinearSolveCholesky()660 for (j = i + 1; j < s_n; ++j) { in matLinearSolveCholesky()661 sum += L[j * s_n + i] * x[j]; in matLinearSolveCholesky()663 x[i] = (x[i] - sum) / L[i * s_n + i]; in matLinearSolveCholesky()