LIBML  Version 3.2.4
LIBML DSP Software Library
Functions
Collaboration diagram for Vector Copy:

Functions

void tpt_copy_f32 (f32_t *aOutData, const f32_t *aInData, uint32_t aCount)
 Copies the elements of a floating-point vector. More...
 
void tpt_copy_q15 (q15_t *aOutData, const q15_t *aInData, uint32_t aCount)
 Copies the elements of a Q15 vector. More...
 
void tpt_copy_q31 (q31_t *aOutData, const q31_t *aInData, uint32_t aCount)
 Copies the elements of a Q31 vector. More...
 
void tpt_copy_q7 (q7_t *aOutData, const q7_t *aInData, uint32_t aCount)
 Copies the elements of a Q7 vector. More...
 

Detailed Description

Copies sample by sample from source vector to destination vector.

    aOutData[n] = aInData[n];   0 <= n < aCount.
  

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

Function Documentation

◆ tpt_copy_f32()

void tpt_copy_f32 ( f32_t aOutData,
const f32_t aInData,
uint32_t  aCount 
)

Copies the elements of a floating-point vector.

Parameters
[out]aOutDatapoints to output vector
[in]aInDatapoints to input vector
[in]aCountnumber of samples in each vector
Returns
none

◆ tpt_copy_q15()

void tpt_copy_q15 ( q15_t aOutData,
const q15_t aInData,
uint32_t  aCount 
)

Copies the elements of a Q15 vector.

Parameters
[out]aOutDatapoints to output vector
[in]aInDatapoints to input vector
[in]aCountnumber of samples in each vector
Returns
none

◆ tpt_copy_q31()

void tpt_copy_q31 ( q31_t aOutData,
const q31_t aInData,
uint32_t  aCount 
)

Copies the elements of a Q31 vector.

Parameters
[out]aOutDatapoints to output vector
[in]aInDatapoints to input vector
[in]aCountnumber of samples in each vector
Returns
none

◆ tpt_copy_q7()

void tpt_copy_q7 ( q7_t aOutData,
const q7_t aInData,
uint32_t  aCount 
)

Copies the elements of a Q7 vector.

Parameters
[out]aOutDatapoints to output vector
[in]aInDatapoints to input vector
[in]aCountnumber of samples in each vector
Returns
none