/dports/math/py-numpy/numpy-1.20.3/doc/changelog/ |
H A D | 1.20.0-changelog.rst | 211 * `#15791 <https://github.com/numpy/numpy/pull/15791>`__: [DOC] Added tutorial about the numpy.ma m… 219 * `#16156 <https://github.com/numpy/numpy/pull/16156>`__: DEP: Deprecate ``numpy.dual``. 254 * `#16300 <https://github.com/numpy/numpy/pull/16300>`__: DOC: Fix bad reference in ``numpy.ma`` 333 * `#16515 <https://github.com/numpy/numpy/pull/16515>`__: ENH: add type stubs from numpy-stubs 373 * `#16627 <https://github.com/numpy/numpy/pull/16627>`__: DOC: Updated documentation for numpy.sque… 387 * `#16653 <https://github.com/numpy/numpy/pull/16653>`__: DOC: cross-reference numpy.dot and numpy.… 492 * `#16900 <https://github.com/numpy/numpy/pull/16900>`__: MAINT: Chaining exceptions in numpy/__ini… 713 * `#17438 <https://github.com/numpy/numpy/pull/17438>`__: MAINT: Chaining exception in numpy\numpy\… 834 * `#17711 <https://github.com/numpy/numpy/pull/17711>`__: ENH: adds type hints to numpy.version 871 * `#17838 <https://github.com/numpy/numpy/pull/17838>`__: DOC: Update the ``numpy.typing`` document… [all …]
|
H A D | 1.17.0-changelog.rst | 177 * `#11358 <https://github.com/numpy/numpy/pull/11358>`__: MAINT: Rewrite numpy.pad without concaten… 222 * `#12552 <https://github.com/numpy/numpy/pull/12552>`__: BENCH: Improve benchmarks for numpy.pad 240 * `#12596 <https://github.com/numpy/numpy/pull/12596>`__: ENH: improve performance of numpy.core.re… 344 * `#12963 <https://github.com/numpy/numpy/pull/12963>`__: DOC: Grammatical fix in numpy doc 348 * `#12971 <https://github.com/numpy/numpy/pull/12971>`__: ENH: Add 'offset' keyword to 'numpy.fromf… 359 * `#13008 <https://github.com/numpy/numpy/pull/13008>`__: MAINT: Move pickle import to numpy.compat 375 * `#13056 <https://github.com/numpy/numpy/pull/13056>`__: BUG: Fixes to numpy.distutils.Configurati… 376 * `#13058 <https://github.com/numpy/numpy/pull/13058>`__: DOC: update docstring in numpy.interp doc… 418 * `#13149 <https://github.com/numpy/numpy/pull/13149>`__: DOC: correction to numpy.pad docstring 493 * `#13374 <https://github.com/numpy/numpy/pull/13374>`__: DOC: Specify range for numpy.angle [all …]
|
H A D | 1.16.0-changelog.rst | 176 * `#11383 <https://github.com/numpy/numpy/pull/11383>`__: ENH: Allow size=0 in numpy.random.choice 231 * `#11553 <https://github.com/numpy/numpy/pull/11553>`__: DOC: Tiny typo on numpy/reference/arrays.… 321 * `#11837 <https://github.com/numpy/numpy/pull/11837>`__: DOC: Make clear the connection between nu… 328 * `#11862 <https://github.com/numpy/numpy/pull/11862>`__: BUG: Re-add `_ones_like` to numpy.core.um… 379 * `#11962 <https://github.com/numpy/numpy/pull/11962>`__: ENH: maximum lines of content to be read … 407 * `#12030 <https://github.com/numpy/numpy/pull/12030>`__: DOC: use "import numpy as np" style 426 * `#12073 <https://github.com/numpy/numpy/pull/12073>`__: MAINT Avoid some memory copies in numpy.p… 442 * `#12115 <https://github.com/numpy/numpy/pull/12115>`__: ENH: `__array_function__` support for mos… 454 * `#12134 <https://github.com/numpy/numpy/pull/12134>`__: DOC: Remove duplicated sentence in numpy.… 540 * `#12372 <https://github.com/numpy/numpy/pull/12372>`__: BUG: random: Fix handling of a=0 for nump… [all …]
|
H A D | 1.19.0-changelog.rst | 151 * `#14924 <https://github.com/numpy/numpy/pull/14924>`__: BUG: Fix numpy.random.dirichlet returns N… 238 * `#15255 <https://github.com/numpy/numpy/pull/15255>`__: MAINT: Delete numpy.distutils.compat 323 * `#15425 <https://github.com/numpy/numpy/pull/15425>`__: MAINT: dir(numpy) returns duplicate "test… 373 * `#15550 <https://github.com/numpy/numpy/pull/15550>`__: DOC: Improve the ``numpy.linalg.eig`` doc… 494 * `#15920 <https://github.com/numpy/numpy/pull/15920>`__: DOC: Improve docstring for numpy.linalg.l… 544 * `#16080 <https://github.com/numpy/numpy/pull/16080>`__: BUG: numpy.einsum indexing arrays now acc… 545 * `#16081 <https://github.com/numpy/numpy/pull/16081>`__: DOC: add note on type casting to numpy.le… 569 * `#16162 <https://github.com/numpy/numpy/pull/16162>`__: BUG: add missing numpy/__init__.pxd to th… 572 * `#16170 <https://github.com/numpy/numpy/pull/16170>`__: ENH: resync numpy/__init__.pxd with upstr… 576 * `#16183 <https://github.com/numpy/numpy/pull/16183>`__: DOC: Fix link to numpy docs in README. [all …]
|
H A D | 1.12.0-changelog.rst | 158 * `#5488 <https://github.com/numpy/numpy/pull/5488>`__: ENH: add `contract`: optimizing numpy's ein… 211 * `#7195 <https://github.com/numpy/numpy/pull/7195>`__: STY: Drop some trailing spaces in `numpy.ma… 252 * `#7294 <https://github.com/numpy/numpy/pull/7294>`__: ENH: add support for BLIS to numpy.distutils 326 * `#7511 <https://github.com/numpy/numpy/pull/7511>`__: numpy.power(0, 0) should return 1 388 * `#7734 <https://github.com/numpy/numpy/pull/7734>`__: Update 7542, ENH: Add `polyrootval` to nump… 394 * `#7746 <https://github.com/numpy/numpy/pull/7746>`__: DOC: Clarify the effect of rcond in numpy.l… 399 * `#7759 <https://github.com/numpy/numpy/pull/7759>`__: BUG: Fix numpy.i support for numpy API < 1.… 459 * `#8016 <https://github.com/numpy/numpy/pull/8016>`__: BUG: Fix numpy.ma.median. 532 * `#8222 <https://github.com/numpy/numpy/pull/8222>`__: ENH: Make numpy.mean() do more precise comp… 534 * `#8231 <https://github.com/numpy/numpy/pull/8231>`__: ENH: Refactor numpy ** operators for numpy … [all …]
|
H A D | 1.18.0-changelog.rst | 128 * `#9301 <https://github.com/numpy/numpy/pull/9301>`__: DOC: added note to docstring of numpy.savez 183 * `#13946 <https://github.com/numpy/numpy/pull/13946>`__: DOC: Add a numpy-doc docstring to add_new… 192 * `#13970 <https://github.com/numpy/numpy/pull/13970>`__: DOC: spellcheck numpy/doc/broadcasting.py 193 * `#13976 <https://github.com/numpy/numpy/pull/13976>`__: MAINT, TST: remove test-installed-numpy.py 211 * `#14032 <https://github.com/numpy/numpy/pull/14032>`__: NEP: numpy.org website redesign 276 * `#14235 <https://github.com/numpy/numpy/pull/14235>`__: DOC: add backlinks to numpy.org 295 * `#14298 <https://github.com/numpy/numpy/pull/14298>`__: BUG: Fix numpy.random bug in platform det… 301 * `#14325 <https://github.com/numpy/numpy/pull/14325>`__: DEP: numpy.testing.rand 323 * `#14390 <https://github.com/numpy/numpy/pull/14390>`__: DOC: document numpy/doc update process 503 * `#14944 <https://github.com/numpy/numpy/pull/14944>`__: MAINT: move numpy/random/examples -> nump… [all …]
|
H A D | 1.14.0-changelog.rst | 150 * `#9142 <https://github.com/numpy/numpy/pull/9142>`__: BUG: set default type for empty index array… 180 * `#9247 <https://github.com/numpy/numpy/pull/9247>`__: BUG: fix missing keyword rename for common … 216 * `#9369 <https://github.com/numpy/numpy/pull/9369>`__: BUG: fix error in fromstring function from … 219 * `#9381 <https://github.com/numpy/numpy/pull/9381>`__: TST: test doc string of COMMON block arrays… 279 * `#9581 <https://github.com/numpy/numpy/pull/9581>`__: DOC: Fix link in numpy.ndarray.copy method … 316 * `#9685 <https://github.com/numpy/numpy/pull/9685>`__: BUG: Fixes #7395, operator.index now fails … 364 * `#9817 <https://github.com/numpy/numpy/pull/9817>`__: BUG: Added exception for casting numpy.ma.m… 401 * `#9936 <https://github.com/numpy/numpy/pull/9936>`__: DOC: Clarify docstring for numpy.array_split 409 * `#9952 <https://github.com/numpy/numpy/pull/9952>`__: ENH: add Decimal support to numpy.lib.finan… 448 * `#10054 <https://github.com/numpy/numpy/pull/10054>`__: ENH: Add encoding option to numpy text IO. [all …]
|
H A D | 1.15.0-changelog.rst | 168 * `#10199 <https://github.com/numpy/numpy/pull/10199>`__: ENH: Quantile 180 * `#10223 <https://github.com/numpy/numpy/pull/10223>`__: ENH: added masked version of 'numpy.stack… 192 * `#10251 <https://github.com/numpy/numpy/pull/10251>`__: ENH: Enable AVX2/AVX512 support to numpy 226 * `#10333 <https://github.com/numpy/numpy/pull/10333>`__: DOC: typo fix in numpy.linalg.det docstri… 254 * `#10420 <https://github.com/numpy/numpy/pull/10420>`__: DOC: Fix version added labels in numpy.un… 347 * `#10710 <https://github.com/numpy/numpy/pull/10710>`__: BUG: fix error message in numpy.select 385 * `#10812 <https://github.com/numpy/numpy/pull/10812>`__: MAINT: Rearrange `numpy/testing` files 387 * `#10822 <https://github.com/numpy/numpy/pull/10822>`__: BUG: fixes exception in numpy.genfromtxt,… 483 * `#11094 <https://github.com/numpy/numpy/pull/11094>`__: DOC: add numpy.lib.format to docs and lin… 502 * `#11152 <https://github.com/numpy/numpy/pull/11152>`__: BENCH: Add basic benchmarks for numpy.pad [all …]
|
H A D | 1.13.0-changelog.rst | 124 * `#7742 <https://github.com/numpy/numpy/pull/7742>`__: Add `axis` argument to numpy.unique 135 * `#8251 <https://github.com/numpy/numpy/pull/8251>`__: MAINT: Cleaned up mailmap 139 * `#8279 <https://github.com/numpy/numpy/pull/8279>`__: BUG: bool(dtype) is True 250 * `#8636 <https://github.com/numpy/numpy/pull/8636>`__: MAINT: ensure benchmark suite is importable… 276 * `#8685 <https://github.com/numpy/numpy/pull/8685>`__: ENH: add dtype.ndim 280 * `#8695 <https://github.com/numpy/numpy/pull/8695>`__: MAINT: Remove numpy-macosx-installer and wi… 282 * `#8702 <https://github.com/numpy/numpy/pull/8702>`__: DOC: Fixed small mistakes in numpy.copy doc… 302 * `#8781 <https://github.com/numpy/numpy/pull/8781>`__: BUG: Revert gh-8570. 304 * `#8792 <https://github.com/numpy/numpy/pull/8792>`__: DOC: Fix typos 307 * `#8796 <https://github.com/numpy/numpy/pull/8796>`__: BUG: fix regex of determineexprtype_re_3 in… [all …]
|
H A D | 1.13.3-changelog.rst | 33 * `#9240 <https://github.com/numpy/numpy/pull/9240>`__: DOC: BLD: fix lots of Sphinx warnings/error… 36 * `#9262 <https://github.com/numpy/numpy/pull/9262>`__: BUG: fix missing keyword rename for common … 37 * `#9263 <https://github.com/numpy/numpy/pull/9263>`__: BUG: handle resize of 0d array 39 * `#9299 <https://github.com/numpy/numpy/pull/9299>`__: BUG: Fix Intel compilation on Unix. 45 * `#9372 <https://github.com/numpy/numpy/pull/9372>`__: BUG: Fix error in fromstring function from … 46 * `#9373 <https://github.com/numpy/numpy/pull/9373>`__: BUG: ')' is printed at the end pointer of t… 51 * `#9379 <https://github.com/numpy/numpy/pull/9379>`__: DOC: Update the 1.13.1 release notes 55 * `#9557 <https://github.com/numpy/numpy/pull/9557>`__: DOC: Fix some rst markup in numpy/doc/basic… 60 * `#9736 <https://github.com/numpy/numpy/pull/9736>`__: BUG: various fixes to np.gradient 61 * `#9742 <https://github.com/numpy/numpy/pull/9742>`__: BUG: Fix np.pad for CVE-2017-12852 [all …]
|
/dports/math/py-colormath/colormath-3.0.0/colormath/ |
H A D | color_diff_matrix.py | 35 C_1 = numpy.sqrt(numpy.sum(numpy.power(lab_color_vector[1:], 2))) 36 C_2 = numpy.sqrt(numpy.sum(numpy.power(lab_color_matrix[:, 1:], 2), axis=1)) 55 return numpy.sqrt(numpy.sum(numpy.power(LCH / params, 2), axis=0)) 69 C_1 = numpy.sqrt(numpy.sum(numpy.power(lab_color_vector[1:], 2))) 70 C_2 = numpy.sqrt(numpy.sum(numpy.power(lab_color_matrix[:, 1:], 2), axis=1)) 83 F = numpy.sqrt(numpy.power(C_1, 4) / (numpy.power(C_1, 4) + 1900.0)) 108 return numpy.sqrt(numpy.sum(numpy.power(LCH / params, 2), axis=0)) 120 C1 = numpy.sqrt(numpy.sum(numpy.power(lab_color_vector[1:], 2))) 121 C2 = numpy.sqrt(numpy.sum(numpy.power(lab_color_matrix[:, 1:], 2), axis=1)) 130 C1p = numpy.sqrt(numpy.power(a1p, 2) + numpy.power(b, 2)) [all …]
|
/dports/science/py-scoria/scoria-1.0.5/scoria/dumbpy/ |
H A D | __init__.py | 57 from numpy import core 61 from numpy import max 72 from numpy import sum 73 from numpy import min 80 from numpy import cos 81 from numpy import sin 83 from numpy import dot 86 from numpy import lib 91 from numpy import ma 98 from numpy import sum [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/pecos/python/python_src/PyDakota/unit/ |
H A D | test_math_tools.py | 54 a = numpy.arange( 5., dtype = numpy.double ) 63 a = numpy.arange( 6., dtype = numpy.double ) 168 numpy.allclose( A, numpy.dot( q, r ) ) 175 numpy.allclose( A, numpy.dot( q, r ) ) 182 numpy.allclose( A, numpy.dot( q, r ) ) 189 p = numpy.asarray( numpy.nonzero( P )[1], numpy.int32 ) 196 if numpy.allclose( P, numpy.eye( 3 ) ): 197 p = numpy.empty( (0), numpy.int32 ) 199 p = numpy.asarray( numpy.nonzero( P )[1], numpy.int32 ) 239 A, numpy.dot(numpy.dot(eigvecs,numpy.diag(eigvals)),eigvecs.T) ) [all …]
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/parasites/tides/resources/ |
H A D | waveforms.py | 42 sine = numpy.sin(2 * numpy.pi * x) 49 sine = numpy.sin(2 * numpy.pi * x) 56 sine = numpy.sin(2 * numpy.pi * x) 63 sine = numpy.sin(2 * numpy.pi * x) 75 x = numpy.hstack((numpy.zeros(1,), numpy.cumsum(x))) 118 pulse = numpy.sin(numpy.pi * i * m) / (m * numpy.sin(numpy.pi * i) + 1e-9) 148 sin = (1.0 - numpy.cos(numpy.pi * x)) / 2.0 149 tan = numpy.arctan(8 * numpy.cos(numpy.pi * x)) 153 inverse_tan = numpy.arccos(numpy.tan(scale * (1.0 - 2.0 * x)) / 8.0) / numpy.pi 229 sine = numpy.sin(8 * numpy.pi * x) [all …]
|
/dports/science/xcfun/xcfun-2.1.1-1-gf87ca0e/tests/ |
H A D | test_xcfun.py | 15 import numpy 319 pbe_fun.eval_potential_n(numpy.zeros((10, )), numpy.zeros((10, 3)), numpy.zeros((10, 6))) 326 pbe_fun.eval_potential_n(numpy.zeros((10, )), numpy.zeros((10, )), numpy.zeros((10, 6))) 328 pbe_fun.eval_potential_n(numpy.zeros((10, )), numpy.zeros((10, 4)), numpy.zeros((10, 6))) 330 pbe_fun.eval_potential_n(numpy.zeros((10, )), numpy.zeros((20, 3)), numpy.zeros((10, 6))) 332 pbe_fun.eval_potential_n(numpy.zeros((10, )), numpy.zeros((10, 3)), numpy.zeros((10, ))) 334 pbe_fun.eval_potential_n(numpy.zeros((10, )), numpy.zeros((10, 3)), numpy.zeros((10, 3))) 336 pbe_fun.eval_potential_n(numpy.zeros((10, )), numpy.zeros((10, 3)), numpy.zeros((20, 6))) 371 … pbe_fun.eval_potential_ab(numpy.zeros((10, 2)), numpy.zeros((10, 3, 2)), numpy.zeros((10, 6, 2))) 378 … pbe_fun.eval_potential_ab(numpy.zeros((10, 2)), numpy.zeros((10, 3)), numpy.zeros((10, 6, 2))) [all …]
|
/dports/science/py-scoria/scoria-1.0.5/scoria/ |
H A D | Selections.py | 360 return numpy.unique(numpy.hstack(indices)) 443 numpy.nonzero(numpy.cdist(inversion_coors, selection_coors) < cutoff)[0] 596 return (numpy.array([]), numpy.array([])) 599 return (numpy.array([]), numpy.array([])) 602 return (numpy.array([]), numpy.array([])) 608 return (numpy.array([]), numpy.array([])) 611 return (numpy.array([]), numpy.array([])) 614 return (numpy.array([]), numpy.array([])) 632 return (numpy.array([]), numpy.array([])) 665 return (numpy.array([]), numpy.array([])) [all …]
|
/dports/science/py-pyscf/pyscf-2.0.1/pyscf/cc/ |
H A D | ccsd_rdm_slow.py | 20 import numpy 27 t2ab = numpy.copy(t2) 28 t2aa = numpy.copy(t2) \ 32 l2ab = 2*numpy.copy(l2) 33 l2aa = numpy.copy(l2) \ 36 doo = numpy.zeros((nocc,nocc)) 41 dvv = numpy.zeros((nvir,nvir)) 52 dov = numpy.zeros((nocc,nvir)) 60 dvo = numpy.zeros((nvir,nocc)) 154 numpy.random.seed(2) [all …]
|
/dports/math/py-numpy-stl/numpy-stl-2.11.3/tests/ |
H A D | test_rotate.py | 2 import numpy 54 assert numpy.allclose(mesh.vectors, numpy.array([ 132 assert numpy.allclose(mesh.vectors, numpy.array([ 137 assert numpy.allclose(mesh.vectors, numpy.array([ 149 assert numpy.allclose(mesh.vectors, numpy.array([ 154 assert numpy.allclose(mesh.vectors, numpy.array([ 166 assert numpy.allclose(mesh.vectors, numpy.array([ 171 assert numpy.allclose(mesh.vectors, numpy.array([ 183 assert numpy.allclose(mesh.vectors, numpy.array([ 188 assert numpy.allclose(mesh.vectors, numpy.array([ [all …]
|
H A D | test_mesh.py | 1 import numpy 11 data = numpy.zeros(1, dtype=Mesh.dtype) 99 assert numpy.allclose(mesh.vectors[0], numpy.array([[1, 0, 0], 102 assert numpy.allclose(mesh.vectors[1], numpy.array([[2, 0, 0], 105 assert numpy.allclose(mesh.vectors[2], numpy.array([[0, 0, 0], 112 assert numpy.allclose(mesh.vectors[0], numpy.array([[1, 0, 0], 115 assert numpy.allclose(mesh.vectors[1], numpy.array([[2, 0, 0], 118 assert numpy.allclose(mesh.vectors[2], numpy.array([[0, 0, 0], 197 assert (mesh[0] == numpy.array( 204 assert (mesh.v0[0] == numpy.array([1., 1., 1.], dtype=numpy.float32)).all() [all …]
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/plaits/resources/ |
H A D | lookup_tables.py | 46 x = numpy.sin(2 * numpy.pi * t) 56 numpy.sqrt(2) / 2, numpy.pi / 4, 1.0, 1.0 * 2 ** (16 / 1200.0), numpy.sqrt(2), 58 2 * numpy.sqrt(2), 3, numpy.pi, numpy.sqrt(3) * 2, 4, numpy.sqrt(2) * 3, 59 numpy.pi * 3 / 2, 5, numpy.sqrt(2) * 4, 8] 68 gap = numpy.argmax(numpy.diff(scale)) 89 tan = numpy.arctan(8 * numpy.cos(numpy.pi * x)) 92 bump = (1.0 - numpy.cos(numpy.pi * x * 1.5)) * (1.0 - numpy.cos(numpy.pi * fade_crop)) / 4.5 95 inverse_tan = numpy.arccos(numpy.tan(scale * (1.0 - 2.0 * x)) / 8.0) / numpy.pi 112 sine = numpy.sin(8 * numpy.pi * x) 197 real_cepstrum = numpy.fft.ifft(numpy.log(1e-50 + numpy.abs(Xf))).real [all …]
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/libs/eurorack/eurorack/plaits/resources/ |
H A D | lookup_tables.py | 46 x = numpy.sin(2 * numpy.pi * t) 56 numpy.sqrt(2) / 2, numpy.pi / 4, 1.0, 1.0 * 2 ** (16 / 1200.0), numpy.sqrt(2), 58 2 * numpy.sqrt(2), 3, numpy.pi, numpy.sqrt(3) * 2, 4, numpy.sqrt(2) * 3, 59 numpy.pi * 3 / 2, 5, numpy.sqrt(2) * 4, 8] 68 gap = numpy.argmax(numpy.diff(scale)) 89 tan = numpy.arctan(8 * numpy.cos(numpy.pi * x)) 92 bump = (1.0 - numpy.cos(numpy.pi * x * 1.5)) * (1.0 - numpy.cos(numpy.pi * fade_crop)) / 4.5 95 inverse_tan = numpy.arccos(numpy.tan(scale * (1.0 - 2.0 * x)) / 8.0) / numpy.pi 112 sine = numpy.sin(8 * numpy.pi * x) 197 real_cepstrum = numpy.fft.ifft(numpy.log(1e-50 + numpy.abs(Xf))).real [all …]
|
/dports/science/py-pyscf/pyscf-2.0.1/pyscf/tools/ |
H A D | c60struct.py | 16 import numpy 19 c = numpy.cos(ang) 20 s = numpy.sin(ang) 25 c = numpy.cos(ang) 26 s = numpy.sin(ang) 37 theta1 = numpy.arccos(1/numpy.sqrt(5)) 41 s2 = numpy.sin(theta2) 42 c2 = numpy.cos(theta2) 73 theta1 = numpy.arccos(1/numpy.sqrt(5)) 92 theta1 = numpy.arccos(numpy.sqrt(5)/3) [all …]
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/parasites/braids/resources/ |
H A D | lookup_tables.py | 29 import numpy 66 bandpass_coeff_1 = -2 * numpy.cos(2 * numpy.pi * f) 74 response = numpy.sin((n + 1) * 2 * numpy.pi * f) / numpy.sin(2 * numpy.pi * f) 81 numpy.minimum( 101 f = 2 * numpy.sin(numpy.pi * f) 183 numpy.sqrt(2) / 2, numpy.pi / 4, 1.0, 1.0 * 2 ** (16 / 1200.0), numpy.sqrt(2), 185 2 * numpy.sqrt(2), 3, numpy.pi, numpy.sqrt(3) * 2, 4, numpy.sqrt(2) * 3, 186 numpy.pi * 3 / 2, 5, numpy.sqrt(2) * 4, 8] 193 target_size = int(2 ** numpy.ceil(numpy.log2(len(scale)))) 195 gap = numpy.argmax(numpy.diff(scale)) [all …]
|
/dports/audio/lenticular-lv2/lenticular_lv2-0.5.0-14-g14d8075/eurorack/braids/resources/ |
H A D | lookup_tables.py | 29 import numpy 66 bandpass_coeff_1 = -2 * numpy.cos(2 * numpy.pi * f) 74 response = numpy.sin((n + 1) * 2 * numpy.pi * f) / numpy.sin(2 * numpy.pi * f) 81 numpy.minimum( 101 f = 2 * numpy.sin(numpy.pi * f) 183 numpy.sqrt(2) / 2, numpy.pi / 4, 1.0, 1.0 * 2 ** (16 / 1200.0), numpy.sqrt(2), 185 2 * numpy.sqrt(2), 3, numpy.pi, numpy.sqrt(3) * 2, 4, numpy.sqrt(2) * 3, 186 numpy.pi * 3 / 2, 5, numpy.sqrt(2) * 4, 8] 193 target_size = int(2 ** numpy.ceil(numpy.log2(len(scale)))) 195 gap = numpy.argmax(numpy.diff(scale)) [all …]
|
/dports/lang/halide/Halide-release_2019_08_27-2654-g664dc4993/python_bindings/correctness/ |
H A D | addconstant_test.py | 2 import numpy 21 input_u8 = numpy.array([0, 1, 2], dtype=numpy.uint8) 25 input_i8 = numpy.array([1, -2, 3], dtype=numpy.int8) 34 output_u8 = numpy.zeros((3,), dtype=numpy.uint8) 35 output_u16 = numpy.zeros((3,), dtype=numpy.uint16) 36 output_u32 = numpy.zeros((3,), dtype=numpy.uint32) 37 output_u64 = numpy.zeros((3,), dtype=numpy.uint64) 38 output_i8 = numpy.zeros((3,), dtype=numpy.int8) 39 output_i16 = numpy.zeros((3,), dtype=numpy.int16) 40 output_i32 = numpy.zeros((3,), dtype=numpy.int32) [all …]
|