SCALAPACK
2.2.2
LAPACK: Linear Algebra PACKage
Toggle main menu visibility
Main Page
Data Types
Data Types List
Data Type Index
Data Fields
All
a
b
c
d
f
g
i
l
m
n
o
p
r
s
t
u
z
Variables
a
b
c
d
f
g
i
l
m
n
o
p
r
s
t
u
z
Files
File List
File Members
All
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions/Subroutines
!
a
b
c
d
f
g
i
j
k
l
m
n
p
r
s
t
x
z
Variables
Typedefs
a
b
c
f
g
h
m
s
t
v
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
y
z
•
All
Classes
Files
Functions
Variables
Typedefs
Macros
Loading...
Searching...
No Matches
BI_svmcopy.c
Go to the documentation of this file.
1
#include "
Bdef.h
"
2
3
void
BI_svmcopy
(
Int
m,
Int
n,
float
*A,
Int
lda,
float
*buff)
4
/*
5
* performs an vector to matrix copy (unpack) for the data type float
6
*/
7
{
8
Int
i, j;
9
10
if
( (m == lda) || (n == 1) )
11
{
12
m = n * m;
13
for
(i=0; i < m; i++) A[i] = buff[i];
14
}
15
else
if
(m == 1)
16
{
17
for
(j=0; j < n; j++) A[j*lda] = buff[j];
18
}
19
else
20
{
21
for
(j=0; j< n; j++)
22
{
23
for
(i=0; i < m; i++) A[i] = buff[i];
24
A += lda;
25
buff += m;
26
}
27
}
28
}
3
void
BI_svmcopy
(
Int
m,
Int
n,
float
*A,
Int
lda,
float
*buff) {
…
}
BI_svmcopy
void BI_svmcopy(Int m, Int n, float *A, Int lda, float *buff)
Definition
BI_svmcopy.c:3
Int
#define Int
Definition
Bconfig.h:22
Bdef.h
BLACS
SRC
BI_svmcopy.c
Generated on Sun Jan 12 2025 15:58:37 for SCALAPACK by
1.9.8