![]() |
User Guide
|
Implementation of Crout matrix decomposition (LU decomposition) followed by Forward/Backward substitution: Implementation details : (Legacy code) nrn / scopmath / crout.c. More...
Implementation of Crout matrix decomposition (LU decomposition) followed by Forward/Backward substitution: Implementation details : (Legacy code) nrn / scopmath / crout.c.
Definition in file crout.hpp.
#include <Eigen/Core>
#include <cmath>
Go to the source code of this file.
Namespaces | |
nmodl | |
encapsulates code generation backend implementations | |
nmodl::crout | |
Macros | |
#define | y_(arg) p[y[arg]] |
Crout matrix decomposition : Forward/Backward substitution. More... | |
#define | b_(arg) b[arg] |
Functions | |
template<typename T > | |
EIGEN_DEVICE_FUNC int | nmodl::crout::Crout (int n, T *const a, int *const perm, double *const rowmax) |
Crout matrix decomposition : in-place LU Decomposition of matrix a. More... | |
template<typename T > | |
EIGEN_DEVICE_FUNC int | nmodl::crout::solveCrout (int n, T const *const a, T const *const b, T *const p, int const *const perm, int const *const y=nullptr) |