pub unsafe fn new_view_raw(n: usize,
                               nnz: usize,
                               indices: *const I,
                               data: *const N,
                              ) -> CsVecViewI<'a, N, I> {
        CsVecViewI {
            dim: n,
            indices: slice::from_raw_parts(indices, nnz),
            data: slice::from_raw_parts(data, nnz),
        }
    }
/// Create a borrowed CsVec over slice data without checking the structure
/// This is unsafe because algorithms are free to assume
/// that properties guaranteed by check_structure are enforced.
/// For instance, non out-of-bounds indices can be relied upon to
/// perform unchecked slice access.
Create a borrowed CsVec over slice data without checking the structure
This is unsafe because algorithms are free to assume
that properties guaranteed by check_structure are enforced.
For instance, non out-of-bounds indices can be relied upon to
perform unchecked slice access.
Create a borrowed CsVec over slice data without checking the structure This is unsafe because algorithms are free to assume that properties guaranteed by check_structure are enforced . For instance non out - of - bounds indices can be relied upon to perform unchecked slice access .
pub unsafe fn new_view_raw(n: usize,
                               nnz: usize,
                               indices: *const I,
                               data: *const N,
                              ) -> CsVecViewI<'a, N, I> {
        CsVecViewI {
            dim: n,
            indices: slice::from_raw_parts(indices, nnz),
            data: slice::from_raw_parts(data, nnz),
        }
    }
pub unsafe fn new_view_raw ( n : usize , nnz : usize , indices : * const I , data : * const N , ) -> CsVecViewI < ' a , N , I > { CsVecViewI { dim : n , indices : slice :: from_raw_parts ( indices , nnz ) , data : slice :: from_raw_parts ( data , nnz ) , } }
Create a borrowed CsVec over slice data without checking the structure
This is unsafe because algorithms are free to assume
that properties guaranteed by check_structure are enforced.
Create a borrowed CsVec over slice data without checking the structure This is unsafe because algorithms are free to assume that properties guaranteed by check_structure are enforced .
n
usize
nnz
usize
indices
*const I
data
*const N
n
usize
nnz
usize
indices
*const I
data
*const N