Struct nalgebra::DMatrix3 [] [src]

pub struct DMatrix3<N> {
    // some fields omitted
}

A stack-allocated dynamically sized square or rectangular matrix with at most 3 rows and columns.

Methods

impl<N: Zero + Clone + Copy> DMatrix3<N>
[src]

Builds a matrix filled with zeros.

Arguments

  • dimension - The dimension of the matrix. A dimension-dimensional matrix contains dimension * dimension components.

Tests if all components of the matrix are zeroes.

Set this matrix components to zero.

impl<N: Zero + Copy + Rand> DMatrix3<N>
[src]

Builds a matrix filled with random values.

impl<N: One + Zero + Clone + Copy> DMatrix3<N>
[src]

Builds a matrix filled with a given constant.

impl<N> DMatrix3<N>
[src]

The number of row on the matrix.

The number of columns on the matrix.

Gets a reference to this matrix data. The returned vector contains the matrix data in column-major order.

Gets a mutable reference to this matrix data. The returned vector contains the matrix data in column-major order.

impl<N: Zero + Clone + Copy> DMatrix3<N>
[src]

Builds a matrix filled with a given constant.

Builds a matrix filled with the components provided by a vector. The vector contains the matrix data in row-major order. Note that from_column_vector is a lot faster than from_row_vector since a $dmatrix stores its data in column-major order.

The vector must have at least nrows * ncols elements.

Builds a matrix filled with the components provided by a vector. The vector contains the matrix data in column-major order. Note that from_column_vector is a lot faster than from_row_vector since a $dmatrix stores its data in column-major order.

The vector must have at least nrows * ncols elements.

Builds a matrix using an initialization function.

impl<N: Copy> DMatrix3<N>
[src]

Creates a new matrix with uninitialized components (with mem::uninitialized()).

Trait Implementations

impl<N: PartialEq> PartialEq for DMatrix3<N>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<N: Clone> Clone for DMatrix3<N>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N: One + Zero + Clone + Copy> Eye for DMatrix3<N>
[src]

Builds an identity matrix.

Arguments

  • dimension - The dimension of the matrix. A dimension-dimensional matrix contains dimension * dimension components.

impl<N: Copy> Indexable<(usize, usize), N> for DMatrix3<N>
[src]

Just like set without bounds checking.

Just like at without bounds checking.

Swaps the i-th element of self with its j-th element.

impl<N> Shape<(usize, usize)> for DMatrix3<N>
[src]

Returns the shape of an indexable object.

impl<N> Index<(usize, usize)> for DMatrix3<N>
[src]

The returned type after indexing

The method for the indexing (Foo[Bar]) operation

impl<N> IndexMut<(usize, usize)> for DMatrix3<N>
[src]

The method for the indexing (Foo[Bar]) operation

impl<N> Mul<DMatrix3<N>> for DMatrix3<N> where N: Copy + Mul<N, Output=N> + Add<N, Output=N> + Zero
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a, N> Mul<&'a DMatrix3<N>> for DMatrix3<N> where N: Copy + Mul<N, Output=N> + Add<N, Output=N> + Zero
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a, N> Mul<DMatrix3<N>> for &'a DMatrix3<N> where N: Copy + Mul<N, Output=N> + Add<N, Output=N> + Zero
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a, 'b, N> Mul<&'b DMatrix3<N>> for &'a DMatrix3<N> where N: Copy + Mul<N, Output=N> + Add<N, Output=N> + Zero
[src]

The resulting type after applying the * operator

The method for the * operator

impl<N> MulAssign<DMatrix3<N>> for DMatrix3<N> where N: Copy + Mul<N, Output=N> + Add<N, Output=N> + Zero
[src]

The method for the *= operator

impl<'a, N> MulAssign<&'a DMatrix3<N>> for DMatrix3<N> where N: Copy + Mul<N, Output=N> + Add<N, Output=N> + Zero
[src]

The method for the *= operator

impl<N> Mul<DVector3<N>> for DMatrix3<N> where N: Copy + Add<N, Output=N> + Mul<N, Output=N> + Zero
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a, N> Mul<DVector3<N>> for &'a DMatrix3<N> where N: Copy + Add<N, Output=N> + Mul<N, Output=N> + Zero
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a, N> Mul<&'a DVector3<N>> for DMatrix3<N> where N: Copy + Add<N, Output=N> + Mul<N, Output=N> + Zero
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a, 'b, N> Mul<&'b DVector3<N>> for &'a DMatrix3<N> where N: Copy + Add<N, Output=N> + Mul<N, Output=N> + Zero
[src]

The resulting type after applying the * operator

The method for the * operator

impl<N: Copy + Add<N, Output=N>> Add<DMatrix3<N>> for DMatrix3<N>
[src]

The resulting type after applying the + operator

The method for the + operator

impl<'a, N: Copy + Add<N, Output=N>> Add<DMatrix3<N>> for &'a DMatrix3<N>
[src]

The resulting type after applying the + operator

The method for the + operator

impl<'a, N: Copy + Add<N, Output=N>> Add<&'a DMatrix3<N>> for DMatrix3<N>
[src]

The resulting type after applying the + operator

The method for the + operator

impl<N: Copy + AddAssign<N>> AddAssign<DMatrix3<N>> for DMatrix3<N>
[src]

The method for the += operator

impl<'a, N: Copy + AddAssign<N>> AddAssign<&'a DMatrix3<N>> for DMatrix3<N>
[src]

The method for the += operator

impl<N: Copy + Sub<N, Output=N>> Sub<N> for DMatrix3<N>
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'a, N: Copy + SubAssign<N>> SubAssign<N> for DMatrix3<N>
[src]

The method for the -= operator

impl<N: Copy + Sub<N, Output=N>> Sub<DMatrix3<N>> for DMatrix3<N>
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'a, N: Copy + Sub<N, Output=N>> Sub<DMatrix3<N>> for &'a DMatrix3<N>
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'a, N: Copy + Sub<N, Output=N>> Sub<&'a DMatrix3<N>> for DMatrix3<N>
[src]

The resulting type after applying the - operator

The method for the - operator

impl<N: Copy + SubAssign<N>> SubAssign<DMatrix3<N>> for DMatrix3<N>
[src]

The method for the -= operator

impl<'a, N: Copy + SubAssign<N>> SubAssign<&'a DMatrix3<N>> for DMatrix3<N>
[src]

The method for the -= operator

impl<N: BaseNum + Clone> Inverse for DMatrix3<N>
[src]

Returns the inverse of m.

In-place version of inverse.

impl<N: Clone + Copy> Transpose for DMatrix3<N>
[src]

Computes the transpose of a matrix.

In-place version of transposed.

impl<N: BaseNum + Cast<f64> + Clone> Mean<DVector3<N>> for DMatrix3<N>
[src]

Computes the mean of the observations stored by v. Read more

impl<N: BaseNum + Cast<f64> + Clone> Covariance<DMatrix3<N>> for DMatrix3<N>
[src]

Computes the covariance of the obsevations stored by m: Read more

Computes the covariance of the obsevations stored by m: Read more

impl<N: Copy + Zero> Column<DVector3<N>> for DMatrix3<N>
[src]

The number of column of this matrix or vector.

Writes the i-th column of self.

Reads the i-th column of self.

impl<N: Copy + Clone + Zero> ColumnSlice<DVector3<N>> for DMatrix3<N>
[src]

Returns a view to a slice of a column of a matrix.

impl<N: Copy + Zero> Row<DVector3<N>> for DMatrix3<N>
[src]

The number of column of self.

Writes the i-th row of self.

Reads the i-th row of self.

impl<N: Copy> RowSlice<DVector3<N>> for DMatrix3<N>
[src]

Returns a view to a slice of a row of a matrix.

impl<N: Copy + Clone + Zero> Diagonal<DVector3<N>> for DMatrix3<N>
[src]

Creates a new matrix with the given diagonal.

The diagonal of this matrix.

impl<N: ApproxEq<N>> ApproxEq<N> for DMatrix3<N>
[src]

Default epsilon for approximation.

Default ULPs for approximation.

Tests approximate equality using a custom epsilon.

Tests approximate equality using units in the last place (ULPs)

Tests approximate equality.

impl<N: Debug + Copy> Debug for DMatrix3<N>
[src]

Formats the value using the given formatter.

impl<N: Copy + Mul<N, Output=N>> Mul<N> for DMatrix3<N>
[src]

The resulting type after applying the * operator

The method for the * operator

impl<N: Copy + Div<N, Output=N>> Div<N> for DMatrix3<N>
[src]

The resulting type after applying the / operator

The method for the / operator

impl<N: Copy + Add<N, Output=N>> Add<N> for DMatrix3<N>
[src]

The resulting type after applying the + operator

The method for the + operator