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