CMSIS-DSP  
CMSIS DSP Software Library

Functions

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

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

◆ arm_fill_f16()

void arm_fill_f16 ( float16_t  value,
float16_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]blockSizenumber of samples in each vector
Returns
none

◆ arm_fill_f32()

void arm_fill_f32 ( float32_t  value,
float32_t pDst,
uint32_t  blockSize 
)
Parameters
[in]valueinput value to be filled
[out]pDstpoints to output vector
[in]blockSizenumber of samples in each vector
Returns
none

◆ arm_fill_f64()

void arm_fill_f64 ( float64_t  value,
float64_t pDst,
uint32_t  blockSize 
)
Parameters
[in]valueinput value to be filled
[out]pDstpoints to output vector
[in]blockSizenumber of samples in each vector
Returns
none

◆ arm_fill_q15()

void arm_fill_q15 ( q15_t  value,
q15_t pDst,
uint32_t  blockSize 
)
Parameters
[in]valueinput value to be filled
[out]pDstpoints to output vector
[in]blockSizenumber of samples in each vector
Returns
none

◆ arm_fill_q31()

void arm_fill_q31 ( q31_t  value,
q31_t pDst,
uint32_t  blockSize 
)
Parameters
[in]valueinput value to be filled
[out]pDstpoints to output vector
[in]blockSizenumber of samples in each vector
Returns
none

◆ arm_fill_q7()

void arm_fill_q7 ( q7_t  value,
q7_t pDst,
uint32_t  blockSize 
)
Parameters
[in]valueinput value to be filled
[out]pDstpoints to output vector
[in]blockSizenumber of samples in each vector
Returns
none