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

Revision 5371c917259900b4efeffd61260e9ab9f80f2249 authored by Ben Hermans on 25 June 2020, 08:45:07 UTC, committed by Ben Hermans on 25 June 2020, 08:45:07 UTC
Add documentation and change some function signatures
1 parent 97025d4
  • Files
  • Changes
  • 9be602c
  • /
  • include
  • /
  • ladel_pattern.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.

  • revision
  • directory
  • content
revision badge
swh:1:rev:5371c917259900b4efeffd61260e9ab9f80f2249
directory badge Iframe embedding
swh:1:dir:d3c1510be47586da317303bf0d52a9da0f013bf2
content badge Iframe embedding
swh:1:cnt:07e179b4c74da47adaebeeb9d640b148ebc01237
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.

  • revision
  • directory
  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
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_pattern.h
/**
 * @file ladel_pattern.h
 * @author Ben Hermans
 * @brief Routines to compute the pattern of the result of a backsolve.
 * @details These routines are used to compute the pattern of the (next) row in L during the numerical factorization,
 * or more generally as a first step in performing a backsolve operation with a sparse right hand side.
 */

#ifndef LADEL_PATTERN_H
#define LADEL_PATTERN_H

#include "ladel_types.h"

/**
 * Computes the pattern of the (next) row in L.
 * 
 * @note This pattern is stored in sym->pattern[start] through sym->pattern[m-1], where start is the return
 * value of this function.
 * 
 * @param M     Matrix to be factorized
 * @param sym   Symbolics of the factorization
 * @param row   Row in L of which to compute the pattern
 * @return      Starting index for the pattern
 */
ladel_int ladel_nonzero_pattern_of_row_in_L(    ladel_sparse_matrix *M, 
                                                ladel_symbolics     *sym,
                                                ladel_int           row);

/**
 * Computes a depth-first search of the given pattern through the elimination tree.
 * 
 * This routine computes the pattern of the result of a backsolve (with a sparse right hand side).
 * 
 * @note This pattern is stored in sym->pattern[start] through sym->pattern[m-1], where start is the return
 * value of this function.
 * 
 * @param W             Right hand side vector of the backsolve
 * @param sym           Symbolics struct
 * @param col_in_W      Column in W to consider
 * @param maximum_row   Perform the Gaussian elimination only up until this row (not included)
 * @return              Starting index for the pattern
 */
ladel_int ladel_etree_dfs(  ladel_sparse_matrix *W, 
                            ladel_symbolics     *sym,
                            ladel_int           col_in_W,
                            ladel_int           maximum_row);

#endif /*LADEL_PATTERN_H*/
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

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