pub fn nnz_index(&self, index: usize) -> Option<NnzIndex> {
        self.indices.binary_search(&I::from_usize(index))
                    .map(|i| NnzIndex(i.index()))
                    .ok()
    }
/// Find the non-zero index of the requested dimension index,
/// returning None if no non-zero is present at the requested location.
///
/// Looking for the NnzIndex is done with logarithmic complexity, but
/// once it is available, the NnzIndex enables retrieving the data with
/// O(1) complexity.
Find the non-zero index of the requested dimension index,
returning None if no non-zero is present at the requested location.

Looking for the NnzIndex is done with logarithmic complexity, but
once it is available, the NnzIndex enables retrieving the data with
O(1) complexity.
Find the non - zero index of the requested dimension index returning None if no non - zero is present at the requested location . Looking for the NnzIndex is done with logarithmic complexity but once it is available the NnzIndex enables retrieving the data with O ( 1 ) complexity .
pub fn nnz_index(&self, index: usize) -> Option<NnzIndex> {
        self.indices.binary_search(&I::from_usize(index))
                    .map(|i| NnzIndex(i.index()))
                    .ok()
    }
pub fn nnz_index ( & self , index : usize ) -> Option < NnzIndex > { self . indices . binary_search ( & I :: from_usize ( index ) ) . map ( | i | NnzIndex ( i . index ( ) ) ) . ok ( ) }
Find the non-zero index of the requested dimension index,
returning None if no non-zero is present at the requested location.
Find the non - zero index of the requested dimension index returning None if no non - zero is present at the requested location .
&self
index
usize
&self
index
usize