Search
Search Results
Search finished, found 21 page(s) matching the search query.
- numpy.trunc
...NumPy reference Routines and objects by topic Mathematical functions numpy.trunc...
- numpy.trunc (Python data, in numpy.trunc)
- NumPy 1.17.0 Release Notes
...rrect shape. The message of the error now includes this shape to help diagnose the cause of failure. floor, ceil, and trunc now respect builtin magic methods These ufuncs now call the __floor__, __ceil__, and __trunc__ methods when called...
- NumPy 1.24 Release Notes
...ments for all SIMD kernels implemented using the universal intrinsics, including the following operations: rint, floor, trunc, ceil, sqrt, absolute, square, reciprocal, tanh, sin, cos, equal, not_equal, greater, greater_equal, less, less_eq...
- NumPy 1.26.1 Release Notes
...gs e.g. -march=native… #24773: DOC: Updated the f2py docs to remove a note on -fimplicit-none #24776: BUG: Fix SIMD f32 trunc test on s390x when baseline is none #24785: BLD: add libquadmath to licences and other tweaks (#24753) #24786: MAI...
- NumPy 1.3.0 Release Notes
.... rad2deg - converts radians to degrees, same as the degrees ufunc. log2 - base 2 logarithm. exp2 - base 2 exponential. trunc - truncate floats to nearest integer towards zero. logaddexp - add numbers stored as logarithms and return the log...
- NumPy 2.1.0 Release Notes
...recise signature. This is due to the limitations of ufunc’s typing stub. (gh-26313) numpy.floor, numpy.ceil, and numpy.trunc now won’t perform casting to a floating dtype for integer and boolean dtype input arrays. (gh-26766) ma.corrcoe...
- numpy.around
...is an alias of round. See also ndarray.roundequivalent method roundalias for this function ceil, fix, floor, rint, trunc...
- numpy.ceil
...Returns: yndarray or scalarThe ceiling of each element in x. This is a scalar if x is a scalar. See also floor, trunc, rint, fix Examples >>> import numpy as np >>> a = np.array([-1.7, -1.5, -0.2, 0.2, 1.5, 1.7, 2.0]) >>> np.cei...
- numpy.fix
...nt is supplied the result is stored there. The return value out is then a reference to that array. See also rint, trunc, floor, ceil aroundRound to given number of decimals Examples >>> import numpy as np >>> np.fix(3.14) 3.0 >>> n...
- numpy.floor
...Returns: yndarray or scalarThe floor of each element in x. This is a scalar if x is a scalar. See also ceil, trunc, rint, fix Notes Some spreadsheet programs calculate the “floor-towards-zero”, where floor(-2.5) == -2. NumPy i...
- numpy.ma.around
...is an alias of round. See also ndarray.roundequivalent method roundalias for this function ceil, fix, floor, rint, trunc...
- numpy.rint
...or scalarOutput array is same shape and type as x. This is a scalar if x is a scalar. See also fix, ceil, floor, trunc Notes For values exactly halfway between rounded decimal values, NumPy rounds to the nearest even value. Thus 1....
- numpy.round
...at is a float. See also ndarray.roundequivalent method aroundan alias for this function ceil, fix, floor, rint, trunc Notes For values exactly halfway between rounded decimal values, NumPy rounds to the nearest even value. Thus 1....
- numpy.trunc
...NumPy reference Routines and objects by topic Mathematical functions numpy.trunc...
- numpy.polynomial.chebyshev.Chebyshev.truncate (Python method, in numpy.polynomial.chebyshev.Chebyshev.truncate)
- numpy.polynomial.hermite.Hermite.truncate (Python method, in numpy.polynomial.hermite.Hermite.truncate)
- numpy.polynomial.hermite_e.HermiteE.truncate (Python method, in numpy.polynomial.hermite_e.HermiteE.truncate)
- numpy.polynomial.laguerre.Laguerre.truncate (Python method, in numpy.polynomial.laguerre.Laguerre.truncate)
- numpy.polynomial.legendre.Legendre.truncate (Python method, in numpy.polynomial.legendre.Legendre.truncate)
- numpy.polynomial.polynomial.Polynomial.truncate (Python method, in numpy.polynomial.polynomial.Polynomial.truncate)