Type Definition nalgebra::base::SMatrix [−][src]
type SMatrix<T, const R: usize, const C: usize> = Matrix<T, Const<R>, Const<C>, ArrayStorage<T, R, C>>;
Expand description
A statically sized column-major matrix with R
rows and C
columns.
Because this is an alias, not all its methods are listed here. See the Matrix
type too.
Implementations
impl<T, const R: usize, const C: usize> SMatrix<T, R, C>
[src]
impl<T, const R: usize, const C: usize> SMatrix<T, R, C>
[src]pub const fn from_array_storage(storage: ArrayStorage<T, R, C>) -> Self
[src]
pub const fn from_array_storage(storage: ArrayStorage<T, R, C>) -> Self
[src]Creates a new statically-allocated matrix from the given ArrayStorage.
This method exists primarily as a workaround for the fact that from_data
can not
work in const fn
contexts.
Trait Implementations
impl<'b, T, const R1: usize, const C1: usize> DivAssign<&'b Rotation<T, C1>> for SMatrix<T, R1, C1> where
T: Scalar + Zero + One + ClosedAdd + ClosedMul,
[src]
impl<'b, T, const R1: usize, const C1: usize> DivAssign<&'b Rotation<T, C1>> for SMatrix<T, R1, C1> where
T: Scalar + Zero + One + ClosedAdd + ClosedMul,
[src]fn div_assign(&mut self, right: &'b Rotation<T, C1>)
[src]
fn div_assign(&mut self, right: &'b Rotation<T, C1>)
[src]Performs the /=
operation. Read more
impl<T, const R1: usize, const C1: usize> DivAssign<Rotation<T, C1>> for SMatrix<T, R1, C1> where
T: Scalar + Zero + One + ClosedAdd + ClosedMul,
[src]
impl<T, const R1: usize, const C1: usize> DivAssign<Rotation<T, C1>> for SMatrix<T, R1, C1> where
T: Scalar + Zero + One + ClosedAdd + ClosedMul,
[src]fn div_assign(&mut self, right: Rotation<T, C1>)
[src]
fn div_assign(&mut self, right: Rotation<T, C1>)
[src]Performs the /=
operation. Read more