LADEL main
Sparse LDL factorization package with rank 1 and rowadd/rowdel updates
Functions
ladel_etree.h File Reference

Detailed Description

Routines to compute the elimination tree of a matrix.

Author
Ben Hermans

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...
 

Function Documentation

◆ ladel_etree()

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.

Parameters
MMatrix
symSymbolics struct for the factorization
workLADEL workspace
Returns
Status

Definition at line 6 of file ladel_etree.c.

+ Here is the caller graph for this function:

◆ ladel_etree_and_col_counts()

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.

Parameters
MMatrix
symSymbolics struct for the factorization
workLADEL workspace
Returns
Status

Definition at line 38 of file ladel_etree.c.

+ Here is the caller graph for this function: