/dports/graphics/openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/src/liboslnoise/ |
H A D | gabornoise.h | 96 Dual2<float> h = cos (float(M_TWO_PI) * dot(omega,x) + phi); in gabor_kernel() 116 phi_s = phi - float(M_TWO_PI) * d * omega.z; in slice_gabor_kernel_3d() 141 Matrix22 Sigma_G = (a * a / float(M_TWO_PI)) * Matrix22(); in filter_gabor_kernel_2d() 142 float c_F = 1.0f / (float(M_TWO_PI) * sqrtf(determinant(Sigma_f))); in filter_gabor_kernel_2d() 146 * (1.0f / (float(M_TWO_PI) * sqrtf(determinant(Sigma_G_Sigma_F)))) in filter_gabor_kernel_2d() 153 a_f = sqrtf(M_TWO_PI * sqrtf(determinant(Sigma_GF))); in filter_gabor_kernel_2d()
|
H A D | sfm_gabornoise.h | 78 Dual2<float> h = OIIO::fast_cos (float(M_TWO_PI) * dot(omega,x) + phi); in gabor_kernel() 97 phi_s = phi - float(M_TWO_PI) * d * omega.z; in slice_gabor_kernel_3d() 217 float omega_t = float (M_TWO_PI) * rng(); in gabor_sample() 244 float omega_t = float(M_TWO_PI) * rng(); in gabor_sample() 265 phi = float(M_TWO_PI) * rng(); in gabor_sample() 297 Matrix22 Sigma_G = (a * a / float(M_TWO_PI)) * Matrix22(); in filter_gabor_kernel_2d() 298 float c_F = 1.0f / (float(M_TWO_PI) * sqrtf(determinant(Sigma_f))); in filter_gabor_kernel_2d() 307 * (1.0f / (float(M_TWO_PI) * sqrtf(determinant(Sigma_G_Sigma_F)))) in filter_gabor_kernel_2d() 315 a_f = sqrtf(M_TWO_PI * sqrtf(determinant(Sigma_GF))); in filter_gabor_kernel_2d()
|
H A D | gabornoise.cpp | 83 float omega_t = float (M_TWO_PI) * rng(); in gabor_sample() 97 float omega_t = float(M_TWO_PI) * rng(); in gabor_sample() 106 phi = float(M_TWO_PI) * rng(); in gabor_sample()
|
/dports/graphics/py-openshadinglanguage/OpenShadingLanguage-Release-1.11.15.0/src/liboslnoise/ |
H A D | gabornoise.h | 96 Dual2<float> h = cos (float(M_TWO_PI) * dot(omega,x) + phi); in gabor_kernel() 116 phi_s = phi - float(M_TWO_PI) * d * omega.z; in slice_gabor_kernel_3d() 141 Matrix22 Sigma_G = (a * a / float(M_TWO_PI)) * Matrix22(); in filter_gabor_kernel_2d() 142 float c_F = 1.0f / (float(M_TWO_PI) * sqrtf(determinant(Sigma_f))); in filter_gabor_kernel_2d() 146 * (1.0f / (float(M_TWO_PI) * sqrtf(determinant(Sigma_G_Sigma_F)))) in filter_gabor_kernel_2d() 153 a_f = sqrtf(M_TWO_PI * sqrtf(determinant(Sigma_GF))); in filter_gabor_kernel_2d()
|
H A D | sfm_gabornoise.h | 78 Dual2<float> h = OIIO::fast_cos (float(M_TWO_PI) * dot(omega,x) + phi); in gabor_kernel() 97 phi_s = phi - float(M_TWO_PI) * d * omega.z; in slice_gabor_kernel_3d() 217 float omega_t = float (M_TWO_PI) * rng(); in gabor_sample() 244 float omega_t = float(M_TWO_PI) * rng(); in gabor_sample() 265 phi = float(M_TWO_PI) * rng(); in gabor_sample() 297 Matrix22 Sigma_G = (a * a / float(M_TWO_PI)) * Matrix22(); in filter_gabor_kernel_2d() 298 float c_F = 1.0f / (float(M_TWO_PI) * sqrtf(determinant(Sigma_f))); in filter_gabor_kernel_2d() 307 * (1.0f / (float(M_TWO_PI) * sqrtf(determinant(Sigma_G_Sigma_F)))) in filter_gabor_kernel_2d() 315 a_f = sqrtf(M_TWO_PI * sqrtf(determinant(Sigma_GF))); in filter_gabor_kernel_2d()
|
H A D | gabornoise.cpp | 83 float omega_t = float (M_TWO_PI) * rng(); in gabor_sample() 97 float omega_t = float(M_TWO_PI) * rng(); in gabor_sample() 106 phi = float(M_TWO_PI) * rng(); in gabor_sample()
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/acro/packages/scolib/src/libs/ |
H A D | DockingPS.cpp | 21 #define M_TWO_PI (2.0*M_PI) macro 125 trial[curr-n+6] += M_TWO_PI; in generate_trial() 133 trial[5] += M_TWO_PI; in generate_trial() 140 if (trial[5] > M_TWO_PI) in generate_trial() 141 trial[5] -= M_TWO_PI; in generate_trial() 219 if (curr_iter[5] > M_TWO_PI) in update_pattern() 253 curr_iter[5] += M_TWO_PI; in update_pattern()
|
/dports/cad/gnucap/gnucap-2013-04-23/apps/ |
H A D | bm_sffm.cc | 151 double mod = (_modindex * sin(M_TWO_PI * _signal * time)); in tr_eval() 152 double ev = _offset + _amplitude * sin(M_TWO_PI * _carrier * time + mod); in tr_eval() 167 double mod = (_modindex * sin(M_TWO_PI * _signal * time)); in tr_review() 168 double inst_freq = _carrier * (1 + mod / (M_TWO_PI * _carrier * time)); in tr_review()
|
H A D | c_genrat.cc | 115 : ampl * sin(M_TWO_PI * freq*(CKT_BASE::_sim->_time0-delay) + phaz * DTOR); in gen()
|
H A D | bm_sin.cc | 162 double x=_amplitude*fixzero(sin(M_TWO_PI*_actual_frequency*(reltime-_delay)),1.); in tr_eval()
|
H A D | s_ac.cc | 247 _sim->_jomega = COMPLEX(0., _sim->_freq * M_TWO_PI); in sweep()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/libteletone/src/ |
H A D | libteletone_detect.c | 151 theta = (float)(M_TWO_PI*(dtmf_row[i]/(float)sample_rate)); in teletone_dtmf_detect_init() 154 theta = (float)(M_TWO_PI*(dtmf_col[i]/(float)sample_rate)); in teletone_dtmf_detect_init() 157 theta = (float)(M_TWO_PI*(dtmf_row[i]*2.0/(float)sample_rate)); in teletone_dtmf_detect_init() 160 theta = (float)(M_TWO_PI*(dtmf_col[i]*2.0/(float)sample_rate)); in teletone_dtmf_detect_init() 209 theta = (float)(M_TWO_PI*(map->freqs[x]/(float)mt->sample_rate)); in teletone_multi_tone_init()
|
H A D | libteletone_detect.h | 135 #define M_TWO_PI 2.0*M_PI macro
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/freetdm/src/ |
H A D | libteletone_detect.c | 147 theta = (float)(M_TWO_PI*(dtmf_row[i]/(float)sample_rate)); in teletone_dtmf_detect_init() 150 theta = (float)(M_TWO_PI*(dtmf_col[i]/(float)sample_rate)); in teletone_dtmf_detect_init() 153 theta = (float)(M_TWO_PI*(dtmf_row[i]*2.0/(float)sample_rate)); in teletone_dtmf_detect_init() 156 theta = (float)(M_TWO_PI*(dtmf_col[i]*2.0/(float)sample_rate)); in teletone_dtmf_detect_init() 205 theta = (float)(M_TWO_PI*(map->freqs[x]/(float)mt->sample_rate)); in teletone_multi_tone_init()
|
/dports/cad/gnucap/gnucap-2013-04-23/include/ |
H A D | constant.h | 35 double const M_TWO_PI = M_PI * 2; variable
|
/dports/cad/gnucap/gnucap-2013-04-23/lib/ |
H A D | m_fft.cc | 33 double wpwr = M_TWO_PI / nxp; in fft()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/freetdm/src/include/private/ |
H A D | libteletone_detect.h | 135 #define M_TWO_PI 2.0*M_PI macro
|
/dports/cad/iverilog/verilog-11.0/ |
H A D | constants.vams | 14 `define M_TWO_PI 6.28318530717958647693
|
/dports/games/cake/cake_src/cake/ |
H A D | entity.cpp | 1752 alpha = (alpha-floorf(alpha))*M_TWO_PI; in UpdateItem() 1767 alpha = (alpha-floorf(alpha))*M_TWO_PI; in UpdateItem() 1777 t = (t-floorf(t))*M_TWO_PI; in UpdateItem() 1831 t = sinf(M_TWO_PI*t)*height; in UpdateFuncBobbing() 1855 t = sinf(M_TWO_PI*t)*speed; in UpdateFuncPendulum()
|
H A D | client.cpp | 432 cmd.move_mouse_x = val*cam.fov/M_TWO_PI; in MoveMouseX() 438 cmd.move_mouse_y = val*cam.fov/M_TWO_PI; in MoveMouseY() 444 cmd.move_mouse_x = xval*cam.fov/M_TWO_PI; in MoveMouseXY() 445 cmd.move_mouse_y = yval*cam.fov/M_TWO_PI; in MoveMouseXY()
|
H A D | math.h | 22 #define M_TWO_PI 6.283185307179586476925286766559f macro
|
H A D | render.cpp | 2421 y = FastSin(x * M_TWO_PI); in Eval()
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/include/OpenImageIO/ |
H A D | fmath.h | 98 #ifndef M_TWO_PI 99 # define M_TWO_PI (M_PI * 2.0) macro
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/include/OpenImageIO/ |
H A D | fmath.h | 98 #ifndef M_TWO_PI 99 # define M_TWO_PI (M_PI * 2.0) macro
|
/dports/lang/fth/fth-1.4.1/src/ |
H A D | numbers.c | 4442 #if !defined(M_TWO_PI) in init_number() 4443 #define M_TWO_PI (M_PI * 2.0) /* pi*2 */ in init_number() macro 4452 fth_define("two-pi", fth_make_float(M_TWO_PI)); in init_number()
|