PlesioGeostroPy
PlesioGeostroPy
Tutorials
API reference
pg_utils.eigen
pg_utils.numerics
pg_utils.numerics.io
pg_utils.numerics.linalg
pg_utils.numerics.matrices
pg_utils.numerics.matrices.invert_block_diag
pg_utils.numerics.matrices.quad_matrix_gmpy2
pg_utils.numerics.matrices.quad_matrix_mpmath
pg_utils.numerics.matrices.quad_matrix_scipy
pg_utils.numerics.matrices.quad_matrix_sympy
pg_utils.numerics.matrices.sparsify
pg_utils.numerics.matrices.InnerProdQuad
pg_utils.numerics.matrices.InnerQuad_GaussJacobi
pg_utils.numerics.matrices.InnerQuad_Rule
pg_utils.numerics.matrices.LabeledBlockArray
pg_utils.numerics.matrices.LabeledBlockMatrix
pg_utils.numerics.matrices.MatrixExpander
pg_utils.numerics.matrices.QuadRecipe
pg_utils.numerics.special
pg_utils.numerics.symparser
pg_utils.numerics.utils
pg_utils.pg_model
pg_utils.processing
pg_utils.sympy_supp
PlesioGeostroPy
pg_utils
pg_utils.numerics
pg_utils.numerics.matrices
pg_utils.numerics.matrices.sparsify
View page source
pg_utils.numerics.matrices.sparsify
pg_utils.numerics.matrices.
sparsify
(
array
:
ndarray
,
clip_threshold
:
Union
[
float
,
float64
]
=
2.220446049250313e-16
)
→
coo_array
[source]
Create sparse array from dense array