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_debug_print.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:7f14aab6ed37fe9689666f83a73cfffa829eedc8
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_debug_print.h
/**
 * @file ladel_debug_print.h
 * @author Ben Hermans
 * @brief Routines to print out matrices and vectors.
 * @details The (majority of) routines here print output that can be entered into Matlab for further inspection of the matrix/vector.
 */

#ifndef LADEL_DEBUG_PRINT_H
#define LADEL_DEBUG_PRINT_H

#include "ladel_global.h"
#include "ladel_types.h"

/**
 * Prints output that can be copied into Matlab to retrieve the given matrix.
 * 
 * @param M Matrix to be printed
 */
void ladel_print_sparse_matrix_matlab(ladel_sparse_matrix *M);

/**
 * Prints the contents of all entries in a matrix.
 * 
 * The matrix may have unused entries if the nz field is active. These entries are also printed
 * by this function for inspection.
 * 
 * @param M Matrix to be printed
 */
void ladel_print_sparse_matrix_entries(ladel_sparse_matrix *M);

/**
 * Prints output that can be copied into Matlab to retrieve the given double vector.
 * 
 * @param x     Vector to be printed
 * @param len   Length of the vector to be printed
 */
void ladel_print_dense_vector_matlab(   ladel_double    *x, 
                                        size_t          len);

/**
 * Prints output that can be copied into Matlab to retrieve the given double vector.
 * 
 * @param x     Vector to be printed
 * @param len   Length of the vector to be printed
 */
void ladel_print_dense_int_vector_matlab(   ladel_int   *x, 
                                            size_t      len);

/**
 * Prints output that can be copied into Matlab to retrieve the given factor.
 * 
 * This function basically prints L and D_inv.
 * 
 * @param LD    Factor to be printed
 */
void ladel_print_factor_matlab(ladel_factor *LD);

/**
 * Print the content of an index set.
 * 
 * @param set   Set to be printed
 */
void ladel_print_set(ladel_set *set);

#endif
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