Trait rustlearn::array::traits::RowIndex
[−]
[src]
pub trait RowIndex<Rhs> { type Output; fn get_rows(&self, index: &Rhs) -> Self::Output; }
Trait representing a matrix whose rows can be selected to create a new matrix containing those rows.
Associated Types
type Output
Required Methods
fn get_rows(&self, index: &Rhs) -> Self::Output
Implementors
impl RowIndex<Vec<usize>> for Array
impl RowIndex<Vec<usize>> for SparseRowArray
impl<T> RowIndex<usize> for T where T: RowIndex<Vec<usize>>
impl<T> RowIndex<Range<usize>> for T where T: RowIndex<Vec<usize>>
impl<T> RowIndex<RangeFrom<usize>> for T where T: RowIndex<Range<usize>> + IndexableMatrix
impl<T> RowIndex<RangeTo<usize>> for T where T: RowIndex<Range<usize>> + IndexableMatrix
impl<T> RowIndex<RangeFull> for T where T: RowIndex<Range<usize>> + IndexableMatrix