Home
last modified time | relevance | path

Searched refs:omega (Results 1 – 25 of 85) sorted by relevance

1234

/third_party/boost/libs/math/test/
Dooura_fourier_integral_test.cpp154 Real omega = 1; in test_sinc() local
155 while (omega < 10) in test_sinc()
157 auto [Is, err] = integrator.integrate(f, omega); in test_sinc()
160 auto [Isn, errn] = integrator.integrate(f, -omega); in test_sinc()
162 omega += 1; in test_sinc()
176 Real omega = 1; in test_exp() local
177 while (omega < 5) in test_exp()
179 auto [Is, err] = integrator.integrate(f, omega); in test_exp()
180 Real exact = omega/(1+omega*omega); in test_exp()
182 omega += 1; in test_exp()
[all …]
/third_party/boost/libs/numeric/odeint/examples/thrust/
Dphase_oscillator_chain.cu74 const value_type omega = thrust::get<3>(t); in operator ()() local
76 thrust::get<4>(t) = omega + sin( phi_right - phi ) + sin( phi - phi_left ); in operator ()()
80 phase_oscillators( const state_type &omega ) in phase_oscillators() argument
81 : m_omega( omega ) , m_N( omega.size() ) , m_prev( omega.size() ) , m_next( omega.size() ) in phase_oscillators()
142 state_type omega = omega_host; in main() local
148 phase_oscillators sys( omega ); in main()
Dphase_oscillator_ensemble.cu134 vector< value_type > omega( m_N ); in create_frequencies() local
136 omega[i] = cauchy( d48 ); in create_frequencies()
138 m_omega = omega; in create_frequencies()
/third_party/boost/boost/math/quadrature/detail/
Dooura_fourier_integrals_detail.hpp120 void print_ooura_estimate(size_t i, Real I0, Real I1, Real omega) { in print_ooura_estimate() argument
125 std::cout << "h = " << Real(1)/Real(1<<i) << ", I_h = " << I0/omega in print_ooura_estimate()
126 << " = " << std::hexfloat << I0/omega << ", absolute error estimate = " in print_ooura_estimate()
223 std::pair<Real,Real> integrate(F const & f, Real omega) { in integrate() argument
228 if (omega == 0) { in integrate()
231 if (omega < 0) { in integrate()
232 auto p = this->integrate(f, -omega); in integrate()
243 Real I0 = estimate_integral(f, omega, i); in integrate()
245 print_ooura_estimate(i, I0, I1, omega); in integrate()
251 return {I0/omega, absolute_error_estimate/scale}; in integrate()
[all …]
/third_party/gstreamer/gstplugins_good/gst/equalizer/
Dgstiirequalizer.c429 gdouble omega; in calculate_omega() local
432 omega = G_PI; in calculate_omega()
434 omega = 0.0; in calculate_omega()
436 omega = 2.0 * G_PI * (freq / rate); in calculate_omega()
438 return omega; in calculate_omega()
476 gdouble gain, omega, bw; in setup_peak_filter() local
480 omega = calculate_omega (band->freq, rate); in setup_peak_filter()
493 band->a1 = (-2.0 * cos (omega)) / b0; in setup_peak_filter()
495 band->b1 = (2.0 * cos (omega)) / b0; in setup_peak_filter()
514 gdouble gain, omega, bw; in setup_low_shelf_filter() local
[all …]
/third_party/boost/boost/math/quadrature/
Dooura_fourier_integrals.hpp26 std::pair<Real, Real> integrate(F const & f, Real omega) { in integrate() argument
27 return impl_->integrate(f, omega); in integrate()
59 std::pair<Real, Real> integrate(F const & f, Real omega) { in integrate() argument
60 return impl_->integrate(f, omega); in integrate()
/third_party/boost/libs/numeric/odeint/test/
Dboost_units_helpers.hpp44 …const boost::units::quantity< boost::units::si::frequency , value_type > omega = 1.0 * boost::unit… in operator ()() local
45 boost::fusion::at_c< 0 >( dp ) = - omega * omega * boost::fusion::at_c< 0 >( q ); in operator ()()
Dvelocity_verlet.cpp89 const units::quantity< si::frequency , value_type > omega = 1.0 * si::hertz; in operator ()() local
91 …fusion::at_c< 0 >( a ) = omega * omega * fusion::at_c< 0 >( q ) - friction * fusion::at_c< 0 >( p … in operator ()()
92 …fusion::at_c< 1 >( a ) = omega * omega * fusion::at_c< 1 >( q ) - friction * fusion::at_c< 0 >( p … in operator ()()
/third_party/ffmpeg/libavfilter/
Daf_asupercut.c107 double omega = 2. * tan(M_PI * w0); in get_coeffs() local
109 coeffs->b0 = 2. / (2. + omega); in get_coeffs()
112 coeffs->a1 = -(omega - 2.) / (2. + omega); in get_coeffs()
134 double omega = 2. * tan(M_PI * w0); in get_coeffs() local
136 coeffs->b0 = omega / (2. + omega); in get_coeffs()
139 coeffs->a1 = -(omega - 2.) / (2. + omega); in get_coeffs()
Daf_acrossover.c205 double omega = 2. * M_PI * fc / sr; in set_lp() local
206 double cosine = cos(omega); in set_lp()
207 double alpha = sin(omega) / (2. * q); in set_lp()
231 double omega = 2. * M_PI * fc / sr; in set_hp() local
232 double cosine = cos(omega); in set_hp()
233 double alpha = sin(omega) / (2. * q); in set_hp()
257 double omega = 2. * M_PI * fc / sr; in set_ap() local
258 double cosine = cos(omega); in set_ap()
259 double alpha = sin(omega) / (2. * q); in set_ap()
283 double omega = 2. * M_PI * fc / sr; in set_ap1() local
[all …]
Daf_superequalizer.c79 float omega = 2 * M_PI * f; in hn_lpf() local
81 if (n * omega * t == 0) in hn_lpf()
83 return 2 * f * t * sinf(n * omega * t) / (n * omega * t); in hn_lpf()
/third_party/boost/libs/math/example/
Dooura_fourier_integrals_example.cpp41 double omega = 1; in main() local
42 std::pair<double, double> result = integrator.integrate(f, omega); in main()
Dooura_fourier_integrals_cosine_example.cpp38 double omega = 1; in main() local
40 auto [result, relative_error] = integrator.integrate(f, omega); in main()
Dooura_fourier_integrals_multiprecision_example.cpp50 double omega = 1; in main() local
51 auto [result, relative_error] = integrator.integrate(f, omega); in main()
/third_party/boost/libs/numeric/odeint/examples/quadmath/
Dblack_hole.cpp128 const my_float omega =strtoflt128 ("2.0", NULL); in main() local
142 …std::for_each( make_adaptive_time_iterator_begin(dopri5 , radMod(omega , ell) , x , start , end , … in main()
143 make_adaptive_time_iterator_end(dopri5 , radMod(omega , ell) , x ) , in main()
/third_party/boost/libs/numeric/odeint/test/regression/
Dregression_168.cpp72 oscillator( const frequency_type &omega = 1.0 * si::hertz ) : m_omega( omega ) { } in oscillator()
/third_party/boost/libs/math/doc/distributions/
Dskew_normal.qbk52 [@http://en.wikipedia.org/wiki/Scale_parameter scale] [omega],
77 scale [omega] and shape [alpha].
87 returns the scale [omega] of this distribution,
163 and [omega] is its scale, and [alpha] is its shape.
172 [[quantile from the complement][-quantile(SN(-location [xi], scale [omega], -shape[alpha]), p)]]
174 [[scale][scale [omega]]]
/third_party/boost/libs/numeric/odeint/examples/
Dharmonic_oscillator_units.cpp60 oscillator( const frequency_type &omega = 1.0 * si::hertz ) : m_omega( omega ) { } in oscillator()
/third_party/typescript/tests/baselines/reference/
DmoduleVisibilityTest2.js65 var omega = M.exported_var; variable
126 var omega = M.exported_var;
DmoduleVisibilityTest1.js64 var omega = M.exported_var; variable
125 var omega = M.exported_var;
/third_party/gstreamer/gstplugins_good/gst/audiofx/
Daudiocheblimit.c325 gdouble omega = 2.0 * G_PI * (filter->cutoff / rate); in generate_biquad_coefficients() local
328 k = sin ((1.0 - omega) / 2.0) / sin ((1.0 + omega) / 2.0); in generate_biquad_coefficients()
330 k = -cos ((omega + 1.0) / 2.0) / cos ((omega - 1.0) / 2.0); in generate_biquad_coefficients()
/third_party/icu/icu4c/source/test/cintltst/
Dchashtst.c107 static const char omega[6] = {0x6F, 0x6D, 0x65, 0x67, 0x61, 0}; /* "omega" */ in TestBasic() local
124 _put(hash, omega, 24, 0); in TestBasic()
129 _put(hash, omega, 48, 24); in TestBasic()
136 _get(hash, omega, 48); in TestBasic()
/third_party/boost/libs/math/doc/quadrature/
Dooura_fourier_integrals.qbk28 std::pair<Real, Real> integrate(F const & f, Real omega);
39 std::pair<Real, Real> integrate(F const & f, Real omega);
47 [expression [int][sub 0][super [infin]] f(t)sin([omega] t) dt]
51 [expression [int][sub 0][super [infin]] f(t)cos([omega] t) dt]
/third_party/cef/tools/
Dmsvs_env.bat67 goto omega
72 :omega label
/third_party/boost/boost/geometry/srs/projections/proj/
Dnsper.hpp242 T const omega = pj_get_param_r<T, srs::spar::tilt>(params, "tilt", srs::dpar::tilt); in setup_tpers() local
246 proj_parm.cw = cos(omega); proj_parm.sw = sin(omega); in setup_tpers()

1234