LADEL
main
Sparse LDL factorization package with rank 1 and rowadd/rowdel updates
LADEL
include
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
11
extern
"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
*/
21
void
ladel_to_upper_diag
(
ladel_sparse_matrix
*M);
22
23
#ifdef __cplusplus
24
}
25
#endif
26
27
#endif
/* LADEL_UPPER_DIAG */
ladel_types.h
Structures and types used in LADEL routines.
ladel_to_upper_diag
void ladel_to_upper_diag(ladel_sparse_matrix *M)
Return , that is the upper diagonal elements of M.
Definition:
ladel_upper_diag.c:7
compressed_column_sparse_matrix
Sparse matrix in compressed column storage.
Definition:
ladel_types.h:35
Generated by
1.9.2