NAG Library Manual, Mark 26
NAG AD Library Manual, Mark 26
NAG C Library Manual, Mark 26
F06 (blas) Chapter Contents
F06 (blas) Chapter Introduction
NAG Library Routine Document
f06ewf (dsctr)
Keyword Search:
NAG Library Manual, Mark 26
NAG AD Library Manual, Mark 26
NAG C Library Manual, Mark 26
F06 (blas) Chapter Contents
F06 (blas) Chapter Introduction
▸
▿
Contents
1
Purpose
2
Specification
3
Description
4
References
5
Arguments
6
Error Indicators and Warnings
7
Accuracy
8
Parallelism and Performance
9
Further Comments
10
Example
© The Numerical Algorithms Group Ltd. 2018
1
Purpose
f06ewf (dsctr)
scatters the elements of a sparse real vector
x
stored in compressed form, into a real vector
y
in full storage form.
2
Specification
Fortran Interface
Subroutine f06ewf (
nz
,
x
,
indx
,
y
)
Integer, Intent (In)
::
nz
,
indx(*)
Real (Kind=nag_wp), Intent (In)
::
x(*)
Real (Kind=nag_wp), Intent (Inout)
::
y(*)
C Header Interface
#include <nagmk26.h>
void
f06ewf_ (
const Integer *
nz
,
const double
x
[]
,
const Integer
indx
[]
,
double
y
[]
)
The routine may be called by its BLAS name
dsctr
.
3
Description
f06ewf (dsctr)
scatters the elements of a vector
x
, stored in compressed form, into a vector,
y
, in full storage form.
4
References
Dodson D S, Grimes R G and Lewis J G (1991) Sparse extensions to the Fortran basic linear algebra subprograms
ACM Trans. Math. Software
17
253–263
5
Arguments
1:
nz
– Integer
Input
On entry
: the number of nonzeros in the sparse vector
x
.
2:
x
*
– Real (Kind=nag_wp) array
Input
Note:
the dimension of the array
x
must be at least
max
1
,
nz
.
On entry
: the nonzero elements of the sparse vector
x
.
3:
indx
*
– Integer array
Input
Note:
the dimension of the array
indx
must be at least
max
1
,
nz
.
On entry
:
indx
i
must contain the index of
x
i
in the sparse vector
x
, for
i
=
1
,
2
,
…
,
nz
.
Constraint
: the indices must be distinct.
4:
y
*
– Real (Kind=nag_wp) array
Input/Output
Note:
the dimension of the array
y
must be at least
max
k
indx
k
.
On entry
: the vector
y
.
On exit
: the vector
y
, with the elements corresponding to indices in
indx
altered.
6
Error Indicators and Warnings
None.
7
Accuracy
Not applicable.
8
Parallelism and Performance
f06ewf (dsctr)
is not threaded in any implementation.
9
Further Comments
None.
10
Example
None.
NAG Library Manual, Mark 26
NAG AD Library Manual, Mark 26
NAG C Library Manual, Mark 26
F06 (blas) Chapter Contents
F06 (blas) Chapter Introduction
© The Numerical Algorithms Group Ltd. 2018