aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/fasthenry-spFactor.patch
blob: 52bab729af6e2e1ce0e163c676b9102bc99410c4 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 );
 
 
 
y depend on self....Previously, when cross-compiling, "self" would point to GUILE-3.0 because it came from (package-native-inputs guile-3.0). When cross-compiling, ./configure would see a version in 'guile-3.0.pc' different from its own version and would thus bail out: building Guile 3.0.8-1.cabbage but `/gnu/store/…/bin/guile' has version 3.0.7 * gnu/packages/guile.scm (guile-next)[native-inputs]: Replace "self". Ludovic Courtès 2023-01-19gnu: guile-next: Add '.tarball-version' file to get correct version....So far, "guile --version" and 'guile-3.0.pc' would use "UNKNOWN" as the version string, making the package unsuitable as a drop-in replacement for the 'guile-3.0' package. * gnu/packages/guile.scm (guile-next)[arguments]: Add 'set-version' phase. Ludovic Courtès 2022-12-11gnu: guile-json: Update to 4.7.3....* gnu/packages/guile.scm (guile-json): Update to 4.7.3. Vagrant Cascadian 2022-12-09gnu: guile-next: Update to a1a8558....* gnu/packages/guile.scm (guile-next): Update to a1a8558. Ludovic Courtès 2022-11-06gnu: guile@3.0.8: Add patch to address continuation memory leak....* gnu/packages/patches/guile-continuation-stack-leak.patch: New patch. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/guile.scm (guile-3.0-latest)[source]: Use it. Ludovic Courtès 2022-08-07gnu: guile-sqlite3: Update to 0.1.3....* gnu/packages/guile.scm (guile-sqlite3): Update to 0.1.3. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Olivier Dion