Appearance
cellpack::format::cpk::SourceLayout
Module contract · All interfaces
At a glance
pub enum SourceLayout {
Csr,
Dense,
}The form a matrix arrived in.
Recorded for the caller’s benefit; every record still picks its own layout.
Fields and variants
Csr
CsrCSR input: indices and values per row, sorted by column.
Dense
DenseDense input: n_cols values per row.
Implemented traits
impl Clone for SourceLayoutimpl Debug for SourceLayoutimpl PartialEq for SourceLayoutContract reference
See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.