LIBML  Version 3.2.4
LIBML DSP Software Library
Functions
tpt_math_support.h File Reference
This graph shows which files directly or indirectly include this file:

Functions

f32_t tpt_weighted_sum_f32 (const f32_t *aInData, const f32_t *aWeight, uint32_t aCount)
 Weighted Sum of the single-precision floating-point vector. More...
 
void tpt_barycenter_f32 (f32_t *aOutData, const f32_t *aInData, const f32_t *aWeights, uint32_t aNumofvec, uint32_t aDimofvec)
 Barycenter of the single-precision floating-point type. More...
 
f32_t tpt_exp_f32 (f32_t aInData)
 Calculate exponential value of f32 vector. More...
 
f64_t tpt_exp_f64 (f64_t aInData)
 Calculate exponential value of f64 vector. More...
 
f32_t tpt_sigmoid_f32 (f32_t aInData)
 Calculate sigmoid value of f32 vector. More...
 
f32_t tpt_log_f32 (f32_t aInData)
 Calculate the natural logarithm value of f32 input. More...
 
f64_t tpt_log_f64 (f64_t aInData)
 Calculate the natural logarithm value of f64 input. More...
 
q15_t tpt_log_q15 (q15_t aInData)
 Calculate the natural logarithm value of q15 input. More...
 
q31_t tpt_log_q31 (q31_t aInData)
 Calculate the natural logarithm value of q31 input. More...
 
void tpt_bitonic_sort_f32 (f32_t *aOutData, const f32_t *aInData, uint32_t aCount, bool aDir)
 Floating point bitonic sort. More...
 
void tpt_bubble_sort_f32 (f32_t *aOutData, const f32_t *aInData, uint32_t aCount, bool aDir)
 Floating point bubble sort. More...
 
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_f64 (f64_t *aOutData, const f64_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...
 
void tpt_f32_to_q15 (q15_t *aOutData, const f32_t *aInData, uint32_t aCount)
 Converts the elements of the floating-point vector to Q15 vector. More...
 
void tpt_f64_to_q15 (q15_t *aOutData, const f64_t *aInData, uint32_t aCount)
 Converts the elements of the floating-point vector to Q15 vector. More...
 
void tpt_f32_to_q31 (q31_t *aOutData, const f32_t *aInData, uint32_t aCount)
 Converts the elements of the floating-point vector to Q31 vector. More...
 
void tpt_f32_to_q7 (q7_t *aOutData, const f32_t *aInData, uint32_t aCount)
 Converts the elements of the floating-point vector to Q7 vector. More...
 
void tpt_fill_f32 (f32_t *aOutData, f32_t aValue, uint32_t aCount)
 Fills a constant value into a floating-point vector. More...
 
void tpt_fill_f64 (f64_t *aOutData, f64_t aValue, uint32_t aCount)
 Fills a constant value into a floating-point vector. More...
 
void tpt_fill_q15 (q15_t *aOutData, q15_t aValue, uint32_t aCount)
 Fills a constant value into a Q15 vector. More...
 
void tpt_fill_q31 (q31_t *aOutData, q31_t aValue, uint32_t aCount)
 Fills a constant value into a Q31 vector. More...
 
void tpt_fill_q63 (q63_t *aOutData, q63_t aValue, uint32_t aCount)
 Fills a constant value into a Q63 vector. More...
 
void tpt_fill_q7 (q7_t *aOutData, q7_t aValue, uint32_t aCount)
 Fills a constant value into a Q7 vector. More...
 
void tpt_heap_sort_f32 (f32_t *aOutData, const f32_t *aInData, uint32_t aCount, bool aDir)
 Floating point heap sort. More...
 
void tpt_insertion_sort_f32 (f32_t *aOutData, const f32_t *aInData, uint32_t aCount, bool aDir)
 Floating point insertion sort. More...
 
void tpt_merge_sort_f32 (f32_t *aOutData, f32_t *aInData, uint32_t aCount, bool aDir)
 Floating point merge sort. More...
 
f32_t tpt_pow_f32 (f32_t x, f32_t y)
 Calculate the y power of x of the f32 input value. More...
 
void tpt_q15_to_f32 (f32_t *aOutData, const q15_t *aInData, uint32_t aCount)
 Converts the elements of the Q15 vector to floating-point vector. More...
 
void tpt_q15_to_f64 (f64_t *aOutData, const q15_t *aInData, uint32_t aCount)
 Converts the elements of the Q15 vector to floating-point vector. More...
 
void tpt_q31_to_f32 (f32_t *aOutData, const q31_t *aInData, uint32_t aCount)
 Converts the elements of the Q31 vector to floating-point vector. More...
 
void tpt_q31_to_f64 (f64_t *aOutData, const q31_t *aInData, uint32_t aCount)
 Converts the elements of the Q31 vector to floating-point vector. More...
 
void tpt_q7_to_f32 (f32_t *aOutData, const q7_t *aInData, uint32_t aCount)
 Converts the elements of the Q7 vector to floating-point vector. More...
 
void tpt_q7_to_f64 (f64_t *aOutData, const q7_t *aInData, uint32_t aCount)
 Converts the elements of the Q7 vector to floating-point vector. More...
 
void tpt_quick_sort_f32 (f32_t *aOutData, const f32_t *aInData, uint32_t aCount, bool aDir)
 Floating point quick sort. More...
 
void tpt_selection_sort_f32 (f32_t *aOutData, const f32_t *aInData, uint32_t aCount, bool aDir)
 Floating point selection sort. More...
 
void tpt_sort_f32 (f32_t *aOutData, const f32_t *aInData, uint32_t aCount, bool aDir)
 Default sorting function. More...
 

Function Documentation

◆ tpt_copy_f64()

void tpt_copy_f64 ( f64_t aOutData,
const f64_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_pow_f32()

f32_t tpt_pow_f32 ( f32_t  x,
f32_t  y 
)

Calculate the y power of x of the f32 input value.

Parameters
xBase
yExponent
Returns
f32_t