xoa.core.num#
Low level numeric utilities
The numerical inputs and outputs of all these routines are of scalar or numpy.ndarray type.
Functions
|
Convert input to at least 1D float array, useful for numba accelerated functions |
|
Broadcast arrays against each other, except along an axis, and view them in 3D |
|
Convert COO sparse triplets to a CsrMatrix. |
|
Unified skipna SpMM: out[i,k] = weighted sum of X[stencil, k] with NaN renorm. |
|
The first and last non nan values for a 1d array |
|
Tell if an array, or a dtype, is a single or double precision float |
|
|
|
Number of eigenvalues of a symmetric tridiagonal matrix below x, with a Sturm sequence |
|
Lowest eigenpairs of a symmetric tridiagonal matrix |
|
Solve a tridiagonal system in place, with partial pivoting, like LAPACK dgtsv |
|
|
|
View an array as a 3D array |
Classes
|
Minimal CSR sparse matrix — replaces scipy.sparse.csr_matrix for the regridder. |