shrinkage::ProximalDesign
Shrinkage for Rust · rust · 0.3.0
Source: src/solver/proximal/design.rs
A prepared CPU design oracle for proximal gradient.
Products use the optimization-scale design. Each call operates on complete slices so runtime dispatch stays outside scalar loops. Concrete adapters retain LazyMatrix normalization, native product buffers, and column views. This solver capability does not replace LazyMatrix's matrix traits.
Associated types
Error
Source: src/solver/proximal/design.rs
type Error;Backend failure type.
Methods
forward
Source: src/solver/proximal/design.rs
Write the normalized forward product into reusable output storage.
Errors
Reject mismatched dimensions and preserve backend failures. Output is unspecified after an error and must not be consumed.
into_preprocessing
Source: src/solver/proximal/design.rs
Consume the prepared design and retain its fitted normalization vectors.
ncols
Source: src/solver/proximal/design.rs
Number of coefficients.
nrows
Source: src/solver/proximal/design.rs
Number of observations.
screening_design
Source: src/solver/proximal/design.rs
Borrow optional normalized-column operations for safe screening.
Product-only adapters can retain their existing implementation. The solver screens only when the design exposes this capability.
transpose
Source: src/solver/proximal/design.rs
Write the normalized transposed product into reusable output storage.
Errors
Reject mismatched dimensions and preserve backend failures. Output is unspecified after an error and must not be consumed.
