CR.Sparse
v0.1.6
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
Linear Algebra Subroutines
Numerical Optimization Routines
Projections
cr.sparse.opt.project_to_ball
cr.sparse.opt.project_to_box
cr.sparse.opt.project_to_real_upper_limit
Shrinkage
Conjugate Gradient Methods
Evaluation Framework
Examples Gallery
Benchmarks
Acronyms
References
CR.Sparse
»
CR.Sparse API Documentation
»
Numerical Optimization Routines
»
cr.sparse.opt.project_to_ball
Edit on GitHub
cr.sparse.opt.project_to_ball
¶
cr.sparse.opt.
project_to_ball
(
x
,
radius
=
1.0
)
[source]
¶
Projects a vector to the
\(\ell_2\)
ball of a specified radius.
Read the Docs
v: v0.1.6
Versions
latest
stable
v0.1.6
v0.1.5
v0.1.4
Downloads
On Read the Docs
Project Home
Builds