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<DVector<N>> for DMatrix<N>
impl<N: Copy + Zero> Row<DVector1<N>> for DMatrix1<N>
impl<N: Copy + Zero> Row<DVector2<N>> for DMatrix2<N>
impl<N: Copy + Zero> Row<DVector3<N>> for DMatrix3<N>
impl<N: Copy + Zero> Row<DVector4<N>> for DMatrix4<N>
impl<N: Copy + Zero> Row<DVector5<N>> for DMatrix5<N>
impl<N: Copy + Zero> Row<DVector6<N>> for DMatrix6<N>
impl<N: Copy + Zero> Row<Vector1<N>> for Matrix1<N>
impl<N: Copy + Zero> Row<Vector2<N>> for Matrix2<N>
impl<N: Copy + Zero> Row<Vector4<N>> for Matrix4<N>
impl<N: Copy + Zero> Row<Vector5<N>> for Matrix5<N>
impl<N: Copy + Zero> Row<Vector6<N>> for Matrix6<N>
impl<N: Copy + Zero> Row<Vector2<N>> for Rotation2<N>
impl<N: Copy + Zero> Row<Vector3<N>> for Rotation3<N>
impl<N: Copy> Row<Vector3<N>> for Matrix3<N>
impl<N: Copy> Row<Vector1<N>> for Vector2<N>