#[non_exhaustive]pub struct HarwellBoeing {
pub title: String,
pub key: String,
pub nrows: usize,
pub ncols: usize,
pub col_ptr: Vec<usize>,
pub row_indices: Vec<usize>,
pub values: Vec<f64>,
}Expand description
A sparse matrix in compressed sparse column form, as read from or written to a Harwell-Boeing file (0-based).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.title: String§key: String§nrows: usize§ncols: usize§col_ptr: Vec<usize>ncols + 1 column pointers.
row_indices: Vec<usize>§values: Vec<f64>The values (1 for a pattern matrix).
Implementations§
Source§impl HarwellBoeing
impl HarwellBoeing
Trait Implementations§
Source§impl Clone for HarwellBoeing
impl Clone for HarwellBoeing
Source§impl Debug for HarwellBoeing
impl Debug for HarwellBoeing
Source§impl PartialEq for HarwellBoeing
impl PartialEq for HarwellBoeing
impl StructuralPartialEq for HarwellBoeing
Auto Trait Implementations§
impl Freeze for HarwellBoeing
impl RefUnwindSafe for HarwellBoeing
impl Send for HarwellBoeing
impl Sync for HarwellBoeing
impl Unpin for HarwellBoeing
impl UnsafeUnpin for HarwellBoeing
impl UnwindSafe for HarwellBoeing
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