CR.Sparse
v0.1.5
Contents:
Introduction
Tutorials
Getting Started
Fourier and Wavelet Representations
CR.Sparse API Documentation
Digital Signal Processing
Wavelets
Sparsifying Dictionaries and Sensing Matrices
Linear Operators
Greedy Sparse Recovery/Approximation Algorithms
Convex Optimization based Sparse Recovery/Approximation Algorithms
Sample Data Generation Utilities
Utilities in cr.sparse module
Some checks and utilities for matrices (2D arrays)
Row wise and column wise norms for signal/representation matrices
Sparse representations
cr.sparse.nonzero_values
cr.sparse.nonzero_indices
cr.sparse.randomize_rows
cr.sparse.randomize_cols
cr.sparse.largest_indices
cr.sparse.hard_threshold
cr.sparse.hard_threshold_sorted
cr.sparse.sparse_approximation
cr.sparse.build_signal_from_indices_and_values
cr.sparse.dynamic_range
cr.sparse.nonzero_dynamic_range
cr.sparse.largest_indices_rw
cr.sparse.take_along_rows
cr.sparse.sparse_approximation_rw
cr.sparse.largest_indices_cw
cr.sparse.take_along_cols
cr.sparse.sparse_approximation_cw
Evaluation Framework
Linear Algebra Subroutines
Examples Gallery
Benchmarks
Acronyms
References
CR.Sparse
»
CR.Sparse API Documentation
»
Utilities in cr.sparse module
»
cr.sparse.hard_threshold
Edit on GitHub
cr.sparse.hard_threshold
¶
cr.sparse.
hard_threshold
(
x
,
K
)
[source]
¶
Returns the indices and corresponding values of largest K non-zero entries in a vector x
Read the Docs
v: v0.1.5
Versions
latest
stable
v0.1.5
v0.1.4
Downloads
On Read the Docs
Project Home
Builds