/dports/graphics/vips/vips-8.12.0/libvips/create/ |
H A D | sines.c | 82 VipsSines *sines = (VipsSines *) point; in vips_sines_point() local 84 return( cos( sines->c * (x * sines->costheta - y * sines->sintheta) ) ); in vips_sines_point() 99 theta = sines->hfreq == 0.0 ? in vips_sines_build() 100 VIPS_PI / 2.0 : atan( sines->vfreq / sines->hfreq ); in vips_sines_build() 101 factor = sqrt( sines->hfreq * sines->hfreq + in vips_sines_build() 102 sines->vfreq * sines->vfreq ); in vips_sines_build() 103 sines->costheta = cos( theta ); in vips_sines_build() 104 sines->sintheta = sin( theta ); in vips_sines_build() 142 vips_sines_init( VipsSines *sines ) in vips_sines_init() argument 144 sines->hfreq = 0.5; in vips_sines_init() [all …]
|
/dports/science/harminv/harminv-1.3.1/ |
H A D | sines.c | 73 sinusoid *sines = NULL; in main() local 171 sines = (sinusoid*) realloc(sines, sizeof(sinusoid) * nalloc); in main() 172 CHECK(sines, "out of memory"); in main() 174 sines[nsines++] = s; in main() 189 output += sines[is].amplitude * in main() 190 cexp(I * (sines[is].phase - TWOPI*sines[is].freq * i*dt) in main() 191 - sines[is].decay * i*dt); in main() 199 free(sines); in main()
|
H A D | ChangeLog | 9 harminv.h, sines.c: version bump 23 harminv.1, harminv.c, harminv.h, sines.c: version, copyright year 107 * sines.c: sines -R 109 * harminv-main.c, sines.c: handle RE-IMi format 189 sines.c: copyright year update 198 * sines.c: added -s 226 * sines.c: add noise option -N 238 * sines.c: bug fix: default # timesteps should be NPERIODS 273 * sines.c: fixed compilation error under C 277 * sines.c: explained meaning of Im[freq] [all …]
|
H A D | Makefile.am | 5 noinst_PROGRAMS = sines 20 sines_SOURCES = sines.c
|
/dports/audio/lmms/lmms-1.2.2/plugins/LadspaEffect/calf/src/calf/ |
H A D | fft.h | 37 complex sines[1<<O]; variable 58 sines[i + 3 * N90] = -(sines[i + N90] = complex(-s, c)); in fft() 59 sines[i + 2 * N90] = -(sines[i] = complex(c, s)); in fft() 95 output[B1]=r1+r2*sines[(B1<<(O-i-1))&N1]; in calculate() 96 output[B2]=r1+r2*sines[(B2<<(O-i-1))&N1]; in calculate()
|
/dports/audio/calf-lv2/calf-648f05e85287cf08af198bdd9e52baba95b502ec/src/calf/ |
H A D | fft.h | 39 complex sines[1<<O]; variable 60 sines[i + 3 * N90] = -(sines[i + N90] = complex(-s, c)); in fft() 61 sines[i + 2 * N90] = -(sines[i] = complex(c, s)); in fft() 97 output[B1]=r1+r2*sines[(B1<<(O-i-1))&N1]; in calculate() 98 output[B2]=r1+r2*sines[(B2<<(O-i-1))&N1]; in calculate() 147 output[B1]=r1+r2*sines[(B1<<(O-i-1))&N1]; in calculateN() 148 output[B2]=r1+r2*sines[(B2<<(O-i-1))&N1]; in calculateN()
|
/dports/math/xtensor-python/xtensor-python-0.26.0/docs/source/examples/readme_example_1/ |
H A D | main.cpp | 9 auto sines = xt::sin(m); // sines does not actually hold values. in sum_of_sines() local 10 return std::accumulate(sines.begin(), sines.end(), 0.0); in sum_of_sines()
|
/dports/math/xtensor-python/xtensor-python-0.26.0/docs/source/ |
H A D | basic_usage.rst | 25 auto sines = xt::sin(m); // sines does not actually hold values. 26 return std::accumulate(sines.cbegin(), sines.cend(), 0.0); 34 m.def("sum_of_sines", sum_of_sines, "Sum the sines of the input values");
|
/dports/math/xtensor-python/xtensor-python-0.26.0/docs/source/examples/copy_cast/ |
H A D | main.cpp | 10 auto sines = xt::sin(m); // sines does not actually hold values. in sum_of_sines() local 11 return std::accumulate(sines.begin(), sines.end(), 0.0); in sum_of_sines()
|
/dports/audio/sc3-plugins/sc3-plugins-Version-3.9.0/source/NCAnalysisUGens/sc/HelpSource/Classes/ |
H A D | SMS.schelp | 8 …sines+noise model first described by Xavier Serra in his 1989 PhD thesis; an input sound is analys… 53 …provided buffer with sines + noise data; the buffer must be size 1 + 513 + 5*(maxsines). The first… 135 var in, fft, sines, noise, freq, hasFreq; 142 #sines, noise=SMS.ar(in, 50,50, 8, 1.0, MouseX.kr(0.5,4)); 144 Pan2.ar(sines*(hasFreq.lag(0.01,0.01)) + LPF.ar(noise,MouseY.kr(100,10000,'exponential')),0.0) 153 var in, fft, sines, noise, freq, hasFreq; 160 #sines, noise=SMS.ar(if(hasFreq,in, Silent.ar), 50,50, 8, 1.0, MouseX.kr(0.5,4)); 162 if(hasFreq,Pan2.ar(sines + LPF.ar(noise,MouseY.kr(100,10000,'exponential')), 0.0),0.25*in) 224 //just sines 314 //plot sines (512) only (not plotting noise for now but could do as (128 bands))
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/math/example/ |
H A D | sines.hpp | 19 static const boost::array<double, 32> sines = variable 21 static const std::array<double, 32> sines =
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/math/example/ |
H A D | sines.hpp | 19 static const boost::array<double, 32> sines = variable 21 static const std::array<double, 32> sines =
|
/dports/databases/percona57-server/boost_1_59_0/libs/math/example/ |
H A D | sines.hpp | 19 static const boost::array<double, 32> sines = variable 21 static const std::array<double, 32> sines =
|
/dports/databases/xtrabackup/boost_1_59_0/libs/math/example/ |
H A D | sines.hpp | 19 static const boost::array<double, 32> sines = variable 21 static const std::array<double, 32> sines =
|
/dports/databases/percona57-client/boost_1_59_0/libs/math/example/ |
H A D | sines.hpp | 19 static const boost::array<double, 32> sines = variable 21 static const std::array<double, 32> sines =
|
/dports/math/xtensor/xtensor-0.24.0/docs/source/ |
H A D | related.rst | 46 auto sines = xt::sin(m); 47 // sines does not actually hold any value 48 return std::accumulate(sines.cbegin(), sines.cend(), 0.0); 57 "Sum the sines of the input values"); 176 auto sines = xt::sin(m); // sines does not actually hold values. 177 return std::accumulate(sines.cbegin(), sines.cend(), 0.0); 294 auto sines = xt::sin(m); // sines does not actually hold values. 295 return std::accumulate(sines.cbegin(), sines.cend(), 0.0);
|
/dports/audio/snd/snd-21.2/ |
H A D | singer.rb | 98 sines = Vct.new(200) 279 sines.fill(0.0) 284 sines[1] = (cos(a2) + (sin(a2) - sin(b2)) * temp) * temp1 * one_over_two_pi 287 sines[1] = sines[1] + (0.75 + -cos(a2) + cos(2.0 * a2) * 0.25) * one_over_two_pi 295 sines[k] = (cos(ka2) + (sin(ka2) - sin(k * b2)) * temp) * (temp1 / k) 298 sines[k] = sines[k] + ((1.0 - cos(ka2)) / k) + \ 301 sines[k] *= one_over_two_pi 312 glot_table[j] = glot_table[j] + cosines[k] * cos(k * x) + sines[k] * sin(k * x)
|
/dports/audio/spectmorph/spectmorph-0.5.2/src/ |
H A D | smtool.cc | 516 vector<double> sines (frame_size); in exec() local 517 reconstruct (audio.contents[i], sines, audio); in exec() 521 sm_printf ("%zd %f %f %f\n", n, v, sines[n], v - sines[n]); in exec() 728 vector<double> sines (frame_size); in exec() local 730 reconstruct (audio.contents[i], sines, audio); in exec() 748 sines.resize (block_size); in exec() 749 for (guint i = 0; i < sines.size(); i++) in exec() 750 sines[i] *= window[i]; in exec() 754 sines.resize (block_size * zeropad); in exec() 760 std::copy (sines.begin(), sines.end(), fft_in); in exec() [all …]
|
/dports/graphics/wdune/wdune-1.926/src/ |
H A D | NurbsArc.cpp | 73 MyArray<float> cosines, sines; in NurbsArc() local 78 sines[i] = sin(angle); in NurbsArc() 110 P2 = rPoint + X * r * cosines[i] + Y * r * sines[i]; in NurbsArc() 113 T2 = X * (-sines[i]) + Y * cosines[i]; in NurbsArc()
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/slic3r/GUI/ |
H A D | GLModel.cpp | 170 std::vector<float> sines(resolution); in stilized_arrow() local 176 sines[i] = -::sin(angle); in stilized_arrow() 185 …append_vertex(data, { tip_radius * sines[i], tip_radius * cosines[i], stem_height }, { sines[i], c… in stilized_arrow() 198 …append_vertex(data, { tip_radius * sines[i], tip_radius * cosines[i], stem_height }, -Vec3f::UnitZ… in stilized_arrow() 204 …append_vertex(data, { stem_radius * sines[i], stem_radius * cosines[i], stem_height }, -Vec3f::Uni… in stilized_arrow() 219 …append_vertex(data, { stem_radius * sines[i], stem_radius * cosines[i], stem_height }, { sines[i],… in stilized_arrow() 225 …append_vertex(data, { stem_radius * sines[i], stem_radius * cosines[i], 0.0f }, { sines[i], cosine… in stilized_arrow() 241 … append_vertex(data, { stem_radius * sines[i], stem_radius * cosines[i], 0.0f }, -Vec3f::UnitZ()); in stilized_arrow()
|
/dports/audio/sc3-plugins/sc3-plugins-Version-3.9.0/source/MCLDUGens/sc/ |
H A D | MCLDGetenvUGen.sc | 30 (t2-t1).poll(1, "101 sines"); 31 (t3-t2).poll(1, "21 sines");
|
/dports/math/universal/universal-3.48/tests/vmath/ |
H A D | trigonometry.cpp | 24 auto sines = sin(v); in TestTriangleVmath() local 25 std::cout << "sines = " << sines << '\n';; in TestTriangleVmath()
|
/dports/graphics/ogre3d/ogre-1.11.6/Samples/Water/include/ |
H A D | Water.h | 527 static double sines[4] = {0,100,200,300}; in animateHead() local 531 sines[i]+=adds[i]*timeSinceLastFrame; in animateHead() 533 Real tx = ((sin(sines[0]) + sin(sines[1])) / 4 + 0.5 ) * (float)(COMPLEXITY-2) + 1 ; in animateHead() 534 Real ty = ((sin(sines[2]) + sin(sines[3])) / 4 + 0.5 ) * (float)(COMPLEXITY-2) + 1 ; in animateHead()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel.Internals/System/Runtime/ |
H A D | HashHelper.cs | 14 uint[] sines = new uint[] { in ComputeHash() 99 …b = a + f + sines[j] + (uint)(block[g] + (block[g + 1] << 8) + (block[g + 2] << 16) + (block[g + 3… in ComputeHash()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.Runtime/ |
H A D | MD5HashHelper.cs | 14 uint[] sines = new uint[] { in ComputeHash() 99 …b = a + f + sines[j] + (uint)(block[g] + (block[g + 1] << 8) + (block[g + 2] << 16) + (block[g + 3… in ComputeHash()
|