Macros | Functions
ccolamd.h File Reference
#include <stdlib.h>
#include "SuiteSparse_config.h"
Include dependency graph for ccolamd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CCOLAMD_AGGRESSIVE   2
 
#define CCOLAMD_DATE   "May 4, 2016"
 
#define CCOLAMD_DEFRAG_COUNT   2
 
#define CCOLAMD_DENSE_COL   1
 
#define CCOLAMD_DENSE_ROW   0
 
#define CCOLAMD_EMPTY_COL   8
 
#define CCOLAMD_EMPTY_ROW   7
 
#define CCOLAMD_ERROR_A_not_present   (-1)
 
#define CCOLAMD_ERROR_A_too_small   (-7)
 
#define CCOLAMD_ERROR_col_length_negative   (-8)
 
#define CCOLAMD_ERROR_internal_error   (-999)
 
#define CCOLAMD_ERROR_invalid_cmember   (-11)
 
#define CCOLAMD_ERROR_ncol_negative   (-4)
 
#define CCOLAMD_ERROR_nnz_negative   (-5)
 
#define CCOLAMD_ERROR_nrow_negative   (-3)
 
#define CCOLAMD_ERROR_out_of_memory   (-10)
 
#define CCOLAMD_ERROR_p0_nonzero   (-6)
 
#define CCOLAMD_ERROR_p_not_present   (-2)
 
#define CCOLAMD_ERROR_row_index_out_of_bounds   (-9)
 
#define CCOLAMD_INFO1   4
 
#define CCOLAMD_INFO2   5
 
#define CCOLAMD_INFO3   6
 
#define CCOLAMD_KNOBS   20
 
#define CCOLAMD_LU   3
 
#define CCOLAMD_MAIN_VERSION   2
 
#define CCOLAMD_NEWLY_EMPTY_COL   10
 
#define CCOLAMD_NEWLY_EMPTY_ROW   9
 
#define CCOLAMD_OK   (0)
 
#define CCOLAMD_OK_BUT_JUMBLED   (1)
 
#define CCOLAMD_STATS   20
 
#define CCOLAMD_STATUS   3
 
#define CCOLAMD_SUB_VERSION   9
 
#define CCOLAMD_SUBSUB_VERSION   6
 
#define CCOLAMD_VERSION   CCOLAMD_VERSION_CODE(CCOLAMD_MAIN_VERSION,CCOLAMD_SUB_VERSION)
 
#define CCOLAMD_VERSION_CODE(main, sub)   ((main) * 1000 + (sub))
 

Functions

int ccolamd (int n_row, int n_col, int Alen, int A [], int p [], double knobs [CCOLAMD_KNOBS], int stats [CCOLAMD_STATS], int cmember [])
 
int ccolamd2 (int n_row, int n_col, int Alen, int A [], int p [], double knobs [CCOLAMD_KNOBS], int stats [CCOLAMD_STATS], int Front_npivcol [], int Front_nrows [], int Front_ncols [], int Front_parent [], int Front_cols [], int *p_nfr, int InFront [], int cmember [])
 
SuiteSparse_long ccolamd2_l (SuiteSparse_long n_row, SuiteSparse_long n_col, SuiteSparse_long Alen, SuiteSparse_long A [], SuiteSparse_long p [], double knobs [CCOLAMD_KNOBS], SuiteSparse_long stats [CCOLAMD_STATS], SuiteSparse_long Front_npivcol [], SuiteSparse_long Front_nrows [], SuiteSparse_long Front_ncols [], SuiteSparse_long Front_parent [], SuiteSparse_long Front_cols [], SuiteSparse_long *p_nfr, SuiteSparse_long InFront [], SuiteSparse_long cmember [])
 
void ccolamd_apply_order (int Front [], const int Order [], int Temp [], int nn, int nfr)
 
void ccolamd_fsize (int nn, int MaxFsize [], int Fnrows [], int Fncols [], int Parent [], int Npiv [])
 
SuiteSparse_long ccolamd_l (SuiteSparse_long n_row, SuiteSparse_long n_col, SuiteSparse_long Alen, SuiteSparse_long A [], SuiteSparse_long p [], double knobs [CCOLAMD_KNOBS], SuiteSparse_long stats [CCOLAMD_STATS], SuiteSparse_long cmember [])
 
void ccolamd_l_apply_order (SuiteSparse_long Front [], const SuiteSparse_long Order [], SuiteSparse_long Temp [], SuiteSparse_long nn, SuiteSparse_long nfr)
 
void ccolamd_l_fsize (SuiteSparse_long nn, SuiteSparse_long MaxFsize [], SuiteSparse_long Fnrows [], SuiteSparse_long Fncols [], SuiteSparse_long Parent [], SuiteSparse_long Npiv [])
 
SuiteSparse_long ccolamd_l_post_tree (SuiteSparse_long root, SuiteSparse_long k, SuiteSparse_long Child [], const SuiteSparse_long Sibling [], SuiteSparse_long Order [], SuiteSparse_long Stack [])
 
void ccolamd_l_postorder (SuiteSparse_long nn, SuiteSparse_long Parent [], SuiteSparse_long Npiv [], SuiteSparse_long Fsize [], SuiteSparse_long Order [], SuiteSparse_long Child [], SuiteSparse_long Sibling [], SuiteSparse_long Stack [], SuiteSparse_long Front_cols [], SuiteSparse_long cmember [])
 
size_t ccolamd_l_recommended (SuiteSparse_long nnz, SuiteSparse_long n_row, SuiteSparse_long n_col)
 
void ccolamd_l_report (SuiteSparse_long stats [CCOLAMD_STATS])
 
void ccolamd_l_set_defaults (double knobs [CCOLAMD_KNOBS])
 
int ccolamd_post_tree (int root, int k, int Child [], const int Sibling [], int Order [], int Stack [])
 
void ccolamd_postorder (int nn, int Parent [], int Npiv [], int Fsize [], int Order [], int Child [], int Sibling [], int Stack [], int Front_cols [], int cmember [])
 
size_t ccolamd_recommended (int nnz, int n_row, int n_col)
 
void ccolamd_report (int stats [CCOLAMD_STATS])
 
void ccolamd_set_defaults (double knobs [CCOLAMD_KNOBS])
 
int csymamd (int n, int A [], int p [], int perm [], double knobs [CCOLAMD_KNOBS], int stats [CCOLAMD_STATS], void *(*allocate)(size_t, size_t), void(*release)(void *), int cmember [], int stype)
 
SuiteSparse_long csymamd_l (SuiteSparse_long n, SuiteSparse_long A [], SuiteSparse_long p [], SuiteSparse_long perm [], double knobs [CCOLAMD_KNOBS], SuiteSparse_long stats [CCOLAMD_STATS], void *(*allocate)(size_t, size_t), void(*release)(void *), SuiteSparse_long cmember [], SuiteSparse_long stype)
 
void csymamd_l_report (SuiteSparse_long stats [CCOLAMD_STATS])
 
void csymamd_report (int stats [CCOLAMD_STATS])
 

Macro Definition Documentation

◆ CCOLAMD_AGGRESSIVE

#define CCOLAMD_AGGRESSIVE   2

Definition at line 69 of file ccolamd.h.

◆ CCOLAMD_DATE

#define CCOLAMD_DATE   "May 4, 2016"

Definition at line 44 of file ccolamd.h.

◆ CCOLAMD_DEFRAG_COUNT

#define CCOLAMD_DEFRAG_COUNT   2

Definition at line 75 of file ccolamd.h.

◆ CCOLAMD_DENSE_COL

#define CCOLAMD_DENSE_COL   1

Definition at line 66 of file ccolamd.h.

◆ CCOLAMD_DENSE_ROW

#define CCOLAMD_DENSE_ROW   0

Definition at line 63 of file ccolamd.h.

◆ CCOLAMD_EMPTY_COL

#define CCOLAMD_EMPTY_COL   8

Definition at line 88 of file ccolamd.h.

◆ CCOLAMD_EMPTY_ROW

#define CCOLAMD_EMPTY_ROW   7

Definition at line 86 of file ccolamd.h.

◆ CCOLAMD_ERROR_A_not_present

#define CCOLAMD_ERROR_A_not_present   (-1)

Definition at line 97 of file ccolamd.h.

◆ CCOLAMD_ERROR_A_too_small

#define CCOLAMD_ERROR_A_too_small   (-7)

Definition at line 103 of file ccolamd.h.

◆ CCOLAMD_ERROR_col_length_negative

#define CCOLAMD_ERROR_col_length_negative   (-8)

Definition at line 104 of file ccolamd.h.

◆ CCOLAMD_ERROR_internal_error

#define CCOLAMD_ERROR_internal_error   (-999)

Definition at line 108 of file ccolamd.h.

◆ CCOLAMD_ERROR_invalid_cmember

#define CCOLAMD_ERROR_invalid_cmember   (-11)

Definition at line 107 of file ccolamd.h.

◆ CCOLAMD_ERROR_ncol_negative

#define CCOLAMD_ERROR_ncol_negative   (-4)

Definition at line 100 of file ccolamd.h.

◆ CCOLAMD_ERROR_nnz_negative

#define CCOLAMD_ERROR_nnz_negative   (-5)

Definition at line 101 of file ccolamd.h.

◆ CCOLAMD_ERROR_nrow_negative

#define CCOLAMD_ERROR_nrow_negative   (-3)

Definition at line 99 of file ccolamd.h.

◆ CCOLAMD_ERROR_out_of_memory

#define CCOLAMD_ERROR_out_of_memory   (-10)

Definition at line 106 of file ccolamd.h.

◆ CCOLAMD_ERROR_p0_nonzero

#define CCOLAMD_ERROR_p0_nonzero   (-6)

Definition at line 102 of file ccolamd.h.

◆ CCOLAMD_ERROR_p_not_present

#define CCOLAMD_ERROR_p_not_present   (-2)

Definition at line 98 of file ccolamd.h.

◆ CCOLAMD_ERROR_row_index_out_of_bounds

#define CCOLAMD_ERROR_row_index_out_of_bounds   (-9)

Definition at line 105 of file ccolamd.h.

◆ CCOLAMD_INFO1

#define CCOLAMD_INFO1   4

Definition at line 81 of file ccolamd.h.

◆ CCOLAMD_INFO2

#define CCOLAMD_INFO2   5

Definition at line 82 of file ccolamd.h.

◆ CCOLAMD_INFO3

#define CCOLAMD_INFO3   6

Definition at line 83 of file ccolamd.h.

◆ CCOLAMD_KNOBS

#define CCOLAMD_KNOBS   20

Definition at line 57 of file ccolamd.h.

◆ CCOLAMD_LU

#define CCOLAMD_LU   3

Definition at line 72 of file ccolamd.h.

◆ CCOLAMD_MAIN_VERSION

#define CCOLAMD_MAIN_VERSION   2

Definition at line 46 of file ccolamd.h.

◆ CCOLAMD_NEWLY_EMPTY_COL

#define CCOLAMD_NEWLY_EMPTY_COL   10

Definition at line 92 of file ccolamd.h.

◆ CCOLAMD_NEWLY_EMPTY_ROW

#define CCOLAMD_NEWLY_EMPTY_ROW   9

Definition at line 90 of file ccolamd.h.

◆ CCOLAMD_OK

#define CCOLAMD_OK   (0)

Definition at line 95 of file ccolamd.h.

◆ CCOLAMD_OK_BUT_JUMBLED

#define CCOLAMD_OK_BUT_JUMBLED   (1)

Definition at line 96 of file ccolamd.h.

◆ CCOLAMD_STATS

#define CCOLAMD_STATS   20

Definition at line 60 of file ccolamd.h.

◆ CCOLAMD_STATUS

#define CCOLAMD_STATUS   3

Definition at line 78 of file ccolamd.h.

◆ CCOLAMD_SUB_VERSION

#define CCOLAMD_SUB_VERSION   9

Definition at line 47 of file ccolamd.h.

◆ CCOLAMD_SUBSUB_VERSION

#define CCOLAMD_SUBSUB_VERSION   6

Definition at line 48 of file ccolamd.h.

◆ CCOLAMD_VERSION

Definition at line 49 of file ccolamd.h.

◆ CCOLAMD_VERSION_CODE

#define CCOLAMD_VERSION_CODE (   main,
  sub 
)    ((main) * 1000 + (sub))

Definition at line 45 of file ccolamd.h.

Function Documentation

◆ ccolamd()

int ccolamd ( int  n_row,
int  n_col,
int  Alen,
int  A[],
int  p[],
double  knobs[CCOLAMD_KNOBS],
int  stats[CCOLAMD_STATS],
int  cmember[] 
)

◆ ccolamd2()

int ccolamd2 ( int  n_row,
int  n_col,
int  Alen,
int  A[],
int  p[],
double  knobs[CCOLAMD_KNOBS],
int  stats[CCOLAMD_STATS],
int  Front_npivcol[],
int  Front_nrows[],
int  Front_ncols[],
int  Front_parent[],
int  Front_cols[],
int p_nfr,
int  InFront[],
int  cmember[] 
)

◆ ccolamd2_l()

SuiteSparse_long ccolamd2_l ( SuiteSparse_long  n_row,
SuiteSparse_long  n_col,
SuiteSparse_long  Alen,
SuiteSparse_long  A[],
SuiteSparse_long  p[],
double  knobs[CCOLAMD_KNOBS],
SuiteSparse_long  stats[CCOLAMD_STATS],
SuiteSparse_long  Front_npivcol[],
SuiteSparse_long  Front_nrows[],
SuiteSparse_long  Front_ncols[],
SuiteSparse_long  Front_parent[],
SuiteSparse_long  Front_cols[],
SuiteSparse_long p_nfr,
SuiteSparse_long  InFront[],
SuiteSparse_long  cmember[] 
)

◆ ccolamd_apply_order()

void ccolamd_apply_order ( int  Front[],
const int  Order[],
int  Temp[],
int  nn,
int  nfr 
)

◆ ccolamd_fsize()

void ccolamd_fsize ( int  nn,
int  MaxFsize[],
int  Fnrows[],
int  Fncols[],
int  Parent[],
int  Npiv[] 
)

◆ ccolamd_l()

SuiteSparse_long ccolamd_l ( SuiteSparse_long  n_row,
SuiteSparse_long  n_col,
SuiteSparse_long  Alen,
SuiteSparse_long  A[],
SuiteSparse_long  p[],
double  knobs[CCOLAMD_KNOBS],
SuiteSparse_long  stats[CCOLAMD_STATS],
SuiteSparse_long  cmember[] 
)

◆ ccolamd_l_apply_order()

void ccolamd_l_apply_order ( SuiteSparse_long  Front[],
const SuiteSparse_long  Order[],
SuiteSparse_long  Temp[],
SuiteSparse_long  nn,
SuiteSparse_long  nfr 
)

◆ ccolamd_l_fsize()

void ccolamd_l_fsize ( SuiteSparse_long  nn,
SuiteSparse_long  MaxFsize[],
SuiteSparse_long  Fnrows[],
SuiteSparse_long  Fncols[],
SuiteSparse_long  Parent[],
SuiteSparse_long  Npiv[] 
)

◆ ccolamd_l_post_tree()

SuiteSparse_long ccolamd_l_post_tree ( SuiteSparse_long  root,
SuiteSparse_long  k,
SuiteSparse_long  Child[],
const SuiteSparse_long  Sibling[],
SuiteSparse_long  Order[],
SuiteSparse_long  Stack[] 
)

◆ ccolamd_l_postorder()

void ccolamd_l_postorder ( SuiteSparse_long  nn,
SuiteSparse_long  Parent[],
SuiteSparse_long  Npiv[],
SuiteSparse_long  Fsize[],
SuiteSparse_long  Order[],
SuiteSparse_long  Child[],
SuiteSparse_long  Sibling[],
SuiteSparse_long  Stack[],
SuiteSparse_long  Front_cols[],
SuiteSparse_long  cmember[] 
)

◆ ccolamd_l_recommended()

size_t ccolamd_l_recommended ( SuiteSparse_long  nnz,
SuiteSparse_long  n_row,
SuiteSparse_long  n_col 
)

◆ ccolamd_l_report()

void ccolamd_l_report ( SuiteSparse_long  stats[CCOLAMD_STATS])

◆ ccolamd_l_set_defaults()

void ccolamd_l_set_defaults ( double  knobs[CCOLAMD_KNOBS])

◆ ccolamd_post_tree()

int ccolamd_post_tree ( int  root,
int  k,
int  Child[],
const int  Sibling[],
int  Order[],
int  Stack[] 
)

◆ ccolamd_postorder()

void ccolamd_postorder ( int  nn,
int  Parent[],
int  Npiv[],
int  Fsize[],
int  Order[],
int  Child[],
int  Sibling[],
int  Stack[],
int  Front_cols[],
int  cmember[] 
)

◆ ccolamd_recommended()

size_t ccolamd_recommended ( int  nnz,
int  n_row,
int  n_col 
)

◆ ccolamd_report()

void ccolamd_report ( int  stats[CCOLAMD_STATS])

◆ ccolamd_set_defaults()

void ccolamd_set_defaults ( double  knobs[CCOLAMD_KNOBS])

◆ csymamd()

int csymamd ( int  n,
int  A[],
int  p[],
int  perm[],
double  knobs[CCOLAMD_KNOBS],
int  stats[CCOLAMD_STATS],
void *(*)(size_t, size_t allocate,
void(*)(void *)  release,
int  cmember[],
int  stype 
)

◆ csymamd_l()

SuiteSparse_long csymamd_l ( SuiteSparse_long  n,
SuiteSparse_long  A[],
SuiteSparse_long  p[],
SuiteSparse_long  perm[],
double  knobs[CCOLAMD_KNOBS],
SuiteSparse_long  stats[CCOLAMD_STATS],
void *(*)(size_t, size_t allocate,
void(*)(void *)  release,
SuiteSparse_long  cmember[],
SuiteSparse_long  stype 
)

◆ csymamd_l_report()

void csymamd_l_report ( SuiteSparse_long  stats[CCOLAMD_STATS])

◆ csymamd_report()

void csymamd_report ( int  stats[CCOLAMD_STATS])


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:47