Search
Search Results
Search finished, found 34 page(s) matching the search query.
- numpy.matrix.flat
...numpy.matrix.flat...
- numpy.matrix.flatten
...ce Array objects Standard array subclasses numpy.matrix numpy.matrix.flatten...
- numpy.matrix.flat (Python attribute, in numpy.matrix.flat)
- Array iterator API
...ay be passed in flags, applying to the whole iterator, are: NPY_ITER_C_INDEX Causes the iterator to track a raveled flat index matching C order. This option cannot be used with NPY_ITER_F_INDEX. NPY_ITER_F_INDEX Causes the iterator...
- Internal organization of NumPy arrays
...s for ufuncs, there is no large intrinsic advantage to either approach in most cases. On the other hand, use of ndarray.flat with a FORTRAN ordered array will lead to non-optimal memory access as adjacent elements in the flattened array (it...
- NumPy 1.14.0 Release Notes
...ision times the largest of the input array dimensions. A FutureWarning is issued when rcond is not passed explicitly. a.flat.__array__() will return a writeable copy of a when a is non-contiguous. Previously it returned an UPDATEIFCOPY arr...
- NumPy 1.9.0 Release Notes
...the value array was too small or did not match. Code using this will raise an error. For compatibility you can use arr.flat[index] = values, which uses the old code branch. (for example a = np.ones(10); a[np.arange(10)] = [1, 2, 3]) The i...
- NumPy 2.0.0 Release Notes
...tTo, PyArray_CastAnyTo are removed use PyArray_CopyInto and if absolutely needed PyArray_CopyAnyInto (the latter does a flat copy). PyArray_FillObjectArray is removed, its only true use was for implementing np.empty. Create a new empty arr...
- NumPy quickstart
...0 31 32 33] [40 41 42 43] However, if one wants to perform an operation on each element in the array, one can use the flat attribute which is an iterator over all the elements of the array: >>> for element in b.flat: ... print(element...
- numpy.char.chararray
...array’s data. device dtypeData-type of the array’s elements. flagsInformation about the memory layout of the array. flatA 1-D iterator over the array. imagThe imaginary part of the array. itemset itemsizeLength of one array element in...
- numpy.matrix
...1, 2], [3, 4]]) matrix([[1, 2], [3, 4]]) Attributes: AReturn self as an ndarray object. A1Return self as a flattened ndarray. HReturns the (complex) conjugate transpose of self. IReturns the (multiplicative) inverse of invert...
- numpy.matrix.flat
...numpy.matrix.flat...
- numpy.matrix.flatten
...ce Array objects Standard array subclasses numpy.matrix numpy.matrix.flatten...
- numpy.matrix.item
...which element is copied into a standard Python scalar object and returned. int_type: this argument is interpreted as a flat index into the array, specifying which element to copy and return. tuple of int_types: functions as does a single i...
- numpy.matrix.put
...numpy.matrix.put method matrix.put(indices, values, mode='raise') Set a.flat[n] = values[n] for all n in indices. Refer to numpy.put for full documentation. See also numpy.putequivalent func...
- numpy.matrix.ravel
...numpy.matrix.ravel method matrix.ravel(order='C')[source] Return a flattened matrix. Refer to numpy.ravel for more documentation. Parameters: order{‘C’, ‘F’, ‘A’, ‘K’}, optionalThe elem...
- numpy.polynomial.chebyshev.chebvander2d
...of shape (xdeg + 1, ydeg + 1) in the order \[c_{00}, c_{01}, c_{02} ... , c_{10}, c_{11}, c_{12} ...\] and np.dot(V, c.flat) and chebval2d(x, y, c) will be the same up to roundoff. This equivalence is useful both for least squares fitting...
- numpy.polynomial.chebyshev.chebvander3d
...1, ydeg + 1, zdeg + 1) in the order \[c_{000}, c_{001}, c_{002},... , c_{010}, c_{011}, c_{012},...\] and np.dot(V, c.flat) and chebval3d(x, y, z, c) will be the same up to roundoff. This equivalence is useful both for least squares fitti...
- numpy.polynomial.hermite.hermvander2d
...of shape (xdeg + 1, ydeg + 1) in the order \[c_{00}, c_{01}, c_{02} ... , c_{10}, c_{11}, c_{12} ...\] and np.dot(V, c.flat) and hermval2d(x, y, c) will be the same up to roundoff. This equivalence is useful both for least squares fitting...
- numpy.polynomial.hermite.hermvander3d
...1, ydeg + 1, zdeg + 1) in the order \[c_{000}, c_{001}, c_{002},... , c_{010}, c_{011}, c_{012},...\] and np.dot(V, c.flat) and hermval3d(x, y, z, c) will be the same up to roundoff. This equivalence is useful both for least squares fitti...
- numpy.polynomial.hermite_e.hermevander2d
...of shape (xdeg + 1, ydeg + 1) in the order \[c_{00}, c_{01}, c_{02} ... , c_{10}, c_{11}, c_{12} ...\] and np.dot(V, c.flat) and hermeval2d(x, y, c) will be the same up to roundoff. This equivalence is useful both for least squares fitting...
- numpy.polynomial.hermite_e.hermevander3d
...1, ydeg + 1, zdeg + 1) in the order \[c_{000}, c_{001}, c_{002},... , c_{010}, c_{011}, c_{012},...\] and np.dot(V, c.flat) and hermeval3d(x, y, z, c) will be the same up to roundoff. This equivalence is useful both for least squares fitt...
- numpy.polynomial.laguerre.lagvander2d
...of shape (xdeg + 1, ydeg + 1) in the order \[c_{00}, c_{01}, c_{02} ... , c_{10}, c_{11}, c_{12} ...\] and np.dot(V, c.flat) and lagval2d(x, y, c) will be the same up to roundoff. This equivalence is useful both for least squares fitting a...
- numpy.polynomial.laguerre.lagvander3d
...1, ydeg + 1, zdeg + 1) in the order \[c_{000}, c_{001}, c_{002},... , c_{010}, c_{011}, c_{012},...\] and np.dot(V, c.flat) and lagval3d(x, y, z, c) will be the same up to roundoff. This equivalence is useful both for least squares fittin...
- numpy.polynomial.legendre.legvander2d
...of shape (xdeg + 1, ydeg + 1) in the order \[c_{00}, c_{01}, c_{02} ... , c_{10}, c_{11}, c_{12} ...\] and np.dot(V, c.flat) and legval2d(x, y, c) will be the same up to roundoff. This equivalence is useful both for least squares fitting a...
- numpy.polynomial.legendre.legvander3d
...1, ydeg + 1, zdeg + 1) in the order \[c_{000}, c_{001}, c_{002},... , c_{010}, c_{011}, c_{012},...\] and np.dot(V, c.flat) and legval3d(x, y, z, c) will be the same up to roundoff. This equivalence is useful both for least squares fittin...
- numpy.polynomial.polynomial.polyvander2d
...of shape (xdeg + 1, ydeg + 1) in the order \[c_{00}, c_{01}, c_{02} ... , c_{10}, c_{11}, c_{12} ...\] and np.dot(V, c.flat) and polyval2d(x, y, c) will be the same up to roundoff. This equivalence is useful both for least squares fitting...
- numpy.polynomial.polynomial.polyvander3d
...1, ydeg + 1, zdeg + 1) in the order \[c_{000}, c_{001}, c_{002},... , c_{010}, c_{011}, c_{012},...\] and np.dot(V, c.flat) and polyval3d(x, y, z, c) will be the same up to roundoff. This equivalence is useful both for least squares fitti...
- numpy.ravel
...numpy.ravel numpy.ravel(a, order='C')[source] Return a contiguous flattened array. A 1-D array, containing the elements of the input, is returned. A copy is made only if needed. As of N...
- numpy.recarray
...array’s data. device dtypeData-type of the array’s elements. flagsInformation about the memory layout of the array. flatA 1-D iterator over the array. imagThe imaginary part of the array. itemset itemsizeLength of one array element in...
- Standard array subclasses
...ation is raised by the iterator. There are several ways to iterate over an array that may be useful: default iteration, flat iteration, and \(N\)-dimensional enumeration. Default iteration The default iterator of an ndarray object is the d...
- Testing the numpy.i typemaps
...ee-dimensional tests, substitute Tensor for Vector. For four-dimensional tests, substitute SuperTensor for Vector. For flat in-place array tests, substitute Flat for Vector. For the descriptions that follow, we will reference the Vector te...
- numpy.matrix.flatten (Python method, in numpy.matrix.flatten)
- Array API
...e needed properties of obj. The output is a converted version of the input so that requirements are met and if needed a flattening has occurred. On output negative values of *axis are converted and the new value is checked to ensure consist...