17 #if defined(scopmath_crout_ix) || defined(scopmath_crout_y) || defined(scopmath_crout_b)
18 #error "naming clash on crout_thread.hpp-internal macros"
20 #define scopmath_crout_b(arg) b[scopmath_crout_ix(arg)]
21 #define scopmath_crout_ix(arg) CNRN_FLAT_INDEX_IML_ROW(arg)
22 #define scopmath_crout_y(arg) _p[CNRN_FLAT_INDEX_IML_ROW(y[arg])]
44 double* rowmax = ns->
rowmax;
45 for (
int i = 0;
i <
n;
i++) {
48 for (
int j = 1;
j <
n;
j++)
55 for (
int r = 0; r <
n; r++) {
61 for (
int i = r;
i <
n;
i++) {
64 for (
int k = 0;
k < r;
k++) {
74 for (
int i = r + 1;
i <
n;
i++) {
77 if (equil_2 > equil_1) {
101 for (
int j = r + 1;
j <
n;
j++) {
103 for (
int k = 0;
k < r;
k++) {
137 for (
int i = 0;
i <
n;
i++) {
140 for (
int j = 0;
j <
i;
j++)
152 for (
int i =
n - 1;
i >= 0;
i--) {
155 for (
int j =
i + 1;
j <
n;
j++)
160 for (
int i = 0;
i <
n;
i++) {
164 for (
int j = 0;
j <
i;
j++) {
178 for (
int i =
n - 1;
i >= 0;
i--) {
181 for (
int j =
i + 1;
j <
n;
j++)
187 #undef scopmath_crout_b
188 #undef scopmath_crout_ix
189 #undef scopmath_crout_y
#define scopmath_crout_ix(arg)
#define scopmath_crout_b(arg)
#define scopmath_crout_y(arg)
#define _threadargsproto_
THIS FILE IS AUTO GENERATED DONT MODIFY IT.
void nrn_scopmath_solve_thread(int n, double **a, double *b, int *perm, double *p, int *y, _threadargsproto_)
Performs forward substitution algorithm to transform the constant vector in the linear simultaneous e...
int nrn_crout_thread(NewtonSpace *ns, int n, double **a, int *perm, _threadargsproto_)
Performs an LU triangular factorization of a real matrix by the Crout algorithm using partial pivotin...
int const size_t const size_t n