Routines to compute the elimination tree of a matrix.
Computing the elimination tree is the first part of the symbolic factorization. One routine in this file simply computes the etree, the other (compile with -DLADEL_SIMPLE_COL_COUNTS) computes the etree and column counts in parallel (but has worse time complexity).
Definition in file ladel_etree.h.
#include "ladel_types.h"
Include dependency graph for ladel_etree.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| ladel_int | ladel_etree (ladel_sparse_matrix *M, ladel_symbolics *sym, ladel_work *work) |
| Computes the elimination tree of a matrix. More... | |
| ladel_int | ladel_etree_and_col_counts (ladel_sparse_matrix *M, ladel_symbolics *sym, ladel_work *work) |
| Computes the elimination tree and column counts of a matrix. More... | |
| ladel_int ladel_etree | ( | ladel_sparse_matrix * | M, |
| ladel_symbolics * | sym, | ||
| ladel_work * | work | ||
| ) |
Computes the elimination tree of a matrix.
This tree is stored in sym->etree.
| M | Matrix |
| sym | Symbolics struct for the factorization |
| work | LADEL workspace |
Definition at line 6 of file ladel_etree.c.
Here is the caller graph for this function:| ladel_int ladel_etree_and_col_counts | ( | ladel_sparse_matrix * | M, |
| ladel_symbolics * | sym, | ||
| ladel_work * | work | ||
| ) |
Computes the elimination tree and column counts of a matrix.
This function can be used to do the whole symbolic analysis at once, but has a worse asymptotic time complexity than using etree, postorder and col_counts sequentially.
| M | Matrix |
| sym | Symbolics struct for the factorization |
| work | LADEL workspace |
Definition at line 38 of file ladel_etree.c.
Here is the caller graph for this function: