dope vector
dope vector A vector of data used to assist in accessing the elements in an array. The dope vector contains
(a) the address of a fixed element in the array – this may be the first element present or the element that has all subscripts equated to zero;
(b) the number of subscripts associated with the array, i.e. its dimensionality;
(c) the stride associated with each subscript position, i.e. the number of stored elements that must be skipped over when a subscript's value is changed by 1.
The position in memory of an element is found by taking the inner product of the strides with the differences between the actual subscript values and those that correspond to the fixed element referred to in (a), and adding to this the address of the fixed element.
(a) the address of a fixed element in the array – this may be the first element present or the element that has all subscripts equated to zero;
(b) the number of subscripts associated with the array, i.e. its dimensionality;
(c) the stride associated with each subscript position, i.e. the number of stored elements that must be skipped over when a subscript's value is changed by 1.
The position in memory of an element is found by taking the inner product of the strides with the differences between the actual subscript values and those that correspond to the fixed element referred to in (a), and adding to this the address of the fixed element.
More From encyclopedia.com
Transuranium Elements , transuranium elements, in chemistry, radioactive elements with atomic numbers greater than that of uranium (at. no. 92). All the transuranium element… Biolimiting Elements , Skip to main content
biolimiting elements Electropositive Element , Skip to main content
electropositive element Vessel Element , Skip to main content
vessel element Francium , Francium (revised)
Note: This article, originally published in 1998, was updated in 2006 for the eBook edition.
Overview
Francium is an alkali metal,… Einsteinium , Einsteinium (revised)
Note: This article, originally published in 1998, was updated in 2006 for the eBook edition.
Overview
Einsteinium is a member o…
You Might Also Like
NEARBY TERMS
dope vector