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 d7989805982079e96b3c0d3d01fb440f5e401941 authored by Ben Hermans on 20 April 2020, 10:46:06 UTC, committed by Ben Hermans on 20 April 2020, 10:46:06 UTC
Simple factorization and dense solve in mex
1 parent cee2741
  • Files
  • Changes
  • e395d68
  • /
  • include
  • /
  • constants.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:d7989805982079e96b3c0d3d01fb440f5e401941
directory badge Iframe embedding
swh:1:dir:8b17d39f88c3fa7933ba68cc2ce39ce7bc8df85e
content badge Iframe embedding
swh:1:cnt:60e440aa341a11aaeee5f5b6bfd3decf9e53bbe5
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 ...
constants.h
#ifndef LADEL_CONSTANTS_H
#define LADEL_CONSTANTS_H

#define TRUE 1
#define FALSE 0

#define SUCCESS 1
#define FAIL -1

#define NONE -1

#define UNSYMMETRIC 0
#define UPPER 1 /**< Use only upper part of matrix*/
#define LOWER -1 /**< Use only lower part of matrix*/

#define AMD 1
#define NO_ORDERING 0
#define GIVEN_ORDERING 2

#define IS_ROOT(col, etree) ((etree)[(col)] == NONE)

#define MARKED 1
#define UNMARKED 0
#define MARK(nodes, k) (nodes[(k)] = MARKED)
#define UNMARK(nodes, k) (nodes[(k)] = UNMARKED)
#define IS_MARKED(nodes, k) (nodes[(k)] == MARKED)

#define SET_HAS_CHANGED TRUE
#define SET_HAS_NOT_CHANGED FALSE
#define MAX_SET_SIZE_EXCEEDED NONE

#define UPDATE TRUE
#define DOWNDATE FALSE

#endif /*LADEL_CONSTANTS_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 ...

back to top

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