Home
last modified time | relevance | path

Searched refs:cos (Results 1 – 25 of 48) sorted by relevance

12

/AliOS-Things-master/components/freetype/src/tools/
A Dtest_trig.c30 d2 = cos( i*SPI ); in test_cos()
111 c1 = l * cos(a); in test_atan2()
145 c1 = cos(a); in test_unit()
176 v.x = (FT_Fixed)( l * cos( i*SPI ) ); in test_length()
203 cra = cos( ra ); in test_rotate()
216 c1 = l * cos(a); in test_rotate()
/AliOS-Things-master/components/py_engine/engine/py/
A Dmodcmath.c57 return mp_obj_new_complex(r * MICROPY_FLOAT_C_FUN(cos)(phi), r * MICROPY_FLOAT_C_FUN(sin)(phi)); in mp_cmath_rect()
66 …return mp_obj_new_complex(exp_real * MICROPY_FLOAT_C_FUN(cos)(imag), exp_real * MICROPY_FLOAT_C_FU… in mp_cmath_exp()
95 …return mp_obj_new_complex(sqrt_abs * MICROPY_FLOAT_C_FUN(cos)(theta), sqrt_abs * MICROPY_FLOAT_C_F… in mp_cmath_sqrt()
103 …return mp_obj_new_complex(MICROPY_FLOAT_C_FUN(cos)(real) * MICROPY_FLOAT_C_FUN(cosh)(imag), -MICRO… in mp_cmath_cos()
111 …AT_C_FUN(sin)(real) * MICROPY_FLOAT_C_FUN(cosh)(imag), MICROPY_FLOAT_C_FUN(cos)(real) * MICROPY_FL… in mp_cmath_sin()
A Dmodmath.c137 MATH_FUN_1(cos, cos) in MATH_FUN_2()
A Dobjcomplex.c249 lhs_real = exp_x3 * MICROPY_FLOAT_C_FUN(cos)(y3); in mp_obj_complex_binary_op()
/AliOS-Things-master/components/SDL2/src/libm/
A Ds_cos.c46 double cos(double x) in cos() function
73 libm_hidden_def(cos)
A Dmath_private.h37 #define cos SDL_uclibc_cos macro
/AliOS-Things-master/components/py_engine/engine/lib/libm/
A Dsf_cos.c62 double cos(double x) in cos() function
64 double cos(x) in cos()
/AliOS-Things-master/components/py_engine/tests/perf_bench/
A Dbm_float.py6 from math import sin, cos, sqrt
14 self.y = cos(i) * 3
A Dbm_fft.py52 signal = [math.cos(2 * math.pi * i / params[1]) + 0j for i in range(params[1])]
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/simple_features/
A Dsimple_features_generator.cc54 real += time_series[j] * std::cos(j * i * kPi * 2 / time_series_size); in CalculateDiscreteFourierTransform()
70 window_function[i] = 0.5f - 0.5f * std::cos((2 * kPi * i) / window_length); in CalculatePeriodicHann()
/AliOS-Things-master/components/py_engine/engine/drivers/display/
A Dlcd160cr_test.py91 fbuf.fill(lcd.rgb(128 + int(64 * math.cos(0.1 * i)), 128, 192))
95 w // 2 + int(40 * math.cos(0.2 * i)),
103 x = w // 2 - 8 + int(50 * math.cos(0.05 * i + phase))
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/kissfft/
A D_kiss_fft_guts.h128 # define KISS_FFT_COS(phase) floor(.5+SAMP_MAX * cos (phase))
132 # define KISS_FFT_COS(phase) _mm_set1_ps( cos(phase) )
136 # define KISS_FFT_COS(phase) (kiss_fft_scalar) cos(phase)
/AliOS-Things-master/solutions/javascript_demo/agriculture_demo/
A Dgps.js776 var cdlon = Math.cos(dlon);
779 var clat1 = Math.cos(lat1);
782 var clat2 = Math.cos(lat2);
810 var clat1 = Math.cos(lat1);
811 var clat2 = Math.cos(lat2);
/AliOS-Things-master/components/amp-utility/python/
A Dcmath.py13 def cos(z): function
A Dmath2.py68 def cos(x): function
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/simple_features/fixed_point/
A Dsimple_features_generator.cc92 FloatToFixed_Q2_30(cos(j * i * M_PI * 2 / time_series_size)); in CalculateDiscreteFourierTransform()
111 const float real_value = (0.5 - 0.5 * cos((2 * M_PI * i) / window_length)); in CalculatePeriodicHann()
/AliOS-Things-master/components/py_engine/engine/lib/libm_dbl/
A Dcos.c45 double cos(double x) in cos() function
/AliOS-Things-master/components/py_engine/tests/float/
A Dcmath_fun.py39 ("cos", cos, test_values),
A Dmath_domain.py21 ("cos", math.cos, ()),
A Dmath_fun.py26 ("cos", cos, test_values),
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/microfrontend/lib/
A Dwindow_util.c47 float float_value = 0.5 - (0.5 * cos(arg * (i + 0.5))); in WindowPopulateState()
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/tests/
A Dtest_qjscalc.js198 assert(cos(X+O(X^6)) == 1-1/2*X^2+1/24*X^4+O(X^6));
240 assert_eq(cos(2+3*I), -4.189625690968807-9.109227893755337*I);
/AliOS-Things-master/components/uvoice/tools/
A Dgen_voice.py27 fv_float = vol * math.cos(theta)
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/
A Delementwise.cc90 return EvalNumeric(context, node, std::cos); in CosEval()
/AliOS-Things-master/components/SDL2/src/gfx/Test/
A DLaplaceRelaxation.c228 s = 1.0 - 0.5 * (1.0 + cos(t)); in Draw()

Completed in 52 milliseconds

12