5 #ifndef CoinAbcCommonFactorization_H
6 #define CoinAbcCommonFactorization_H
17 #define INITIAL_AVERAGE 1.0
18 #define INITIAL_AVERAGE2 1.0
19 #define AVERAGE_SCALE_BACK 0.8
21 #ifndef SWITCHABLE_STATISTICS
22 #define setStatistics(x)
23 #define factorizationStatistics() (true)
25 #define setStatistics(x) collectStatistics_ = x
26 #define factorizationStatistics() (collectStatistics_)
31 #define FACTORIZATION_STATISTICS 0 //1
40 #if FACTORIZATION_STATISTICS
41 double twiddleFactor1_;
42 double twiddleFactor2_;
46 #if FACTORIZATION_STATISTICS
47 #define twiddleFactor1S() (statistics.twiddleFactor1_)
48 #define twiddleFactor2S() (statistics.twiddleFactor2_)
49 #define twiddleFtranFactor1() (ftranTwiddleFactor1_)
50 #define twiddleFtranFTFactor1() (ftranFTTwiddleFactor1_)
51 #define twiddleBtranFactor1() (btranTwiddleFactor1_)
52 #define twiddleFtranFactor2() (ftranTwiddleFactor2_)
53 #define twiddleFtranFTFactor2() (ftranFTTwiddleFactor2_)
54 #define twiddleBtranFactor2() (btranTwiddleFactor2_)
55 #define twiddleBtranFullFactor1() (btranFullTwiddleFactor1_)
57 #define twiddleFactor1S() (1.0)
58 #define twiddleFactor2S() (1.0)
59 #define twiddleFtranFactor1() (1.0)
60 #define twiddleFtranFTFactor1() (1.0)
61 #define twiddleBtranFactor1() (1.0)
62 #define twiddleFtranFactor2() (1.0)
63 #define twiddleFtranFTFactor2() (1.0)
64 #define twiddleBtranFactor2() (1.0)
65 #define twiddleBtranFullFactor1() (1.0)
67 #define ABC_FAC_GOT_LCOPY 4
68 #define ABC_FAC_GOT_RCOPY 8
69 #define ABC_FAC_GOT_UCOPY 16
70 #define ABC_FAC_GOT_SPARSE 32
76 void CoinAbcDgetrs(
char trans,
int m,
double *a,
double *work);
83 void CoinAbcDgetrs(
char trans,
int m,
long double *a,
long double *work);
84 int CoinAbcDgetrf(
int m,
int n,
long double *a,
int lda,
int *ipiv
92 #define BLOCKING8X8 BLOCKING8 *BLOCKING8
CoinSimplexInt numberCounts_
void CoinAbcDgetrs(char trans, int m, double *a, double *work)
int CoinAbcDgetrf(int m, int n, double *a, int lda, int *ipiv)
Sparse Matrix Base Class.
This deals with Factorization and Updates.
unsigned int CoinSimplexUnsignedInt
CoinSimplexUnsignedInt stack