Neutral Binding
MPI_TYPE_VECTOR( count, blocklength, stride, oldtype,
newtype)
[ IN count] number of blocks (nonnegative integer)
[ IN blocklength] number of elements in each block
(nonnegative integer)
[ IN stride] number of elements between start of each block (intege
r)
[ IN oldtype] old datatype (handle)
[ OUT newtype] new datatype (handle)
C Binding
int MPI_Type_vector(int count, int blocklength, int stride, MPI_Datatype oldtype, MPI_Datatype *newtype)
FORTRAN Binding
MPI_TYPE_VECTOR(COUNT, BLOCKLENGTH, STRIDE, OLDTYPE, NEWTYPE, IERROR) INTEGER COUNT, BLOCKLENGTH, STRIDE, OLDTYPE, NEWTYPE, IERROR
C++ Binding (in the MPI:: namespace)
Datatype Datatype::Create_vector(int count, int blocklength, int stride) const
| |