Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • d3c1510
  • /
  • ladel_etree.h
Raw File Download
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:ac40097867a933fba00e1bc1208f692e2ce5ece2
directory badge Iframe embedding
swh:1:dir:d3c1510be47586da317303bf0d52a9da0f013bf2
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
ladel_etree.h
/**
 * @file ladel_etree.h
 * @author Ben Hermans
 * @brief Routines to compute the elimination tree of a matrix.
 * @details 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 -DSIMPLE_COL_COUNTS) 
 * computes the etree and column counts in parallel (but has worse time complexity).
 */

#ifndef LADEL_ETREE_H
#define LADEL_ETREE_H

#include "ladel_types.h"
/**
 * Computes the elimination tree of a matrix.
 * 
 * This tree is stored in sym->etree.
 * 
 * @param M     Matrix
 * @param sym   Symbolics struct for the factorization
 * @param work  LADEL workspace
 * @return      Status
 */
ladel_int ladel_etree(  ladel_sparse_matrix *M, 
                        ladel_symbolics     *sym, 
                        ladel_work          *work);

#ifdef SIMPLE_COL_COUNTS
/**
 * 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.
 * 
 * @param M     Matrix
 * @param sym   Symbolics struct for the factorization
 * @param work  LADEL workspace
 * @return      Status
 */
ladel_int ladel_etree_and_col_counts(   ladel_sparse_matrix *M, 
                                        ladel_symbolics     *sym, 
                                        ladel_work          *work);
#endif

#endif /*LADEL_ETREE_H*/

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top