From 2157a0dc280b8071ea108f1422d46278a770730a Mon Sep 17 00:00:00 2001 From: Tim Davis Date: Sun, 22 Oct 2023 23:53:18 -0500 Subject: [PATCH] cholmod: MM definitions --- CHOLMOD/Config/cholmod.h.in | 18 +++++++++--------- CHOLMOD/Include/cholmod.h | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/CHOLMOD/Config/cholmod.h.in b/CHOLMOD/Config/cholmod.h.in index 4f5c255bc..f22fd7903 100644 --- a/CHOLMOD/Config/cholmod.h.in +++ b/CHOLMOD/Config/cholmod.h.in @@ -237,6 +237,15 @@ int cholmod_l_version (int version [3]) ; #define CHOLMOD_DENSE 3 #define CHOLMOD_TRIPLET 4 +// enums used by cholmod_symmetry and cholmod_write +#define CHOLMOD_MM_RECTANGULAR 1 +#define CHOLMOD_MM_UNSYMMETRIC 2 +#define CHOLMOD_MM_SYMMETRIC 3 +#define CHOLMOD_MM_HERMITIAN 4 +#define CHOLMOD_MM_SKEW_SYMMETRIC 5 +#define CHOLMOD_MM_SYMMETRIC_POSDIAG 6 +#define CHOLMOD_MM_HERMITIAN_POSDIAG 7 + //------------------------------------------------------------------------------ // CHOLMOD Common object //------------------------------------------------------------------------------ @@ -3103,15 +3112,6 @@ cholmod_sparse *cholmod_l_vertcat (cholmod_sparse *, cholmod_sparse *, int, /* cholmod_symmetry: determine if a sparse matrix is symmetric */ /* -------------------------------------------------------------------------- */ -// returns one of the following: -#define CHOLMOD_MM_RECTANGULAR 1 -#define CHOLMOD_MM_UNSYMMETRIC 2 -#define CHOLMOD_MM_SYMMETRIC 3 -#define CHOLMOD_MM_HERMITIAN 4 -#define CHOLMOD_MM_SKEW_SYMMETRIC 5 -#define CHOLMOD_MM_SYMMETRIC_POSDIAG 6 -#define CHOLMOD_MM_HERMITIAN_POSDIAG 7 - int cholmod_symmetry ( /* ---- input ---- */ diff --git a/CHOLMOD/Include/cholmod.h b/CHOLMOD/Include/cholmod.h index fb727ef03..d397d7e77 100644 --- a/CHOLMOD/Include/cholmod.h +++ b/CHOLMOD/Include/cholmod.h @@ -237,6 +237,15 @@ int cholmod_l_version (int version [3]) ; #define CHOLMOD_DENSE 3 #define CHOLMOD_TRIPLET 4 +// enums used by cholmod_symmetry and cholmod_write +#define CHOLMOD_MM_RECTANGULAR 1 +#define CHOLMOD_MM_UNSYMMETRIC 2 +#define CHOLMOD_MM_SYMMETRIC 3 +#define CHOLMOD_MM_HERMITIAN 4 +#define CHOLMOD_MM_SKEW_SYMMETRIC 5 +#define CHOLMOD_MM_SYMMETRIC_POSDIAG 6 +#define CHOLMOD_MM_HERMITIAN_POSDIAG 7 + //------------------------------------------------------------------------------ // CHOLMOD Common object //------------------------------------------------------------------------------ @@ -3103,15 +3112,6 @@ cholmod_sparse *cholmod_l_vertcat (cholmod_sparse *, cholmod_sparse *, int, /* cholmod_symmetry: determine if a sparse matrix is symmetric */ /* -------------------------------------------------------------------------- */ -// returns one of the following: -#define CHOLMOD_MM_RECTANGULAR 1 -#define CHOLMOD_MM_UNSYMMETRIC 2 -#define CHOLMOD_MM_SYMMETRIC 3 -#define CHOLMOD_MM_HERMITIAN 4 -#define CHOLMOD_MM_SKEW_SYMMETRIC 5 -#define CHOLMOD_MM_SYMMETRIC_POSDIAG 6 -#define CHOLMOD_MM_HERMITIAN_POSDIAG 7 - int cholmod_symmetry ( /* ---- input ---- */