Struct ds::WaveletMatrix
source · pub struct WaveletMatrix<I> { /* private fields */ }
Implementations§
source§impl<I> WaveletMatrix<I>where
I: WmInt,
impl<I> WaveletMatrix<I>where
I: WmInt,
pub fn count<R>(&self, range: impl RangeBounds<usize>, value: R) -> usizewhere
R: WmIntRange<Int = I>,
pub fn count_3way<R>(
&self,
range: impl RangeBounds<usize>,
value: R,
) -> Count3wayResultwhere
R: WmIntRange<Int = I>,
pub fn quantile(&self, range: impl RangeBounds<usize>, n: usize) -> Option<I>
Trait Implementations§
Auto Trait Implementations§
impl<I> Freeze for WaveletMatrix<I>
impl<I> RefUnwindSafe for WaveletMatrix<I>where
I: RefUnwindSafe,
impl<I> Send for WaveletMatrix<I>where
I: Send,
impl<I> Sync for WaveletMatrix<I>where
I: Sync,
impl<I> Unpin for WaveletMatrix<I>where
I: Unpin,
impl<I> UnwindSafe for WaveletMatrix<I>where
I: UnwindSafe,
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