Trait nalgebra::Row
[−]
[src]
pub trait Row<R> { fn nrows(&self) -> usize; fn row(&self, i: usize) -> R; fn set_row(&mut self, i: usize, R); }
Trait to access rows of a matrix or a vector.
Required Methods
fn nrows(&self) -> usize
The number of column of self
.
fn row(&self, i: usize) -> R
Reads the i
-th row of self
.
fn set_row(&mut self, i: usize, R)
Writes the i
-th row of self
.
Implementors
impl<N: Copy + Zero> Row<Vec1<N>> for Mat1<N>
impl<N: Copy + Zero> Row<Vec2<N>> for Mat2<N>
impl<N: Copy + Zero> Row<Vec4<N>> for Mat4<N>
impl<N: Copy + Zero> Row<Vec5<N>> for Mat5<N>
impl<N: Copy + Zero> Row<Vec6<N>> for Mat6<N>
impl<N: Copy + Zero> Row<Vec2<N>> for Rot2<N>
impl<N: Copy + Zero> Row<Vec3<N>> for Rot3<N>
impl<N: Copy + Zero> Row<Vec4<N>> for Rot4<N>