Home
last modified time | relevance | path

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

12345678910>>...17

/cmsis-dsp-3.7.0-3.6.0/Include/dsp/
Dsvm_functions.h64 __STATIC_INLINE float32_t arm_exponent_f32(float32_t x, int32_t nb) in arm_exponent_f32()
66 float32_t r = x; in arm_exponent_f32()
84 float32_t intercept; /**< Intercept */
85 const float32_t *dualCoefficients; /**< Dual coefficients */
86 const float32_t *supportVectors; /**< Support vectors */
98 float32_t intercept; /**< Intercept */
99 const float32_t *dualCoefficients; /**< Dual coefficients */
100 const float32_t *supportVectors; /**< Support vectors */
103 float32_t coef0; /**< Polynomial constant */
104 float32_t gamma; /**< Gamma factor */
[all …]
Ddistance_functions.h71 float32_t arm_euclidean_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize);
92 float32_t arm_braycurtis_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize);
107 float32_t arm_canberra_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize);
118 float32_t arm_chebyshev_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize);
140 float32_t arm_cityblock_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize);
163 float32_t arm_correlation_distance_f32(float32_t *pA,float32_t *pB, uint32_t blockSize);
175 float32_t arm_cosine_distance_f32(const float32_t *pA,const float32_t *pB, uint32_t blockSize);
209 float32_t arm_jensenshannon_distance_f32(const float32_t *pA,const float32_t *pB,uint32_t blockSize…
224 float32_t arm_minkowski_distance_f32(const float32_t *pA,const float32_t *pB, int32_t order, uint32…
238 float32_t arm_dice_distance(const uint32_t *pA, const uint32_t *pB, uint32_t numberOfBools);
[all …]
Dquaternion_math_functions.h56 void arm_quaternion_norm_f32(const float32_t *pInputQuaternions,
57 float32_t *pNorms,
67 void arm_quaternion_inverse_f32(const float32_t *pInputQuaternions,
68 float32_t *pInverseQuaternions,
78 void arm_quaternion_conjugate_f32(const float32_t *inputQuaternions,
79 float32_t *pConjugateQuaternions,
89 void arm_quaternion_normalize_f32(const float32_t *inputQuaternions,
90 float32_t *pNormalizedQuaternions,
100 void arm_quaternion_product_single_f32(const float32_t *qa,
101 const float32_t *qb,
[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);
252 const float32_t * pSrc,
[all …]
Dcontroller_functions.h91 float32_t theta,
92 float32_t * pSinVal,
93 float32_t * pCosVal);
211 float32_t A0; /**< The derived gain, A0 = Kp + Ki + Kd . */
212 float32_t A1; /**< The derived gain, A1 = -Kp - 2Kd. */
213 float32_t A2; /**< The derived gain, A2 = Kd . */
214 float32_t state[3]; /**< The state array of length 3. */
215 float32_t Kp; /**< The proportional gain. */
216 float32_t Ki; /**< The integral gain. */
217 float32_t Kd; /**< The derivative gain. */
[all …]
Dinterpolation_functions.h56 float32_t x1; /**< x1 */
57 float32_t xSpacing; /**< xSpacing */
58 const float32_t *pYData; /**< pointer to the table of Y values */
68 const 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) */
133 const float32_t * xq,
134 float32_t * pDst,
150 const float32_t * x,
[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. …
235 const float32_t * pSrc,
236 float32_t * pDst,
263 const float32_t * pCoeffs,
264 float32_t * pState,
310float32_t *pState; /**< Points to the array of state coefficients. The array is of length 4…
311 …const float32_t *pCoeffs; /**< Points to the array of coefficients. The array is of length 5…
320float32_t coeffs[8][4]; /**< Points to the array of modified coefficients. The array is of length…
415 const float32_t * pSrc,
[all …]
Dsupport_functions.h54 float32_t * pDst,
99 const float32_t * pSrc,
110 const float32_t * pSrc,
122 const float32_t * pSrc,
134 const float32_t * pSrc,
157 float32_t * pDst,
203 float32_t * pDst,
249 float32_t * pDst,
327 float32_t * pSrc,
328 float32_t * pDst,
[all …]
Dwindow_functions.h82 float32_t * pDst,
120 float32_t * pDst,
158 float32_t * pDst,
196 float32_t * pDst,
234 float32_t * pDst,
272 float32_t * pDst,
310 float32_t * pDst,
348 float32_t * pDst,
386 float32_t * pDst,
424 float32_t * pDst,
[all …]
/cmsis-dsp-3.7.0-3.6.0/Source/FilteringFunctions/
Darm_biquad_cascade_df1_init_f16.c108 float32_t coeffs[8][12] = { in generateCoefsFastBiquadF16()
109 ….0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, (float32_t)b0, (float32_t)b1, (float32_t)b2, (float32_t)a… in generateCoefsFastBiquadF16()
110 …{0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, (float32_t)b0, (float32_t)b1, (float32_t)b2, 0.0f, (float32_t in generateCoefsFastBiquadF16()
111 …{0.0f, 0.0f, 0.0f, 0.0f, 0.0f, (float32_t)b0, (float32_t)b1, (float32_t)b2, 0.0f, 0.0f, 0.0f, 0.0f… in generateCoefsFastBiquadF16()
112 …{0.0f, 0.0f, 0.0f, 0.0f, (float32_t)b0, (float32_t)b1, (float32_t)b2, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f… in generateCoefsFastBiquadF16()
113 …{0.0f, 0.0f, 0.0f, (float32_t)b0, (float32_t)b1, (float32_t)b2, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f… in generateCoefsFastBiquadF16()
114 …{0.0f, 0.0f, (float32_t)b0, (float32_t)b1, (float32_t)b2, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f… in generateCoefsFastBiquadF16()
115 …{0.0f, (float32_t)b0, (float32_t)b1, (float32_t)b2, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f… in generateCoefsFastBiquadF16()
116 …{(float32_t)b0, (float32_t)b1, (float32_t)b2, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f} in generateCoefsFastBiquadF16()
121 coeffs[1][i] += ((float32_t)a1 * coeffs[0][i]); in generateCoefsFastBiquadF16()
[all …]
Darm_lms_norm_f32.c161 const float32_t * pSrc, in arm_lms_norm_f32()
162 float32_t * pRef, in arm_lms_norm_f32()
163 float32_t * pOut, in arm_lms_norm_f32()
164 float32_t * pErr, in arm_lms_norm_f32()
167 float32_t *pState = S->pState; /* State pointer */ in arm_lms_norm_f32()
168 float32_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ in arm_lms_norm_f32()
169 float32_t *pStateCurnt; /* Points to the current sample of the state */ in arm_lms_norm_f32()
170float32_t *px, *pb; /* Temporary pointers for state and coefficient buf… in arm_lms_norm_f32()
171 float32_t mu = S->mu; /* Adaptive factor */ in arm_lms_norm_f32()
174 float32_t energy; /* Energy of the input */ in arm_lms_norm_f32()
[all …]
Darm_lms_f32.c167 const float32_t * pSrc, in arm_lms_f32()
168 float32_t * pRef, in arm_lms_f32()
169 float32_t * pOut, in arm_lms_f32()
170 float32_t * pErr, in arm_lms_f32()
173 float32_t *pState = S->pState; /* State pointer */ in arm_lms_f32()
174 float32_t *pCoeffs = S->pCoeffs; /* Coefficient pointer */ in arm_lms_f32()
175 float32_t *pStateCurnt; /* Points to the current sample of the state */ in arm_lms_f32()
176float32_t *px, *pb; /* Temporary pointers for state and coefficient buf… in arm_lms_f32()
177 float32_t mu = S->mu; /* Adaptive factor */ in arm_lms_f32()
180 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 …]
/cmsis-dsp-3.7.0-3.6.0/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 …]
/cmsis-dsp-3.7.0-3.6.0/Include/
Darm_common_tables.h61 extern const float32_t twiddleCoef_16[32];
63 extern const float32_t twiddleCoef_32[64];
65 extern const float32_t twiddleCoef_64[128];
67 extern const float32_t twiddleCoef_128[256];
69 extern const float32_t twiddleCoef_256[512];
71 extern const float32_t twiddleCoef_512[1024];
73 extern const float32_t twiddleCoef_1024[2048];
75 extern const float32_t twiddleCoef_2048[4096];
77 extern const float32_t twiddleCoef_4096[8192];
135 extern const float32_t twiddleCoef_rfft_32[32];
[all …]
/cmsis-dsp-3.7.0-3.6.0/Testing/Include/Tests/
DUnaryTestsF32.h17 Client::Pattern<float32_t> input1;
18 Client::Pattern<float32_t> input2;
19 Client::Pattern<float32_t> ref;
20 Client::Pattern<float32_t> refBeta;
23 Client::Pattern<float32_t> refll;
24 Client::Pattern<float32_t> refd;
26 Client::Pattern<float32_t> refTau;
27 Client::Pattern<float32_t> refR;
28 Client::Pattern<float32_t> refQ;
31 Client::LocalPattern<float32_t> output;
[all …]
/cmsis-dsp-3.7.0-3.6.0/PythonWrapper/cmsisdsp_pkg/src/
Dcmsisdsp_quaternion.c35 NUMPYVECTORFROMBUFFER(f32,float32_t,NPY_FLOAT);
54 float32_t *pSrcA_converted=NULL; // input in cmsis_arm_quaternion_product_f32()
56 float32_t *pSrcB_converted=NULL; // input in cmsis_arm_quaternion_product_f32()
57 float32_t *pDst=NULL; // output in cmsis_arm_quaternion_product_f32()
63 GETARGUMENT(pSrcA,NPY_DOUBLE,double,float32_t); in cmsis_arm_quaternion_product_f32()
64 GETARGUMENT(pSrcB,NPY_DOUBLE,double,float32_t); in cmsis_arm_quaternion_product_f32()
67 pDst=PyMem_Malloc(4*sizeof(float32_t)*nbQuaternions); in cmsis_arm_quaternion_product_f32()
89 float32_t *pSrcA_converted=NULL; // input in cmsis_arm_quaternion_product_single_f32()
91 float32_t *pSrcB_converted=NULL; // input in cmsis_arm_quaternion_product_single_f32()
92 float32_t *pDst=NULL; // output in cmsis_arm_quaternion_product_single_f32()
[all …]
/cmsis-dsp-3.7.0-3.6.0/Testing/Source/Tests/
DWindowTestsF32.cpp18 float32_t *outp=output.ptr(); in test_welch_f32()
24 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_welch_f32()
31 float32_t *outp=output.ptr(); in test_bartlett_f32()
37 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_bartlett_f32()
44 float32_t *outp=output.ptr(); in test_hamming_f32()
50 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_hamming_f32()
57 float32_t *outp=output.ptr(); in test_hanning_f32()
63 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_hanning_f32()
70 float32_t *outp=output.ptr(); in test_nuttall3_f32()
76 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_nuttall3_f32()
[all …]
DDistanceTestsF32.cpp10 const float32_t *inpA = inputA.ptr(); in test_dtw_distance_f32()
11 const float32_t *inpB = inputB.ptr(); in test_dtw_distance_f32()
29 float32_t *outp = output.ptr(); in test_dtw_distance_f32()
36 float32_t *c = distances.pData; in test_dtw_distance_f32()
99 ASSERT_NEAR_EQ(output,ref,(float32_t)1e-3); in test_dtw_distance_f32()
106 const float32_t *inpA = inputA.ptr(); in test_braycurtis_distance_f32()
107 const float32_t *inpB = inputB.ptr(); in test_braycurtis_distance_f32()
109 float32_t *outp = output.ptr(); in test_braycurtis_distance_f32()
120 ASSERT_NEAR_EQ(output,ref,(float32_t)1e-3); in test_braycurtis_distance_f32()
125 const float32_t *inpA = inputA.ptr(); in test_canberra_distance_f32()
[all …]
DStatsTestsF32.cpp18 const float32_t *inp = inputA.ptr(); in test_max_f32()
20 float32_t result; in test_max_f32()
23 float32_t *refp = ref.ptr(); in test_max_f32()
26 float32_t *outp = output.ptr(); in test_max_f32()
44 const float32_t *inp = inputA.ptr(); in test_absmax_f32()
46 float32_t result; in test_absmax_f32()
49 float32_t *refp = ref.ptr(); in test_absmax_f32()
52 float32_t *outp = output.ptr(); in test_absmax_f32()
70 const float32_t *inp = inputA.ptr(); in test_max_no_idx_f32()
72 float32_t result; in test_max_no_idx_f32()
[all …]
DInterpolationTestsF32.cpp19 const float32_t *inp = input.ptr(); in test_linear_interp_f32()
20 float32_t *outp = output.ptr(); in test_linear_interp_f32()
30 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_linear_interp_f32()
39 const float32_t *inp = input.ptr(); in test_bilinear_interp_f32()
40 float32_t *outp = output.ptr(); in test_bilinear_interp_f32()
41 float32_t x,y; in test_bilinear_interp_f32()
52 ASSERT_SNR(output,ref,(float32_t)SNR_THRESHOLD); in test_bilinear_interp_f32()
61 const float32_t *inpX = inputX.ptr(); in test_spline_square_f32()
62 const float32_t *inpY = inputY.ptr(); in test_spline_square_f32()
63 const float32_t *outX = outputX.ptr(); in test_spline_square_f32()
[all …]
/cmsis-dsp-3.7.0-3.6.0/Source/QuaternionMathFunctions/
Darm_quaternion2rotation_f32.c80 void arm_quaternion2rotation_f32(const float32_t *pInputQuaternions, in arm_quaternion2rotation_f32()
81 float32_t *pOutputRotations, in arm_quaternion2rotation_f32()
85 float32_t q2q3, tmp1, tmp2 ; in arm_quaternion2rotation_f32()
143 void arm_quaternion2rotation_f32(const float32_t *pInputQuaternions, in arm_quaternion2rotation_f32()
144 float32_t *pOutputRotations, in arm_quaternion2rotation_f32()
150 float32_t q00 = ARM_SQ(pInputQuaternions[0 + nb * 4]); in arm_quaternion2rotation_f32()
151 float32_t q11 = ARM_SQ(pInputQuaternions[1 + nb * 4]); in arm_quaternion2rotation_f32()
152 float32_t q22 = ARM_SQ(pInputQuaternions[2 + nb * 4]); in arm_quaternion2rotation_f32()
153 float32_t q33 = ARM_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 …]
/cmsis-dsp-3.7.0-3.6.0/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 …]
/cmsis-dsp-3.7.0-3.6.0/Source/StatisticsFunctions/
Darm_var_f32.c66 const float32_t * pSrc, in arm_var_f32()
68 float32_t * pResult) in arm_var_f32()
73 float32_t fMean; in arm_var_f32()
74 float32_t sum = 0.0f; /* accumulator */ in arm_var_f32()
75 float32_t in; /* Temporary variable to store input value */ in arm_var_f32()
116 *pResult = sum / (float32_t) (blockSize - 1); in arm_var_f32()
121 const float32_t * pSrc, in arm_var_f32()
123 float32_t * pResult) in arm_var_f32()
125 float32_t mean; in arm_var_f32()
127 float32_t sum = 0.0f; /* accumulator */ in arm_var_f32()
[all …]
/cmsis-dsp-3.7.0-3.6.0/Examples/ARM/arm_signal_converge_example/
Darm_signal_converge_example_f32.c131 float32_t firStateF32[2 * BLOCKSIZE + NUMTAPS - 1];
133 float32_t firStateF32[NUMTAPS + BLOCKSIZE];
142 float32_t lmsStateF32[NUMTAPS + BLOCKSIZE];
143 float32_t errOutput[TEST_LENGTH_SAMPLES];
157 arm_status test_signal_converge(float32_t* err_signal,
160 void getinput(float32_t* input,
167 extern float32_t testInput_f32[TEST_LENGTH_SAMPLES];
168 extern float32_t lmsNormCoeff_f32[32];
169 extern const float32_t FIRCoeff_f32[32];
176 float32_t wire1[BLOCKSIZE];
[all …]

12345678910>>...17