Trait nalgebra::Column
[−]
[src]
pub trait Column<C> { fn ncols(&self) -> usize; fn column(&self, i: usize) -> C; fn set_column(&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 column(&self, i: usize) -> C
Reads the i
-th column of self
.
fn set_column(&mut self, i: usize, C)
Writes the i
-th column of self
.
Implementors
impl<N: Copy + Zero> Column<DVector<N>> for DMatrix<N>
impl<N: Copy + Zero> Column<DVector1<N>> for DMatrix1<N>
impl<N: Copy + Zero> Column<DVector2<N>> for DMatrix2<N>
impl<N: Copy + Zero> Column<DVector3<N>> for DMatrix3<N>
impl<N: Copy + Zero> Column<DVector4<N>> for DMatrix4<N>
impl<N: Copy + Zero> Column<DVector5<N>> for DMatrix5<N>
impl<N: Copy + Zero> Column<DVector6<N>> for DMatrix6<N>
impl<N: Copy + Zero> Column<Vector1<N>> for Matrix1<N>
impl<N: Copy + Zero> Column<Vector2<N>> for Matrix2<N>
impl<N: Copy + Zero> Column<Vector4<N>> for Matrix4<N>
impl<N: Copy + Zero> Column<Vector5<N>> for Matrix5<N>
impl<N: Copy + Zero> Column<Vector6<N>> for Matrix6<N>
impl<N: Copy + Zero> Column<Vector2<N>> for Rotation2<N>
impl<N: Copy + Zero> Column<Vector3<N>> for Rotation3<N>
impl<N: Copy> Column<Vector3<N>> for Matrix3<N>