chickadee » blas » dicopy

sicopy:procedure
dicopy:procedure
cicopy:procedure
zicopy:procedure

These procedures copy N elements from vector X to vector Y with support for offsets and increments. X is the source SRFI-4 vector. Y is the optional destination vector; if not provided, a new vector is allocated. OFFSETX and OFFSETY specify the starting positions in the source and destination vectors, respectively (default 0). INCX and INCY specify the increment between elements in the source and destination vectors, respectively (default 1).

The copy operation accesses elements at positions OFFSETX, OFFSETX + INCX, OFFSETX + 2*INCX, ..., OFFSETX + (N-1)INCX in the source vector, and stores them at positions OFFSETY, OFFSETY + INCY, OFFSETY + 2INCY, ..., OFFSETY + (N-1)*INCY in the destination vector.

For complex vectors (cicopy and zicopy), the offset values refer to complex element positions, not individual float positions.