Search
Search Results
Search finished, found 42 page(s) matching the search query.
- numpy.einsum
...NumPy reference NumPy’s module structure Linear algebra numpy.einsum...
- numpy.einsum_path
...NumPy reference NumPy’s module structure Linear algebra numpy.einsum_path...
- numpy.einsum (Python function, in numpy.einsum)
- NumPy 1.10.0 Release Notes
...must be specified, either by a same label input core dimension or by a passed-in output array. views returned from np.einsum are writeable Views returned by np.einsum will now be writeable whenever the input array is writeable. np.argmi...
- NumPy 1.12.0 Release Notes
...ollowing may be of particular interest or indicate areas likely to have future consequences. Order of operations in np.einsum can now be optimized for large speed improvements. New signature argument to np.vectorize for vectorizing with co...
- NumPy 1.14.0 Release Notes
...new releases. More details can be found in NEP 12. This release supports Python 2.7 and 3.4 - 3.6. Highlights The np.einsum function uses BLAS when possible genfromtxt, loadtxt, fromregex and savetxt can now handle files with arbitrary P...
- NumPy 1.14.1 Release Notes
..., particularly the printing of complex values, Please report any additional problems that may turn up. Problems with np.einsum due to the new optimized=True default. Some fixes for optimization have been applied and optimize=False is now th...
- NumPy 1.14.4 Release Notes
...genfromtxt should be decoded #11211: BUG: Fix reference count/memory leak exposed by better testing #11219: BUG: Fixes einsum broadcasting bug when optimize=True #11251: DOC: Document 1.14.4 release....
- NumPy 1.15.0 Release Notes
...am functions. Support for unicode field names in python 2.7. Improved support for PyPy. Fixes and improvements to numpy.einsum. New functions numpy.gcd and numpy.lcm, to compute the greatest common divisor and least common multiple. num...
- NumPy 1.15.1 Release Notes
...ing PyErr_NoMemory after failing malloc #11719: BUG: Fix undefined functions on big-endian systems. #11720: MAINT: Make einsum optimize default to False. #11746: BUG: Fix regression in loadtxt for bz2 text files in Python 2. #11757: BUG: Re...
- NumPy 1.15.4 Release Notes
...297: BUG: Fix fill value in masked array ‘==’ and ‘!=’ ops. #12307: DOC: Correct the default value of optimize in numpy.einsum #12320: REL: Prepare for the NumPy 1.15.4 release...
- NumPy 1.16.0 Release Notes
...ain exceptions to give better error messages for invalid PEP3118 format strings This should help track down problems. Einsum optimization path updates and efficiency improvements Einsum was synchronized with the current upstream work. n...
- NumPy 1.16.6 Release Notes
...853: BLD: add ‘apt update’ to shippable #14854: BUG: Fix _ctypes class circular reference. (#13808) #14856: BUG: Fix np.einsum errors on Power9 Linux and z/Linux #14863: BLD: Prevent -flto from optimising long double representation… #14864:...
- NumPy 1.17.4 Release Notes
...he Skylake architecture. Highlights Fixed random.random_integers biased generation of 8 and 16 bit integers. Fixed np.einsum regression on Power9 and z/Linux. Fixed histogram problem with signed integer arrays. Contributors A total of...
- NumPy 1.19.0 Release Notes
...this only makes a difference if the operating system is set up to use madvise transparent hugepage. (gh-15769) numpy.einsum accepts NumPy int64 type in subscript list There is no longer a type error thrown when numpy.einsum is passed a N...
- NumPy 1.21.5 Release Notes
...merged for this release. #20357: MAINT: Do not forward __(deep)copy__ calls of _GenericAlias… #20462: BUG: Fix float16 einsum fastpaths using wrong tempvar #20463: BUG, DIST: Print os error message when the executable not exist #20464: BLD...
- NumPy 1.23.2 Release Notes
...np.angle dtype-overloads #22032: MAINT: Do not let _GenericAlias wrap the underlying classes’… #22033: TYP,MAINT: Allow einsum subscripts to be passed via integer… #22034: MAINT,TYP: Add object-overloads for the np.generic rich comparisons...
- NumPy 1.25.0 Release Notes
...e: Support for MUSL, there are now MUSL wheels. Support the Fujitsu C/C++ compiler. Object arrays are now supported in einsum Support for inplace matrix multiplication (@=). We will be releasing a NumPy 1.26 when Python 3.12 comes out. Th...
- NumPy 1.6.0 Release Notes
...multi_index : Converts a multi-index tuple into an array of flat indices, applying boundary modes to the indices. numpy.einsum : Evaluate the Einstein summation convention. Using the Einstein summation convention, many common multi-dimensi...
- NumPy 1.6.1 Release Notes
...NumPy 1.6.1 Release Notes This is a bugfix only release in the 1.6.x series. Issues Fixed #1834: einsum fails for specific shapes #1837: einsum throws nan or freezes python for specific array shapes #1838: object <->...
- NumPy 1.8.1 Release Notes
...bounds fails with datetime dtypes gh-4486: segfault/error converting from/to high-precision datetime64 objects gh-4428: einsum(None, None, None, None) causes segfault gh-4134: uninitialized use for for size 1 object reductions Changes N...
- NumPy 1.9.0 Release Notes
...w checked to match the desired output shape exactly. If the check fails a ValueError instead of TypeError is raised. Einsum Remove unnecessary broadcasting notation restrictions. np.einsum('ijk,j->ijk', A, B) can also be written as np.ei...
- NumPy 1.9.1 Release Notes
...Import dummy_threading if importing threading fails gh-5148: Make numpy import when run with Python flag ‘-OO’ gh-5147: Einsum double contraction in particular order causes ValueError gh-479: Make f2py work with intent(in out) gh-5170: Make...
- NumPy 2.3.0 Release Notes
...s who use “growinner” for custom reductions could notice changes in precision (for example, in NumPy we removed it from einsum to avoid most precision changes and improve precision for some 64bit floating point inputs). (gh-27883) The min...
- numpy.dot
...tComplex-conjugating dot product. vecdotVector dot product of two arrays. tensordotSum products over arbitrary axes. einsumEinstein summation convention. matmul‘@’ operator as method with out parameter. linalg.multi_dotChained dot prod...
- numpy.einsum
...NumPy reference NumPy’s module structure Linear algebra numpy.einsum...
- numpy.einsum_path
...NumPy reference NumPy’s module structure Linear algebra numpy.einsum_path...
- numpy.inner
...trary axes. dotGeneralised matrix product, using second last dimension of b. vecdotVector dot product of two arrays. einsumEinstein summation convention. Notes For vectors (1-D arrays) it computes the ordinary inner-product: np.inner(...
- numpy.linalg.tensordot
...ay_like must be of the same length. Returns: outputndarrayThe tensor dot product of the input. See also dot, einsum Notes Three common use cases are: axes = 0 : tensor product \(a\otimes b\) axes = 1 : tensor dot product \(a\c...
- numpy.linalg.tensorsolve
...es: LinAlgErrorIf a is singular or not ‘square’ (in the above sense). See also numpy.tensordot, tensorinv, numpy.einsum Examples Try it in your browser! >>> import numpy as np >>> a = np.eye(2*3*4) >>> a.shape = (2*3, 4, 2, 3, 4)...
- numpy.ma.inner
...trary axes. dotGeneralised matrix product, using second last dimension of b. vecdotVector dot product of two arrays. einsumEinstein summation convention. Notes Masked values are replaced by 0. For vectors (1-D arrays) it computes the...
- numpy.ma.innerproduct
...trary axes. dotGeneralised matrix product, using second last dimension of b. vecdotVector dot product of two arrays. einsumEinstein summation convention. Notes Masked values are replaced by 0. For vectors (1-D arrays) it computes the...
- numpy.ma.outer
...ptionalA location where the result is stored Returns: out(M, N) ndarrayout[i, j] = a[i] * b[j] See also inner einsumeinsum('i,j->ij', a.ravel(), b.ravel()) is the equivalent. ufunc.outerA generalization to dimensions other than 1...
- numpy.ma.outerproduct
...ptionalA location where the result is stored Returns: out(M, N) ndarrayout[i, j] = a[i] * b[j] See also inner einsumeinsum('i,j->ij', a.ravel(), b.ravel()) is the equivalent. ufunc.outerA generalization to dimensions other than 1...
- numpy.matmul
...vectors. vecmatVector-matrix product for stacks of vectors and matrices. tensordotSum products over arbitrary axes. einsumEinstein summation convention. dotalternative matrix product with different broadcasting rules. Notes The beha...
- numpy.matvec
...is passed in. See also vecdotVector-vector product. vecmatVector-matrix product. matmulMatrix-matrix product. einsumEinstein summation convention. Examples Try it in your browser! Rotate a set of vectors from Y to X along Z. >...
- numpy.outer
...ptionalA location where the result is stored Returns: out(M, N) ndarrayout[i, j] = a[i] * b[j] See also inner einsumeinsum('i,j->ij', a.ravel(), b.ravel()) is the equivalent. ufunc.outerA generalization to dimensions other than 1...
- numpy.tensordot
...ay_like must be of the same length. Returns: outputndarrayThe tensor dot product of the input. See also dot, einsum Notes Three common use cases are: axes = 0 : tensor product \(a\otimes b\) axes = 1 : tensor dot product \(a\c...
- numpy.vecdot
...but flattens arguments first matmulMatrix-matrix product. vecmatVector-matrix product. matvecMatrix-vector product. einsumEinstein summation convention. Examples Try it in your browser! >>> import numpy as np Get the projected siz...
- numpy.vecmat
...is passed in. See also vecdotVector-vector product. matvecMatrix-vector product. matmulMatrix-matrix product. einsumEinstein summation convention. Examples Try it in your browser! Project a vector along X and Y. >>> v = np.arr...
- numpy.einsum_path (Python function, in numpy.einsum_path)
- Array API
...rray must have the correct shape, type, and be C-contiguous, or an exception is raised. PyArrayObject *PyArray_EinsteinSum(char *subscripts, npy_intp nop, PyArrayObject **op_in, PyArray_Descr *dtype, NPY_ORDER order, NPY_CASTING casting...