LADEL main
Sparse LDL factorization package with rank 1 and rowadd/rowdel updates
ladel_upper_diag.h
Go to the documentation of this file.
1/**
2 * @file ladel_upper_diag.h
3 * @author Ben Hermans
4 * @brief Routine to keep only the upper diagonal elements of a (symmetric) matrix.
5 */
6
7#ifndef LADEL_UPPER_DIAG
8#define LADEL_UPPER_DIAG
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#include "ladel_types.h"
15
16/**
17 * Return @f$triu(M)@f$, that is the upper diagonal elements of @a M.
18 *
19 * @param M Input matrix, contains only upper diagonal elements on output.
20 */
22
23#ifdef __cplusplus
24}
25#endif
26
27#endif /* LADEL_UPPER_DIAG */
Structures and types used in LADEL routines.
void ladel_to_upper_diag(ladel_sparse_matrix *M)
Return , that is the upper diagonal elements of M.
Sparse matrix in compressed column storage.
Definition: ladel_types.h:35