Line 19
Link Here
|
|
|
19 |
|
20 |
inline void umfpack_defaults(double control[UMFPACK_CONTROL], double) |
21 |
{ umfpack_di_defaults(control); } |
22 |
|
23 |
inline void umfpack_defaults(double control[UMFPACK_CONTROL], std::complex<double>) |
24 |
{ umfpack_zi_defaults(control); } |
25 |
|
Line 150
Link Here
|
|
|
157 |
typedef Array<double, UMFPACK_CONTROL, 1> UmfpackControlType; |
Line 236
Link Here
|
|
|
244 |
/** Provides the return status code returned by UmfPack during the numeric |
245 |
* factorization. |
246 |
* |
247 |
* \sa factorize(), compute() |
248 |
*/ |
249 |
inline int factorizationStatus() const |
250 |
{ |
251 |
eigen_assert(m_numeric && "UmfPackLU: you must first call factorize()"); |
252 |
return m_fact_errorCode; |
253 |
} |
254 |
|
255 |
/** Provides access to the control settings array used by UmfPack. |
256 |
* |
257 |
* If this array contains NaN's, the default values are used. |
258 |
*/ |
259 |
inline const UmfpackControlType& control() const |
260 |
{ |
261 |
return m_control; |
262 |
} |
263 |
|
264 |
/** Provides access to the control settings array used by UmfPack. |
265 |
* |
266 |
* If this array contains NaN's, the default values are used. |
267 |
*/ |
268 |
inline UmfpackControlType& control() |
269 |
{ |
270 |
return m_control; |
271 |
} |
272 |
|
Line 238
Link Here
|
238 |
* The given matrix must has the same sparcity than the matrix on which the pattern anylysis has been performed. |
275 |
* The given matrix must has the same sparsity than the matrix on which the pattern analysis has been performed. |
239 |
-- |
|
|
Line 276
Link Here
|
|
|
313 |
umfpack_defaults(m_control.data(), Scalar()); |
Line 317
Link Here
|
317 |
&m_symbolic, 0, 0); |
355 |
&m_symbolic, m_control.data(), 0); |
318 |
-- |
|
|
Lines 328-330
Link Here
|
328 |
int errorCode; |
366 |
m_fact_errorCode = umfpack_numeric(m_outerIndexPtr, m_innerIndexPtr, m_valuePtr, |
329 |
errorCode = umfpack_numeric(m_outerIndexPtr, m_innerIndexPtr, m_valuePtr, |
367 |
m_symbolic, &m_numeric, m_control.data(), 0); |
330 |
m_symbolic, &m_numeric, 0, 0); |
|
|
331 |
-- |
Line 332
Link Here
|
332 |
m_info = errorCode ? NumericalIssue : Success; |
369 |
m_info = m_fact_errorCode == UMFPACK_OK ? Success : NumericalIssue; |
333 |
-- |
|
|
Line 355
Link Here
|
|
|
392 |
int m_fact_errorCode; |
393 |
UmfpackControlType m_control; |
394 |
|
Line 410
Link Here
|
410 |
&x.col(j).coeffRef(0), &b.const_cast_derived().col(j).coeffRef(0), m_numeric, 0, 0); |
450 |
&x.col(j).coeffRef(0), &b.const_cast_derived().col(j).coeffRef(0), m_numeric, m_control.data(), 0); |
411 |
-- |
|
|