31#ifndef EIGEN_SPARSELU_MEMORY
32#define EIGEN_SPARSELU_MEMORY
41 return (std::max)(
m, (t+
b)*
w);
44template<
typename Scalar>
61template <
typename Scalar,
typename StorageIndex>
62template <
typename VectorType>
79#ifdef EIGEN_EXCEPTIONS
85#ifdef EIGEN_EXCEPTIONS
86 catch(std::bad_alloc& )
110#ifdef EIGEN_EXCEPTIONS
116#ifdef EIGEN_EXCEPTIONS
117 catch(std::bad_alloc& )
123 if ( tries > 10)
return new_len;
125 }
while (!vec.size());
134 if(num_expansions) ++num_expansions;
150template <
typename Scalar,
typename StorageIndex>
153 Index& num_expansions =
glu.num_expansions;
171 glu.xsup.resize(
n+1);
172 glu.supno.resize(
n+1);
173 glu.xlsub.resize(
n+1);
174 glu.xlusup.resize(
n+1);
175 glu.xusub.resize(
n+1);
191 }
while (!
glu.lusup.size() || !
glu.ucol.size() || !
glu.lsub.size() || !
glu.usub.size());
207template <
typename Scalar,
typename StorageIndex>
208template <
typename VectorType>
Matrix3f m
Definition AngleAxis_mimic_euler.cpp:1
int n
Definition BiCGSTAB_simple.cpp:1
RowVector3d w
Definition Matrix_resize_int.cpp:3
Scalar * b
Definition benchVecAdd.cpp:17
SCALAR Scalar
Definition bench_gemm.cpp:46
Index memXpand(VectorType &vec, Index &maxlen, Index nbElts, MemType memtype, Index &num_expansions)
Expand the existing storage.
Definition SparseLU_Memory.h:209
Index memInit(Index m, Index n, Index annz, Index lwork, Index fillratio, Index panel_size, GlobalLU_t &glu)
Allocate various working space for the numerical factorization phase.
Definition SparseLU_Memory.h:151
Index expand(VectorType &vec, Index &length, Index nbElts, Index keep_prev, Index &num_expansions)
Definition SparseLU_Memory.h:63
RealScalar alpha
Definition level1_cplx_impl.h:147
Index LUnumTempV(Index &m, Index &w, Index &t, Index &b)
Definition SparseLU_Memory.h:39
Index LUTempSpace(Index &m, Index &w)
Definition SparseLU_Memory.h:45
MemType
Definition SparseLU_Structs.h:74
@ USUB
Definition SparseLU_Structs.h:74
@ emptyIdxLU
Definition SparseLU_Memory.h:38
@ LUNoMarker
Definition SparseLU_Memory.h:37
Namespace containing all symbols from the Eigen library.
Definition bench_norm.cpp:85
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition Meta.h:74
Definition BandTriangularSolver.h:13
Definition SparseLU_Structs.h:77
Definition ForwardDeclarations.h:17