SCM

SCM Repository

[matrix] Annotation of /pkg/Matrix/src/CHOLMOD/Include/cholmod_camd.h
ViewVC logotype

Annotation of /pkg/Matrix/src/CHOLMOD/Include/cholmod_camd.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2915 - (view) (download) (as text)

1 : mmaechler 2915 /* ========================================================================== */
2 :     /* === Include/cholmod_camd.h =============================================== */
3 :     /* ========================================================================== */
4 :    
5 :     /* -----------------------------------------------------------------------------
6 :     * CHOLMOD/Include/cholmod_camd.h.
7 :     * Copyright (C) 2005-2013, Univ. of Florida. Author: Timothy A. Davis
8 :     * CHOLMOD/Include/cholmod_partition.h is licensed under Version 2.1 of the GNU
9 :     * Lesser General Public License. See lesser.txt for a text of the license.
10 :     * CHOLMOD is also available under other licenses; contact authors for details.
11 :     * -------------------------------------------------------------------------- */
12 :    
13 :     /* CHOLMOD Partition module, interface to CAMD, CCOLAMD, and CSYMAMD
14 :     *
15 :     * An interface to CCOLAMD and CSYMAMD, constrained minimum degree ordering
16 :     * methods which order a matrix following constraints determined via nested
17 :     * dissection.
18 :     *
19 :     * These functions do not require METIS. They are installed unless NCAMD
20 :     * is defined:
21 :     * cholmod_ccolamd interface to CCOLAMD ordering
22 :     * cholmod_csymamd interface to CSYMAMD ordering
23 :     * cholmod_camd interface to CAMD ordering
24 :     *
25 :     * Requires the Core and Cholesky modules, and two packages: CAMD,
26 :     * and CCOLAMD. Used by functions in the Partition Module.
27 :     */
28 :    
29 :     #ifndef CHOLMOD_CAMD_H
30 :     #define CHOLMOD_CAMD_H
31 :    
32 :     #include "cholmod_core.h"
33 :    
34 :     /* -------------------------------------------------------------------------- */
35 :     /* cholmod_ccolamd */
36 :     /* -------------------------------------------------------------------------- */
37 :    
38 :     /* Order AA' or A(:,f)*A(:,f)' using CCOLAMD. */
39 :    
40 :     int cholmod_ccolamd
41 :     (
42 :     /* ---- input ---- */
43 :     cholmod_sparse *A, /* matrix to order */
44 :     int *fset, /* subset of 0:(A->ncol)-1 */
45 :     size_t fsize, /* size of fset */
46 :     int *Cmember, /* size A->nrow. Cmember [i] = c if row i is in the
47 :     * constraint set c. c must be >= 0. The # of
48 :     * constraint sets is max (Cmember) + 1. If Cmember is
49 :     * NULL, then it is interpretted as Cmember [i] = 0 for
50 :     * all i */
51 :     /* ---- output --- */
52 :     int *Perm, /* size A->nrow, output permutation */
53 :     /* --------------- */
54 :     cholmod_common *Common
55 :     ) ;
56 :    
57 :     int cholmod_l_ccolamd (cholmod_sparse *, SuiteSparse_long *, size_t,
58 :     SuiteSparse_long *, SuiteSparse_long *, cholmod_common *) ;
59 :    
60 :     /* -------------------------------------------------------------------------- */
61 :     /* cholmod_csymamd */
62 :     /* -------------------------------------------------------------------------- */
63 :    
64 :     /* Order A using CSYMAMD. */
65 :    
66 :     int cholmod_csymamd
67 :     (
68 :     /* ---- input ---- */
69 :     cholmod_sparse *A, /* matrix to order */
70 :     /* ---- output --- */
71 :     int *Cmember, /* size nrow. see cholmod_ccolamd above */
72 :     int *Perm, /* size A->nrow, output permutation */
73 :     /* --------------- */
74 :     cholmod_common *Common
75 :     ) ;
76 :    
77 :     int cholmod_l_csymamd (cholmod_sparse *, SuiteSparse_long *,
78 :     SuiteSparse_long *, cholmod_common *) ;
79 :    
80 :     /* -------------------------------------------------------------------------- */
81 :     /* cholmod_camd */
82 :     /* -------------------------------------------------------------------------- */
83 :    
84 :     /* Order A using CAMD. */
85 :    
86 :     int cholmod_camd
87 :     (
88 :     /* ---- input ---- */
89 :     cholmod_sparse *A, /* matrix to order */
90 :     int *fset, /* subset of 0:(A->ncol)-1 */
91 :     size_t fsize, /* size of fset */
92 :     /* ---- output --- */
93 :     int *Cmember, /* size nrow. see cholmod_ccolamd above */
94 :     int *Perm, /* size A->nrow, output permutation */
95 :     /* --------------- */
96 :     cholmod_common *Common
97 :     ) ;
98 :    
99 :     int cholmod_l_camd (cholmod_sparse *, SuiteSparse_long *, size_t,
100 :     SuiteSparse_long *, SuiteSparse_long *, cholmod_common *) ;
101 :    
102 :     #endif

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge