pub struct MtxHeader {
pub object: MtxObject,
pub format: MtxFormat,
pub field: MtxField,
pub symmetry: MtxSymmetry,
pub nrows: usize,
pub ncols: usize,
pub nnz: usize,
pub comments: Vec<String>,
}Expand description
Matrix Market header information.
Fields§
§object: MtxObjectObject type (matrix or vector).
format: MtxFormatFormat type (coordinate or array).
field: MtxFieldField type (real, complex, pattern, integer).
symmetry: MtxSymmetrySymmetry type.
nrows: usizeNumber of rows.
ncols: usizeNumber of columns.
nnz: usizeNumber of stored entries (for coordinate format).
comments: Vec<String>Comment lines (without leading %).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MtxHeader
impl RefUnwindSafe for MtxHeader
impl Send for MtxHeader
impl Sync for MtxHeader
impl Unpin for MtxHeader
impl UnwindSafe for MtxHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more