pub trait MatrixPtr {
// Required methods
unsafe fn row_ptr(&self, idx: usize) -> Vec<*const f64>;
unsafe fn col_ptr(&self, idx: usize) -> Vec<*const f64>;
}Expand description
Pointer for col or row
pub trait MatrixPtr {
// Required methods
unsafe fn row_ptr(&self, idx: usize) -> Vec<*const f64>;
unsafe fn col_ptr(&self, idx: usize) -> Vec<*const f64>;
}Pointer for col or row