PaStiX Handbook
6.4.0
Toggle main menu visibility
Main Page
Related Pages
Topics
Modules
Modules List
Data Types
Data Types List
Data Type Index
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Files
File List
Globals
All
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
z
Functions/Subroutines
a
b
c
d
e
f
g
h
i
k
m
o
p
r
s
t
z
Variables
c
f
g
k
l
o
p
r
s
t
Typedefs
a
b
c
e
f
m
p
r
s
t
Enumerations
b
m
p
s
Enumerator
d
f
i
l
p
Macros
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
core_dgetmo.c
Go to the documentation of this file.
1
/**
2
*
3
* @file core_dgetmo.c
4
*
5
* PaStiX kernel routines
6
*
7
* @copyright 2010-2015 Univ. of Tennessee, Univ. of California Berkeley and
8
* Univ. of Colorado Denver. All rights reserved.
9
* @copyright 2015-2024 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
10
* Univ. Bordeaux. All rights reserved.
11
*
12
* @version 6.4.0
13
* @author Mathieu Faverge
14
* @author Gregoire Pichon
15
* @date 2024-07-05
16
* @generated from /builds/j2uR5rszh/0/solverstack/pastix/kernels/core_zgetmo.c, normal z -> d, Fri Jul 25 09:29:43 2025
17
*
18
**/
19
#include "common.h"
20
21
/**
22
******************************************************************************
23
*
24
* @brief Transposes a m-by-n matrix out of place using an extra workspace of size
25
* m-by-n.
26
*
27
*******************************************************************************
28
*
29
* @param[in] m
30
* Number of rows of A.
31
*
32
* @param[in] n
33
* Number of columns of A.
34
*
35
* @param[in] A
36
* Matrix to be transposed.
37
*
38
* @param[in] lda
39
* Leading dimension of matrix A.
40
*
41
* @param[inout] B
42
* On exit B = trans(A).
43
*
44
* @param[in] ldb
45
* Leading dimension of matrix B.
46
*
47
******************************************************************************/
48
void
49
core_dgetmo
(
int
m,
50
int
n,
51
const
double
*A,
52
int
lda,
53
double
*B,
54
int
ldb )
55
{
56
int
i, j;
57
58
/* rectangular transposition (use workspace) */
59
for
(i=0; i<m; i++) {
60
for
(j=0; j<n; j++) {
61
B[j+i*ldb] = A[i+j*lda];
62
}
63
}
64
}
49
core_dgetmo
(
int
m, {
…
}
core_dgetmo
void core_dgetmo(int m, int n, const double *A, int lda, double *B, int ldb)
Transposes a m-by-n matrix out of place using an extra workspace of size m-by-n.
Definition
core_dgetmo.c:49
build-mpi
kernels
core_dgetmo.c
Generated by
1.9.8