shrinkage::ProximalVector
Shrinkage for Rust · rust · 0.3.0
Source: src/solver/proximal.rs
Owned CPU storage for a backend's product vectors.
Matrix products and normalization remain in LazyMatrix. This capability supplies reusable buffers and bridges native vectors to the slice-based predictor and proximal capabilities. It does not represent device storage.
LazyMatrix vectors with VectorOwned<Owned = Self>, mutable indexed access, and the normalization operations below implement this trait automatically. Indexed access may be strided; it does not require contiguous storage.
Methods
get
Source: src/solver/proximal.rs
Read an entry in constant time.
set
Source: src/solver/proximal.rs
Write an entry in constant time.
zeros
Source: src/solver/proximal.rs
Allocate a zero vector of the requested length.
