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.

fractional* srcV<br />

);<br />

Arguments: numElems number of elements in source vector<br />

dstV pointer to destination vector<br />

srcV pointer to source vector<br />

Return Value: Pointer to base address of destination vector.<br />

Remarks: The destination vector mustalready exist. Destination vectors must<br />

have, at least, numElemselements, but could be longer.<br />

This function can be computed in place. See Additional Remarks at the<br />

end of the section for comments on this mode of operation.<br />

Source File: vcopy.asm<br />

Function Profile: System resources usage:<br />

W0..W3 used, not restored<br />

DOand REPEATinstruction usage:<br />

no DOinstructions<br />

1 level REPEATinstructions<br />

Program words (24-bit instructions):<br />

6<br />

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

12 + numElems<br />

VectorConvolve (Continued)<br />

28 13M 6 m<br />

m1=<br />

M<br />

∑ NM– ()73M + () ++ +<br />

28 13M 6 m<br />

m1=<br />

M<br />

∑ ++<br />

dsPIC<br />

®<br />

Language Tools Libraries<br />

DS51456B-page 18 2004 Microchip Technology Inc.<br />

VectorCorrelate<br />

Description: VectorCorrelatecomputes the correlation between two source<br />

vectors, and stores the result in a destination vector. The result is<br />

computed as follows:<br />

, for 0 ≤n

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

Saved successfully!

Ooh no, something went wrong!