LADEL main
Sparse LDL factorization package with rank 1 and rowadd/rowdel updates
ladel_col_counts.h
Go to the documentation of this file.
1/**
2 * @file ladel_col_counts.h
3 * @author Ben Hermans
4 * @brief Computes the col counts needed for the symbolic factorization (after etree and postorder).
5 * @details The routine in this file computes the column counts of the factor assuming the etree and
6 * postordering have been performed prior to this. An alternative (with worse asymptotic complexity)
7 * that computes the etree and column counts in one go, is @a ladel_etree_and_col_counts in ladel_etree.c.
8 */
9
10#ifndef LADEL_COL_COUNTS_H
11#define LADEL_COL_COUNTS_H
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#include "ladel_types.h"
18
19/**
20 * Computes the column counts of the factor.
21 *
22 * This routine should only be called after the etree and postorder routines.
23 *
24 * @param M Sparse matrix to be analyzed
25 * @param sym Struct holding symbolic information
26 * @param work LADEL workspace
27 * @return Status
28 */
30 ladel_symbolics *sym,
31 ladel_work *work);
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif /*LADEL_COL_COUNTS_H*/
ladel_int ladel_col_counts(ladel_sparse_matrix *M, ladel_symbolics *sym, ladel_work *work)
Computes the column counts of the factor.
Structures and types used in LADEL routines.
int64_t ladel_int
Type for integer numbers (default: int64_t)
Definition: ladel_types.h:24
Sparse matrix in compressed column storage.
Definition: ladel_types.h:35
Structure capturing symbolic information used for and during the factorization.
Definition: ladel_types.h:54
Workspace required for various routines in LADEL.
Definition: ladel_types.h:109