In computer programming
, a dope vector
is a data structure
used to hold information about an array
, especially its memory layout
A dope vector typically contains information about the type of array element, rank of an array, the extents of an array, and the stride of an array as well as a pointer to block in memory containing the array elements.
It is often used in compilers to pass entire arrays between procedures in a high level language like Fortran.