diff options
author | Federico Beffa <beffa@fbengineering.ch> | 2015-07-22 14:18:27 +0200 |
---|---|---|
committer | Federico Beffa <beffa@fbengineering.ch> | 2015-08-01 12:29:37 +0200 |
commit | 23bae7bb862bf466fbee07f498130f156c342489 (patch) | |
tree | 349398bb414503dd16a154bd1939703c6b1fe151 /gnu/packages/patches/fasthenry-spFactor.patch | |
parent | 930945015c76083efc0dd140d6bd2cbd3ecc44ad (diff) |
gnu: Add fasthenry.
* gnu/packages/engineering.scm (fasthenry): New variable.
* gnu/packages/patches/fasthenry-spAllocate.patch,
gnu/packages/patches/fasthenry-spBuild.patch,
gnu/packages/patches/fasthenry-spFactor.patch,
gnu/packages/patches/fasthenry-spSolve.patch,
gnu/packages/patches/fasthenry-spUtils.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
Diffstat (limited to 'gnu/packages/patches/fasthenry-spFactor.patch')
-rw-r--r-- | gnu/packages/patches/fasthenry-spFactor.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/patches/fasthenry-spFactor.patch b/gnu/packages/patches/fasthenry-spFactor.patch new file mode 100644 index 0000000000..52bab729af --- /dev/null +++ b/gnu/packages/patches/fasthenry-spFactor.patch @@ -0,0 +1,35 @@ +Add forward declarations. + +--- fasthenry-3.0/src/fasthenry/sparse/spFactor.c.orig 2015-07-22 10:37:04.934043468 +0200 ++++ fasthenry-3.0/src/fasthenry/sparse/spFactor.c 2015-07-22 12:52:55.515636802 +0200 +@@ -105,7 +105,29 @@ + #include "spDefs.h" + + +- ++static int FactorComplexMatrix( MatrixPtr ); ++static CreateInternalVectors( MatrixPtr ); ++static CountMarkowitz( MatrixPtr, register RealVector, int ); ++static MarkowitzProducts( MatrixPtr, int ); ++static ElementPtr SearchForPivot( MatrixPtr, int, int ); ++static ElementPtr SearchForSingleton( MatrixPtr, int ); ++static ElementPtr QuicklySearchDiagonal( MatrixPtr, int ); ++static ElementPtr SearchDiagonal( MatrixPtr, register int ); ++static ElementPtr SearchEntireMatrix( MatrixPtr, int ); ++static RealNumber FindLargestInCol( register ElementPtr ); ++static RealNumber FindBiggestInColExclude( MatrixPtr, register ElementPtr, ++ register int ); ++static ExchangeRowsAndCols( MatrixPtr, ElementPtr, register int ); ++static ExchangeColElements( MatrixPtr, int, register ElementPtr, ++ int, register ElementPtr, int ); ++static ExchangeRowElements( MatrixPtr, int, register ElementPtr, ++ int, register ElementPtr, int ); ++static RealRowColElimination( MatrixPtr, register ElementPtr ); ++static ComplexRowColElimination( MatrixPtr, register ElementPtr ); ++static UpdateMarkowitzNumbers( MatrixPtr, ElementPtr ); ++static ElementPtr CreateFillin( MatrixPtr, register int, int ); ++static int MatrixIsSingular( MatrixPtr, int ); ++static int ZeroPivot( MatrixPtr, int ); + + + |