CMSIS-DSP  
CMSIS DSP Software Library

Functions

void arm_copy_f16 (const float16_t *pSrc, float16_t *pDst, uint32_t blockSize)
 Copies the elements of a f16 vector. More...
 
void arm_copy_f32 (const float32_t *pSrc, float32_t *pDst, uint32_t blockSize)
 Copies the elements of a floating-point vector. More...
 
void arm_copy_f64 (const float64_t *pSrc, float64_t *pDst, uint32_t blockSize)
 Copies the elements of a floating-point vector. More...
 
void arm_copy_q15 (const q15_t *pSrc, q15_t *pDst, uint32_t blockSize)
 Copies the elements of a Q15 vector. More...
 
void arm_copy_q31 (const q31_t *pSrc, q31_t *pDst, uint32_t blockSize)
 Copies the elements of a Q31 vector. More...
 
void arm_copy_q7 (const q7_t *pSrc, q7_t *pDst, uint32_t blockSize)
 Copies the elements of a Q7 vector. More...
 

Description

Copies sample by sample from source vector to destination vector.

    pDst[n] = pSrc[n];   0 <= n < blockSize.

There are separate functions for floating point, Q31, Q15, and Q7 data types.

Function Documentation

◆ arm_copy_f16()

void arm_copy_f16 ( const float16_t *  pSrc,
float16_t *  pDst,
uint32_t  blockSize 
)

Copies the elements of a floating-point vector.

Parameters
[in]pSrcpoints to input vector
[out]pDstpoints to output vector
[in]blockSizenumber of samples in each vector
Returns
none

◆ arm_copy_f32()

void arm_copy_f32 ( const float32_t pSrc,
float32_t pDst,
uint32_t  blockSize 
)
Parameters
[in]pSrcpoints to input vector
[out]pDstpoints to output vector
[in]blockSizenumber of samples in each vector
Returns
none

◆ arm_copy_f64()

void arm_copy_f64 ( const float64_t pSrc,
float64_t pDst,
uint32_t  blockSize 
)
Parameters
[in]pSrcpoints to input vector
[out]pDstpoints to output vector
[in]blockSizenumber of samples in each vector
Returns
none

◆ arm_copy_q15()

void arm_copy_q15 ( const q15_t pSrc,
q15_t pDst,
uint32_t  blockSize 
)
Parameters
[in]pSrcpoints to input vector
[out]pDstpoints to output vector
[in]blockSizenumber of samples in each vector
Returns
none

◆ arm_copy_q31()

void arm_copy_q31 ( const q31_t pSrc,
q31_t pDst,
uint32_t  blockSize 
)
Parameters
[in]pSrcpoints to input vector
[out]pDstpoints to output vector
[in]blockSizenumber of samples in each vector
Returns
none

◆ arm_copy_q7()

void arm_copy_q7 ( const q7_t pSrc,
q7_t pDst,
uint32_t  blockSize 
)
Parameters
[in]pSrcpoints to input vector
[out]pDstpoints to output vector
[in]blockSizenumber of samples in each vector
Returns
none