Numpy: use with multiprecision data types#
Numpy: general use with multiprecision data types
- Numpy array creation from shape or value
- Conversion from integer, float or complex array
- Ones on the diagonal and zeros elsewhere: numpy.eye
- Identity array: numpy.identity
- Array of ones: numpy.ones
- Array of ones: numpy.ones_like
- Array of zeros: numpy.zeros
- Array of zeros: numpy.zeros_like
- Array of constant: numpy.full
- Array of constant: numpy.full_like
- Array with ones at and below the given diagonal and zeros elsewhere: numpy.tri
- Numpy array creation from existing data
- Array from object: numpy.array
- Array from object: numpy.asarray
- Array from object: numpy.asanyarray
- Array from data in a text or binary file: numpy.fromfile
- Array from a function: numpy.fromfunction
- Array from an iterable object: numpy.fromiter
- Array from text data in a string: numpy.fromstring
- Array from text data in a formatted file: numpy.loadtxt
- Array from text data in a text file (can handle missing values): numpy.genfromtxt
- Building special arrays for numerical work
- Evenly spaced values within a given interval: numpy.arange
- Evenly spaced values within a given interval: numpy.linspace
- Evenly spaced values on a log scale: numpy.logspace
- Evenly spaced values on a log scale (a geometric progression): numpy.geomspace
- Extract a diagonal or construct a diagonal array: numpy.diag
- Extract specified diagonals: numpy.diagonal
- Two-dimensional array with the flattened input as a diagonal: numpy.diagflat
- Lower triangle of an array: numpy.tril
- Upper triangle of an array: numpy.triu
- Vandermonde matrix.: numpy.vander
- Numpy indexing
- Numpy basic array manipulation routines
- Copy values from one array to another: numpy.copyto
- Get the shape of an array: numpy.shape
- Reshape an array without changing its data: numpy.reshape
- Get a contiguous flattened array: numpy.ravel
- 1-D iterator over the array: ndarry.flat
- Get a copy of the array collapsed into one dimension: ndarry.flatten
- Numpy array manipulation: Transpose-like operations
- Numpy array manipulation: Changing number of dimensions
- Convert inputs to arrays with at least one dimension: numpy.atleast_1d
- Convert inputs to arrays with at least two dimensions: numpy.atleast_2d
- Convert inputs to arrays with at least two dimensions: numpy.atleast_3d
- Broadcast an array to a new shape: numpy.broadcast_to
- Broadcast any number of arrays against each other: numpy.broadcast_arrays
- Expand the shape of an array: numpy.expand_dims
- Remove axes of length one from an array: numpy.squeeze
- Numpy array manipulation: Joining arrays
- Join a sequence of arrays along an existing axis: numpy.concatenate
- Join a sequence of arrays along an existing axis: numpy.stack
- Assemble an nd-array from nested lists of blocks: numpy.block
- Stack arrays in sequence vertically (row wise): numpy.vstack
- Stack arrays in sequence horizontally (column wise): numpy.hstack
- Stack arrays in sequence depth wise (along third axis): numpy.dstack
- Stack 1-D arrays as columns into a 2-D array: numpy.column_stack
- Numpy array manipulation: Splitting and tiling arrays
- Split an array into multiple sub-arrays as views: numpy.split
- Split an array into multiple sub-arrays: numpy.array_split
- Split array into multiple sub-arrays along the 3rd axis (depth): numpy.dsplit
- Split an array into multiple sub-arrays horizontally (column-wise): numpy.hsplit
- Split an array into multiple sub-arrays vertically (row-wise): numpy.vsplit
- Construct an array by repeating a given array: numpy.tile
- Repeat each element of an array after themselves: numpy.repeat
- Numpy array manipulation: Adding and removing elements
- Pad an array: numpy.pad
- Return a new array with sub-arrays along an axis deleted: numpy.delete
- Insert values along the given axis before the given indices: numpy.insert
- Append values to the end of an array: numpy.append
- Trim zeros from a 1-D array: numpy.trim_zeros
- Find the unique elements of an array: numpy.unique
- Numpy array manipulation: Rearranging elements
- Reverse the order of elements in an array along the given axis: numpy.flip
- Reverse the order of elements along axis 1 (left/right): numpy.fliplr
- Reverse the order of elements along axis 0 (up/down): numpy.flipud
- Roll array elements along a given axis: numpy.roll
- Rotate an array by 90 degrees: numpy.rot90
- Numpy array manipulation: Sorting
- Numpy array manipulation: Searching
- Indices of the maximum values along an axis: numpy.argmax
- Get indices of the minimum values along an axis: numpy.argmin
- Find the indices of array elements that are non-zero, grouped by element: numpy.argwhere
- Get the indices of array elements that are non-zero: numpy.nonzero
- Return elements depending on a condition: numpy.where
- Return an array drawn from elements in choicelist, depending on a condition: numpy.select
- Numpy mathematical functions: Sums, products, differences
- Product of array elements: numpy.prod
- Sum of array elements: numpy.sum
- Cumulative product of array elements: numpy.cumprod
- Cumulative sum of array elements: numpy.cumsum
- N-th discrete difference: numpy.diff
- Differences between consecutive elements: numpy.ediff1d
- Gradient of an N-dimensional array: numpy.gradient
- Trapezoidal rule: numpy.trapezoid
- Numpy mathematical functions: Extrema Finding
- Numpy mathematical functions: Arithmetic operations, elementwise
- Numerical positive, element-wise: numpy.positive
- Numerical negative, element-wise: numpy.negative
- Add arguments element-wise: numpy.add
- Subtract arguments element-wise: numpy.subtract
- Multiply arguments element-wise: numpy.multiply
- Divide arguments element-wise: numpy.divide
- Floor-divide arguments element-wise: numpy.floor_divide
- Element-wise remainder of division: numpy.remainder
- Element-wise square: numpy.square
- Element-wise reciprocal: numpy.reciprocal
- Numpy mathematical functions: Averages and variances
- Numpy mathematical functions: Matrix and vector products
- Dot product: numpy.dot
- Dot product of two vectors: numpy.vdot
- Inner product of two arrays: numpy.inner
- Outer product of two vectors: numpy.outer
- Matrix product of two arrays: numpy.matmul
- Tensor dot product: numpy.matmul
- Einstein summation: numpy.einsum
- Kronecker product: numpy.kron
- Discrete, linear convolution: numpy.convolve
- Numpy logical functions: Truth value testing
- Test whether all array elements evaluate to True.: numpy.all, ctx.all
- Test whether any array element evaluates to True: numpy.any, ctx.any
- Logical AND: numpy.logical_and, ctx.logical_and
- Logical OR: numpy.logical_or, ctx.logical_or
- Logical XOR: numpy.logical_xor, ctx.logical_xor
- Testing array equality: numpy.array_equal, ctx.array_equal
- Testing array array_equivalence: numpy.array_equiv, ctx.array_equiv
- Truth value of (x1 > x2) element-wise: numpy.greater, ctx.greater
- Truth value of (x1 >= x2) element-wise: numpy.greater_equal, ctx.greater_equal
- Truth value of (x1 < x2) element-wise: numpy.less, ctx.less
- Truth value of (x1 <= x2) element-wise: numpy.less_equal, ctx.less_equal
- Truth value of (x1 == x2) element-wise: numpy.equal, ctx.equal
- Truth value of (x1 != x2) element-wise: numpy.equal, ctx.equal
- Numpy mathematical functions: Integer and fractional
- Numpy mathematical functions: Miscellaneous
- Summary and examples: Numpy utility functions
- Arithmetic operations with scalars and iterables
- fadd: Addition using a custom precision and rounding mode
- fsub: Subtraction using a custom precision and rounding mode
- fneg: Negation of a number using a custom precision and rounding mode
- fmul: Multiplication using a custom precision and rounding mode
- fdiv: Division using a custom precision and rounding mode
- fsum: Sum of a finite number of terms
- fprod: Product of a finite number of factors
- fdot: Dot product
- Numerical transformations and descriptive statistics
- Standard decompositions and linear solving
- Cholesky decomposition
- Cholesky decomposition, solve
- Matrix LU factorization
- Determinant of a matrix, using LU decomposition
- Inverse of a matrix, using the LU factorization
- Linear equations: LU solve
- Linear equations: residual of LU solve
- ??? LU improve solution
- mpmath: LU condition number
- QR factorization
- QR solve
- Singular Value and Eigen decompositions
- Real singular value decomposition of a matrix A
- Complex singular value decomposition of a matrix A
- mpmath: Singular value decomposition of a matrix A (real or complex)
- Eigenvalue problem for a real symmetric square matrix A
- Eigenvalue problem for a complex hermitian square matrix A
- mpmath: Eigenvalue problem for a selfadjoint square matrix A
- mpmath: tridiag_sym
- mpmath tridiag_her
- mpmath: tridiag_eigen_sym
- Eigensystem decomposition of a matrix A (real or complex)
- Sorting Eigenvalues
- mpmath: Hessenberg decomposition of a matrix A (real or complex)
- Schur decomposition of a matrix A (real or complex)
- Analytic functions of a matrix
- Discrete Fourier transform (DFT)
- Overview
- One-dimensional discrete Fourier Transform (fft)
- One-dimensional inverse discrete Fourier Transform (ifft)
- One-dimensional discrete Fourier Transform for real input (rfft)
- One-dimensional inverse discrete Fourier Transform of rfft (irfft)
- FFT of a signal that has Hermitian symmetry, i.e., a real spectrum (hfft)
- Inverse FFT of a signal that has Hermitian symmetry (ihfft)
- Discrete Fourier Transform sample frequencies (fftfreq)
- Discrete Fourier Transform sample frequencies for usage with rfft, irfft (rfftfreq)
- Flint/Functions for matrices
- Matrix multiplication: special options for FMPQ, ARB, ACB
- Determinant (incl. special options for FMPQ, ARB, ACB)
- Inverse (incl. special options for FMPQ, ARB, ACB)
- Solve (incl. special options for FMPQ, ARB, ACB)
- Matrix Exponential
- Matrix Sine
- Matrix Cosine
- Matrix Hyperbolic Sine
- Matrix Hyperbolic Cosine
- Characteristic polynomial
- Calculating eigenvalues via characteristic polynomials
- Eigenvalue enclosure (Rump)
- Eigenvalues, step by setp
- Eigenvalues, multiple