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 | |
parent | 930945015c76083efc0dd140d6bd2cbd3ecc44ad (diff) | |
download | guix-23bae7bb862bf466fbee07f498130f156c342489.tar.gz |
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')
-rw-r--r-- | gnu/packages/patches/fasthenry-spAllocate.patch | 15 | ||||
-rw-r--r-- | gnu/packages/patches/fasthenry-spBuild.patch | 13 | ||||
-rw-r--r-- | gnu/packages/patches/fasthenry-spFactor.patch | 35 | ||||
-rw-r--r-- | gnu/packages/patches/fasthenry-spSolve.patch | 12 | ||||
-rw-r--r-- | gnu/packages/patches/fasthenry-spUtils.patch | 12 |
5 files changed, 87 insertions, 0 deletions
diff --git a/gnu/packages/patches/fasthenry-spAllocate.patch b/gnu/packages/patches/fasthenry-spAllocate.patch new file mode 100644 index 0000000000..cefd95f539 --- /dev/null +++ b/gnu/packages/patches/fasthenry-spAllocate.patch @@ -0,0 +1,15 @@ +Add forward declarations. + +--- fasthenry-3.0/src/fasthenry/sparse/spAllocate.c.orig 2015-07-22 09:45:28.864758891 +0200 ++++ fasthenry-3.0/src/fasthenry/sparse/spAllocate.c 2015-07-22 13:04:17.579742206 +0200 +@@ -107,7 +107,9 @@ + #include "spDefs.h" + + +- ++static InitializeElementBlocks( MatrixPtr, int, int ); ++static RecordAllocation( MatrixPtr, char* ); ++static AllocateBlockOfAllocationList( MatrixPtr ); + + + diff --git a/gnu/packages/patches/fasthenry-spBuild.patch b/gnu/packages/patches/fasthenry-spBuild.patch new file mode 100644 index 0000000000..cf250fdc4d --- /dev/null +++ b/gnu/packages/patches/fasthenry-spBuild.patch @@ -0,0 +1,13 @@ +Add forward declarations. + +--- fasthenry-3.0/src/fasthenry/sparse/spBuild.c.orig 2015-07-22 10:13:30.884638176 +0200 ++++ fasthenry-3.0/src/fasthenry/sparse/spBuild.c 2015-07-22 13:08:48.862973419 +0200 +@@ -106,6 +106,8 @@ + #include "spDefs.h" + + ++static void Translate( MatrixPtr, int*, int* ); ++static ExpandTranslationArrays( MatrixPtr, register int ); + + + 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 ); + + + diff --git a/gnu/packages/patches/fasthenry-spSolve.patch b/gnu/packages/patches/fasthenry-spSolve.patch new file mode 100644 index 0000000000..bed36be0bd --- /dev/null +++ b/gnu/packages/patches/fasthenry-spSolve.patch @@ -0,0 +1,12 @@ +Add forward declarations. + +--- fasthenry-3.0/src/fasthenry/sparse/spSolve.c.orig 2015-07-22 12:06:20.502771958 +0200 ++++ fasthenry-3.0/src/fasthenry/sparse/spSolve.c 2015-07-22 12:12:03.822798513 +0200 +@@ -95,6 +95,7 @@ + #include "spDefs.h" + + ++static void SolveComplexMatrix( MatrixPtr, RealVector, RealVector ); + + + diff --git a/gnu/packages/patches/fasthenry-spUtils.patch b/gnu/packages/patches/fasthenry-spUtils.patch new file mode 100644 index 0000000000..99f650d53d --- /dev/null +++ b/gnu/packages/patches/fasthenry-spUtils.patch @@ -0,0 +1,12 @@ +Add forward declarations. + +--- fasthenry-3.0/src/fasthenry/sparse/spUtils.c.orig 2015-07-22 12:12:52.579370846 +0200 ++++ fasthenry-3.0/src/fasthenry/sparse/spUtils.c 2015-07-22 12:14:09.636275633 +0200 +@@ -107,6 +107,7 @@ + #include "spDefs.h" + + ++static RealNumber ComplexCondition( MatrixPtr, RealNumber, int* ); + + + |