30.10.2014 Views

o_195h4n6al16jb186b1b2qs7fgssa.pdf

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Cycles (including C-function call and return overheads):<br />

17 + 4(numElems)<br />

VectorZeroPad<br />

Description: VectorZeroPadcopies the source vector into the beginning of the<br />

(already existing) destination vector, and then fills with zeros the<br />

remaining numZeroselements of destination vector:<br />

dstV[n]= srcV[n], 0 ≤n < numElems<br />

dstV[n]= 0, numElems≤n

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!