Home
last modified time | relevance | path

Searched refs:float32_t (Results 1 – 25 of 183) sorted by relevance

12345678

/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Include/dsp/
Dsvm_functions.h65 __STATIC_INLINE float32_t arm_exponent_f32(float32_t x, int32_t nb) in arm_exponent_f32()
67 float32_t r = x; in arm_exponent_f32()
88 float32_t intercept; /**< Intercept */
89 const float32_t *dualCoefficients; /**< Dual coefficients */
90 const float32_t *supportVectors; /**< Support vectors */
102 float32_t intercept; /**< Intercept */
103 const float32_t *dualCoefficients; /**< Dual coefficients */
104 const float32_t *supportVectors; /**< Support vectors */
107 float32_t coef0; /**< Polynomial constant */
108 float32_t gamma; /**< Gamma factor */
[all …]
Ddistance_functions.h70 float32_t arm_euclidean_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize);
80 float32_t arm_braycurtis_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize);
95 float32_t arm_canberra_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize);
106 float32_t arm_chebyshev_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize);
117 float32_t arm_cityblock_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize);
130 float32_t arm_correlation_distance_f32(float32_t *pA,float32_t *pB, uint32_t blockSize);
142 float32_t arm_cosine_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize);
164 float32_t arm_jensenshannon_distance_f32(const float32_t *pA,const float32_t *pB,uint32_t blockSize…
179 float32_t arm_minkowski_distance_f32(const float32_t *pA,const float32_t *pB, int32_t order, uint32…
193 float32_t arm_dice_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools);
[all …]
Dfiltering_functions.h89float32_t *pState; /**< points to the state variable array. The array is of length numTaps+bloc…
90 …const float32_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. …
225 const float32_t * pSrc,
226 float32_t * pDst,
240 const float32_t * pCoeffs,
241 float32_t * pState,
272float32_t *pState; /**< Points to the array of state coefficients. The array is of length 4…
273 …const float32_t *pCoeffs; /**< Points to the array of coefficients. The array is of length 5…
282float32_t coeffs[8][4]; /**< Points to the array of modified coefficients. The array is of length…
377 const float32_t * pSrc,
[all …]
Dstatistics_functions.h74 float32_t arm_logsumexp_f32(const float32_t *in, uint32_t blockSize);
90 float32_t arm_logsumexp_dot_prod_f32(const float32_t * pSrcA,
91 const float32_t * pSrcB,
93 float32_t *pTmpBuffer);
105 float32_t arm_entropy_f32(const float32_t * pSrcA,uint32_t blockSize);
130 float32_t arm_kullback_leibler_f32(const float32_t * pSrcA
131 ,const float32_t * pSrcB
168 const float32_t * pSrc,
170 float32_t * pResult);
240 const float32_t * pSrc,
[all …]
Dcontroller_functions.h71 float32_t theta,
72 float32_t * pSinVal,
73 float32_t * pCosVal);
191 float32_t A0; /**< The derived gain, A0 = Kp + Ki + Kd . */
192 float32_t A1; /**< The derived gain, A1 = -Kp - 2Kd. */
193 float32_t A2; /**< The derived gain, A2 = Kd . */
194 float32_t state[3]; /**< The state array of length 3. */
195 float32_t Kp; /**< The proportional gain. */
196 float32_t Ki; /**< The integral gain. */
197 float32_t Kd; /**< The derivative gain. */
[all …]
Dquaternion_math_functions.h60 void arm_quaternion_norm_f32(const float32_t *pInputQuaternions,
61 float32_t *pNorms,
73 void arm_quaternion_inverse_f32(const float32_t *pInputQuaternions,
74 float32_t *pInverseQuaternions,
84 void arm_quaternion_conjugate_f32(const float32_t *inputQuaternions,
85 float32_t *pConjugateQuaternions,
95 void arm_quaternion_normalize_f32(const float32_t *inputQuaternions,
96 float32_t *pNormalizedQuaternions,
107 void arm_quaternion_product_single_f32(const float32_t *qa,
108 const float32_t *qb,
[all …]
Dsupport_functions.h53 const float32_t * pSrc,
65 const float32_t * pSrc,
77 const float32_t * pSrc,
90 float32_t * pDst,
126 float32_t * pDst,
162 float32_t * pDst,
240 float32_t * pSrc,
241 float32_t * pDst,
260 float32_t * buffer; /**< Working buffer */
271 float32_t *pSrc,
[all …]
Dinterpolation_functions.h56 float32_t x1; /**< x1 */
57 float32_t xSpacing; /**< xSpacing */
58 float32_t *pYData; /**< pointer to the table of Y values */
68 float32_t *pData; /**< points to the data table. */
117 const float32_t * x; /**< x values */
118 const float32_t * y; /**< y values */
120 float32_t * coeffs; /**< Coefficients buffer (b,c, and d) */
145 const float32_t * xq,
146 float32_t * pDst,
162 const float32_t * x,
[all …]
Dbasic_math_functions.h96 const float32_t * pSrcA,
97 const float32_t * pSrcB,
98 float32_t * pDst,
111 const float32_t * pSrcA,
112 const float32_t * pSrcB,
113 float32_t * pDst,
168 const float32_t * pSrcA,
169 const float32_t * pSrcB,
170 float32_t * pDst,
225 const float32_t * pSrc,
[all …]
Dcomplex_math_functions.h59 const float32_t * pSrc,
60 float32_t * pDst,
94 const float32_t * pSrc,
95 float32_t * pDst,
130 const float32_t * pSrc,
131 float32_t * pDst,
200 const float32_t * pSrcA,
201 const float32_t * pSrcB,
203 float32_t * realResult,
204 float32_t * imagResult);
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/TransformFunctions/
Darm_rfft_f32.c36 float32_t * pSrc,
38 const float32_t * pCoef,
42 float32_t * pSrc,
44 const float32_t * pCoef,
46 float32_t onebyfftLen);
49 float32_t * pSrc,
55 float32_t * pSrc,
57 const float32_t * pATable,
58 const float32_t * pBTable,
59 float32_t * pDst,
[all …]
Darm_rfft_fast_f32.c34 float32_t * p, in stage_rfft_f32()
35 float32_t * pOut) in stage_rfft_f32()
38 float32_t twR, twI; /* RFFT Twiddle coefficients */ in stage_rfft_f32()
39 const float32_t * pCoeff = S->pTwiddleRFFT; /* Points to RFFT Twiddle factors */ in stage_rfft_f32()
40 float32_t *pA = p; /* increasing pointer */ in stage_rfft_f32()
41 float32_t *pB = p; /* decreasing pointer */ in stage_rfft_f32()
42 float32_t xAR, xAI, xBR, xBI; /* temporary variables */ in stage_rfft_f32()
43 float32_t t1a, t1b; /* temporary variables */ in stage_rfft_f32()
44 float32_t p0, p1, p2, p3; /* temporary variables */ in stage_rfft_f32()
193 float32_t * p, in merge_rfft_f32()
[all …]
Darm_cfft_f32.c39 static float32_t arm_inverse_fft_length_f32(uint16_t fftLen) in arm_inverse_fft_length_f32()
41 float32_t retValue=1.0; in arm_inverse_fft_length_f32()
92 static void _arm_radix4_butterfly_f32_mve(const arm_cfft_instance_f32 * S,float32_t * pSrc, uint32_… in _arm_radix4_butterfly_f32_mve()
115 float32_t const *p_rearranged_twiddle_tab_stride1 = in _arm_radix4_butterfly_f32_mve()
118 float32_t const *p_rearranged_twiddle_tab_stride2 = in _arm_radix4_butterfly_f32_mve()
121 float32_t const *p_rearranged_twiddle_tab_stride3 = in _arm_radix4_butterfly_f32_mve()
124 float32_t const *pW1, *pW2, *pW3; in _arm_radix4_butterfly_f32_mve()
125 float32_t *inA = pSrc + CMPLX_DIM * i * n1; in _arm_radix4_butterfly_f32_mve()
126 float32_t *inB = inA + n2 * CMPLX_DIM; in _arm_radix4_butterfly_f32_mve()
127 float32_t *inC = inB + n2 * CMPLX_DIM; in _arm_radix4_butterfly_f32_mve()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/Include/
Darm_math.h409 typedef float float32_t; typedef
1230float32_t *pState; /**< points to the state variable array. The array is of length numTaps+bloc…
1231 …const float32_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. …
1356 const float32_t * pSrc,
1357 float32_t * pDst,
1371 const float32_t * pCoeffs,
1372 float32_t * pState,
1403float32_t *pState; /**< Points to the array of state coefficients. The array is of length 4…
1404 …const float32_t *pCoeffs; /**< Points to the array of coefficients. The array is of length 5…
1498 const float32_t * pSrc,
[all …]
Darm_common_tables.h41 extern const float32_t twiddleCoef_16[32];
45 extern const float32_t twiddleCoef_32[64];
49 extern const float32_t twiddleCoef_64[128];
53 extern const float32_t twiddleCoef_128[256];
57 extern const float32_t twiddleCoef_256[512];
61 extern const float32_t twiddleCoef_512[1024];
65 extern const float32_t twiddleCoef_1024[2048];
69 extern const float32_t twiddleCoef_2048[4096];
73 extern const float32_t twiddleCoef_4096[8192];
150 extern const float32_t twiddleCoef_rfft_32[32];
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/BayesFunctions/
Darm_gaussian_naive_bayes_predict_f32.c59 const float32_t * in, in arm_gaussian_naive_bayes_predict_f32()
60 float32_t *pOutputProbabilities, in arm_gaussian_naive_bayes_predict_f32()
61 float32_t *pBufferB in arm_gaussian_naive_bayes_predict_f32()
65 const float32_t *pTheta = S->theta; in arm_gaussian_naive_bayes_predict_f32()
66 const float32_t *pSigma = S->sigma; in arm_gaussian_naive_bayes_predict_f32()
67 float32_t *buffer = pOutputProbabilities; in arm_gaussian_naive_bayes_predict_f32()
68 const float32_t *pIn = in; in arm_gaussian_naive_bayes_predict_f32()
69 float32_t result; in arm_gaussian_naive_bayes_predict_f32()
71 float32_t tmp; in arm_gaussian_naive_bayes_predict_f32()
74 float32_t *logclassPriors=pBufferB; in arm_gaussian_naive_bayes_predict_f32()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/QuaternionMathFunctions/
Darm_quaternion2rotation_f32.c81 void arm_quaternion2rotation_f32(const float32_t *pInputQuaternions, in arm_quaternion2rotation_f32()
82 float32_t *pOutputRotations, in arm_quaternion2rotation_f32()
86 float32_t q2q3, tmp1, tmp2 ; in arm_quaternion2rotation_f32()
144 void arm_quaternion2rotation_f32(const float32_t *pInputQuaternions, in arm_quaternion2rotation_f32()
145 float32_t *pOutputRotations, in arm_quaternion2rotation_f32()
150 float32_t q00 = SQ(pInputQuaternions[0 + nb * 4]); in arm_quaternion2rotation_f32()
151 float32_t q11 = SQ(pInputQuaternions[1 + nb * 4]); in arm_quaternion2rotation_f32()
152 float32_t q22 = SQ(pInputQuaternions[2 + nb * 4]); in arm_quaternion2rotation_f32()
153 float32_t q33 = SQ(pInputQuaternions[3 + nb * 4]); in arm_quaternion2rotation_f32()
154 float32_t q01 = pInputQuaternions[0 + nb * 4]*pInputQuaternions[1 + nb * 4]; in arm_quaternion2rotation_f32()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/FilteringFunctions/
Darm_lms_norm_f32.c162 const float32_t * pSrc, in arm_lms_norm_f32()
163 float32_t * pRef, in arm_lms_norm_f32()
164 float32_t * pOut, in arm_lms_norm_f32()
165 float32_t * pErr, in arm_lms_norm_f32()
168 float32_t *pState = S->pState; /* State pointer */ in arm_lms_norm_f32()
169 float32_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ in arm_lms_norm_f32()
170 float32_t *pStateCurnt; /* Points to the current sample of the state */ in arm_lms_norm_f32()
171float32_t *px, *pb; /* Temporary pointers for state and coefficient buf… in arm_lms_norm_f32()
172 float32_t mu = S->mu; /* Adaptive factor */ in arm_lms_norm_f32()
175 float32_t energy; /* Energy of the input */ in arm_lms_norm_f32()
[all …]
Darm_lms_f32.c168 const float32_t * pSrc, in arm_lms_f32()
169 float32_t * pRef, in arm_lms_f32()
170 float32_t * pOut, in arm_lms_f32()
171 float32_t * pErr, in arm_lms_f32()
174 float32_t *pState = S->pState; /* State pointer */ in arm_lms_f32()
175 float32_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ in arm_lms_f32()
176 float32_t *pStateCurnt; /* Points to the current sample of the state */ in arm_lms_f32()
177float32_t *px, *pb; /* Temporary pointers for state and coefficient buf… in arm_lms_f32()
178 float32_t mu = S->mu; /* Adaptive factor */ in arm_lms_f32()
181 float32_t sum, e, d; /* accumulator, error, reference data sample */ in arm_lms_f32()
[all …]
Darm_biquad_cascade_df1_init_f32.c80 const float32_t * pCoeffs, in arm_biquad_cascade_df1_init_f32()
81 float32_t * pState) in arm_biquad_cascade_df1_init_f32()
90 memset(pState, 0, (4U * (uint32_t) numStages) * sizeof(float32_t)); in arm_biquad_cascade_df1_init_f32()
99 static void generateCoefsFastBiquadF32(float32_t b0, float32_t b1, float32_t b2, float32_t a1, floa… in generateCoefsFastBiquadF32()
102 float32_t coeffs[4][8] = { in generateCoefsFastBiquadF32()
118 newCoef->coeffs[i][0] = (float32_t) coeffs[0][i]; in generateCoefsFastBiquadF32()
119 newCoef->coeffs[i][1] = (float32_t) coeffs[1][i]; in generateCoefsFastBiquadF32()
120 newCoef->coeffs[i][2] = (float32_t) coeffs[2][i]; in generateCoefsFastBiquadF32()
121 newCoef->coeffs[i][3] = (float32_t) coeffs[3][i]; in generateCoefsFastBiquadF32()
128 const float32_t * pCoeffs, in arm_biquad_cascade_df1_mve_init_f32()
[all …]
Darm_correlate_f32.c103 const float32_t * pSrcA, in arm_correlate_f32()
105 const float32_t * pSrcB, in arm_correlate_f32()
107 float32_t * pDst) in arm_correlate_f32()
109 const float32_t *pIn1 = pSrcA; /* inputA pointer */ in arm_correlate_f32()
110 const float32_t *pIn2 = pSrcB + (srcBLen - 1U); /* inputB pointer */ in arm_correlate_f32()
111 const float32_t *pX, *pY; in arm_correlate_f32()
112 const float32_t *pA, *pB; in arm_correlate_f32()
169 float32_t acc0; in arm_correlate_f32()
170 float32_t acc1; in arm_correlate_f32()
190 float32_t acc; in arm_correlate_f32()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_vec_mult_f32.c61 const float32_t *pSrcVec, in arm_mat_vec_mult_f32()
62 float32_t *pDstVec) in arm_mat_vec_mult_f32()
66 const float32_t *pSrcA = pSrcMat->pData; in arm_mat_vec_mult_f32()
67 const float32_t *pInA0; in arm_mat_vec_mult_f32()
68 const float32_t *pInA1; in arm_mat_vec_mult_f32()
69 float32_t *px; in arm_mat_vec_mult_f32()
81 const float32_t *pInA2, *pInA3; in arm_mat_vec_mult_f32()
82 float32_t const *pSrcA0Vec, *pSrcA1Vec, *pSrcA2Vec, *pSrcA3Vec, *pInVec; in arm_mat_vec_mult_f32()
84 float32_t const *pSrcVecPtr = pSrcVec; in arm_mat_vec_mult_f32()
172 float32_t const *pSrcA0Vec, *pSrcA1Vec, *pInVec; in arm_mat_vec_mult_f32()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/StatisticsFunctions/
Darm_var_f32.c67 const float32_t * pSrc, in arm_var_f32()
69 float32_t * pResult) in arm_var_f32()
74 float32_t fMean; in arm_var_f32()
75 float32_t sum = 0.0f; /* accumulator */ in arm_var_f32()
76 float32_t in; /* Temporary variable to store input value */ in arm_var_f32()
117 *pResult = sum / (float32_t) (blockSize - 1); in arm_var_f32()
122 const float32_t * pSrc, in arm_var_f32()
124 float32_t * pResult) in arm_var_f32()
126 float32_t mean; in arm_var_f32()
128 float32_t sum = 0.0f; /* accumulator */ in arm_var_f32()
[all …]
Darm_logsumexp_f32.c69 float32_t arm_logsumexp_f32(const float32_t *in, uint32_t blockSize) in arm_logsumexp_f32()
71 float32_t maxVal; in arm_logsumexp_f32()
72 const float32_t *pIn; in arm_logsumexp_f32()
74 float32_t accum=0.0f; in arm_logsumexp_f32()
75 float32_t tmp; in arm_logsumexp_f32()
78 arm_max_no_idx_f32((float32_t *) in, blockSize, &maxVal); in arm_logsumexp_f32()
125 float32_t arm_logsumexp_f32(const float32_t *in, uint32_t blockSize) in arm_logsumexp_f32()
127 float32_t maxVal; in arm_logsumexp_f32()
128 float32_t tmp; in arm_logsumexp_f32()
135 const float32_t *pIn; in arm_logsumexp_f32()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Include/
Darm_common_tables.h83 extern const float32_t twiddleCoef_16[32];
87 extern const float32_t twiddleCoef_32[64];
91 extern const float32_t twiddleCoef_64[128];
95 extern const float32_t twiddleCoef_128[256];
99 extern const float32_t twiddleCoef_256[512];
103 extern const float32_t twiddleCoef_512[1024];
107 extern const float32_t twiddleCoef_1024[2048];
111 extern const float32_t twiddleCoef_2048[4096];
115 extern const float32_t twiddleCoef_4096[8192];
228 extern const float32_t twiddleCoef_rfft_32[32];
[all …]

12345678