(prepare-copy) ( v element-size -- length v-data v-inc v-dest-data v-dest-inc copy-data copy-length copy-inc )


Vocabulary
math.blas.vectors.private

Inputs
van object
element-sizean object


Outputs
lengthan object
v-dataan object
v-incan object
v-dest-dataan object
v-dest-incan object
copy-dataan object
copy-lengthan object
copy-incan object


Definition


:: (prepare-copy)
( v element-size -- length v-data v-inc v-dest-data v-dest-inc copy-data copy-length copy-inc )
v [ length>> ] [ data-and-inc ] bi v length>> element-size *
<byte-array> 1 over v length>> 1 ;