Add additional methods in SparseLU and Improve the naming conventions

This commit is contained in:
Desire NUENTSA
2013-01-25 20:38:26 +01:00
parent d58056bde4
commit 7f0f7ab5b4
18 changed files with 334 additions and 257 deletions

View File

@@ -68,10 +68,10 @@
#ifndef EIGEN_LU_STRUCTS
#define EIGEN_LU_STRUCTS
namespace Eigen {
namespace internal {
typedef enum {LUSUP, UCOL, LSUB, USUB, LLVL, ULVL} LU_MemType;
typedef enum {LUSUP, UCOL, LSUB, USUB, LLVL, ULVL} MemType;
template <typename IndexVector, typename ScalarVector>
struct LU_GlobalLU_t {
@@ -93,7 +93,7 @@ struct LU_GlobalLU_t {
};
// Values to set for performance
struct LU_perfvalues {
struct perfvalues {
int panel_size; // a panel consists of at most <panel_size> consecutive columns
int relax; // To control degree of relaxing supernodes. If the number of nodes (columns)
// in a subtree of the elimination tree is less than relax, this subtree is considered
@@ -104,6 +104,7 @@ struct LU_perfvalues {
int fillfactor; // The estimated fills factors for L and U, compared with A
};
} // end namespace Eigen
} // end namespace internal
} // end namespace Eigen
#endif // EIGEN_LU_STRUCTS