V4.0.1 of the ARM CMSIS DSP libraries. Note that arm_bitreversal2.s, arm_cfft_f32.c and arm_rfft_fast_f32.c had to be removed. arm_bitreversal2.s will not assemble with the online tools. So, the fast f32 FFT functions are not yet available. All the other FFT functions are available.

Dependents:   MPU9150_Example fir_f32 fir_f32 MPU9150_nucleo_noni2cdev ... more

Embed: (wiki syntax)

« Back to documentation index

Vector Fill

Fills the destination vector with a constant value. More...

Functions

void arm_fill_f32 (float32_t value, float32_t *pDst, uint32_t blockSize)
 Fills a constant value into a floating-point vector.
void arm_fill_q15 (q15_t value, q15_t *pDst, uint32_t blockSize)
 Fills a constant value into a Q15 vector.
void arm_fill_q31 (q31_t value, q31_t *pDst, uint32_t blockSize)
 Fills a constant value into a Q31 vector.
void arm_fill_q7 (q7_t value, q7_t *pDst, uint32_t blockSize)
 Fills a constant value into a Q7 vector.

Detailed Description

Fills the destination vector with a constant value.

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

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


Function Documentation

void arm_fill_f32 ( float32_t  value,
float32_t *  pDst,
uint32_t  blockSize 
)

Fills a constant value into a floating-point vector.

Parameters:
[in]valueinput value to be filled
[out]*pDstpoints to output vector
[in]blockSizelength of the output vector
Returns:
none.

Definition at line 74 of file arm_fill_f32.c.

void arm_fill_q15 ( q15_t  value,
q15_t *  pDst,
uint32_t  blockSize 
)

Fills a constant value into a Q15 vector.

Parameters:
[in]valueinput value to be filled
[out]*pDstpoints to output vector
[in]blockSizelength of the output vector
Returns:
none.

Definition at line 61 of file arm_fill_q15.c.

void arm_fill_q31 ( q31_t  value,
q31_t *  pDst,
uint32_t  blockSize 
)

Fills a constant value into a Q31 vector.

Parameters:
[in]valueinput value to be filled
[out]*pDstpoints to output vector
[in]blockSizelength of the output vector
Returns:
none.

Definition at line 61 of file arm_fill_q31.c.

void arm_fill_q7 ( q7_t  value,
q7_t *  pDst,
uint32_t  blockSize 
)

Fills a constant value into a Q7 vector.

Parameters:
[in]valueinput value to be filled
[out]*pDstpoints to output vector
[in]blockSizelength of the output vector
Returns:
none.

Definition at line 61 of file arm_fill_q7.c.