#[repr(C)]pub struct matd_t {
pub nrows: c_uint,
pub ncols: c_uint,
pub data: *mut f64,
}Expand description
Defines a matrix structure for holding double-precision values with data in row-major order (i.e. index = row*ncols + col).
nrows and ncols are 1-based counts with the exception that a scalar (non-matrix) is represented with nrows=0 and/or ncols=0.
Fields§
§nrows: c_uint§ncols: c_uint§data: *mut f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for matd_t
impl RefUnwindSafe for matd_t
impl !Send for matd_t
impl !Sync for matd_t
impl Unpin for matd_t
impl UnsafeUnpin for matd_t
impl UnwindSafe for matd_t
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