LADEL
main
Sparse LDL factorization package with rank 1 and rowadd/rowdel updates
LADEL
include
ladel_transpose.h
Go to the documentation of this file.
1
/**
2
* @file ladel_transpose.h
3
* @author Ben Hermans
4
* @brief Routine to compute the transpose of a matrix.
5
*/
6
7
#ifndef LADEL_TRANSPOSE_H
8
#define LADEL_TRANSPOSE_H
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
14
#include "
ladel_types.h
"
15
16
/**
17
* Returns the transpose of a matrix, that is @f$out = M^T@f$.
18
*
19
* If @a M is a pattern matrix, or if @a values==FALSE, a pattern matrix is returned
20
* with the pattern of @f$M^T@f$.
21
*
22
* @param M Input matrix
23
* @param values Flag to indicate value or pattern computation
24
* @param work LADEL workspace
25
* @return @f$M^T@f$ (or its pattern)
26
*/
27
ladel_sparse_matrix
*
ladel_transpose
(
ladel_sparse_matrix
*M,
28
ladel_int
values,
29
ladel_work
*work);
30
31
#ifdef __cplusplus
32
}
33
#endif
34
35
#endif
/*LADEL_TRANSPOSE_H*/
ladel_transpose
ladel_sparse_matrix * ladel_transpose(ladel_sparse_matrix *M, ladel_int values, ladel_work *work)
Returns the transpose of a matrix, that is .
Definition:
ladel_transpose.c:5
ladel_types.h
Structures and types used in LADEL routines.
ladel_int
int64_t ladel_int
Type for integer numbers (default: int64_t)
Definition:
ladel_types.h:24
compressed_column_sparse_matrix
Sparse matrix in compressed column storage.
Definition:
ladel_types.h:35
workspace
Workspace required for various routines in LADEL.
Definition:
ladel_types.h:109
Generated by
1.9.2