Struct nalgebra::Matrix3 [] [src]

pub struct Matrix3<N> {
    pub m11: N,
    pub m21: N,
    pub m31: N,
    pub m12: N,
    pub m22: N,
    pub m32: N,
    pub m13: N,
    pub m23: N,
    pub m33: N,
}

Square matrix of dimension 3.

Fields

Methods

impl<N> Matrix3<N>
[src]

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

Trait Implementations

impl<N: Eq> Eq for Matrix3<N>
[src]

impl<N: PartialEq> PartialEq for Matrix3<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: Encodable> Encodable for Matrix3<N>
[src]

impl<N: Decodable> Decodable for Matrix3<N>
[src]

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N: Hash> Hash for Matrix3<N>
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl<N: Debug> Debug for Matrix3<N>
[src]

Formats the value using the given formatter.

impl<N: Copy> Copy for Matrix3<N>
[src]

impl<N: Zero + One> Eye for Matrix3<N>
[src]

Return the identity matrix of specified dimension

impl<N: Copy> Repeat<N> for Matrix3<N>
[src]

Returns a value with filled by val.

impl<N> AsRef<[[N; 3]; 3]> for Matrix3<N>
[src]

Performs the conversion.

impl<N> AsMut<[[N; 3]; 3]> for Matrix3<N>
[src]

Performs the conversion.

impl<'a, N> From<&'a [[N; 3]; 3]> for &'a Matrix3<N>
[src]

Performs the conversion.

impl<'a, N> From<&'a mut [[N; 3]; 3]> for &'a mut Matrix3<N>
[src]

Performs the conversion.

impl<'a, N: Clone> From<&'a [[N; 3]; 3]> for Matrix3<N>
[src]

Performs the conversion.

impl<Nin: Copy, Nout: Copy + Cast<Nin>> Cast<Matrix3<Nin>> for Matrix3<Nout>
[src]

Converts an element of type T to an element of type Self.

impl<N: Add<N, Output=N>> Add<Matrix3<N>> for Matrix3<N>
[src]

The resulting type after applying the + operator

The method for the + operator

impl<N: AddAssign<N>> AddAssign<Matrix3<N>> for Matrix3<N>
[src]

The method for the += operator

impl<N: Sub<N, Output=N>> Sub<Matrix3<N>> for Matrix3<N>
[src]

The resulting type after applying the - operator

The method for the - operator

impl<N: SubAssign<N>> SubAssign<Matrix3<N>> for Matrix3<N>
[src]

The method for the -= operator

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

The resulting type after applying the + operator

The method for the + operator

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

The method for the += operator

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

The resulting type after applying the - operator

The method for the - operator

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

The method for the -= operator

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

The resulting type after applying the * operator

The method for the * operator

impl<N: Copy + MulAssign<N>> MulAssign<N> for Matrix3<N>
[src]

The method for the *= operator

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

The resulting type after applying the / operator

The method for the / operator

impl<N: Copy + DivAssign<N>> DivAssign<N> for Matrix3<N>
[src]

The method for the /= operator

impl<N: Absolute<N>> Absolute<Matrix3<N>> for Matrix3<N>
[src]

Computes some absolute value of this object. Typically, this will make all component of a matrix or vector positive. Read more

impl<N: Zero> Zero for Matrix3<N>
[src]

Returns the additive identity element of Self, 0. Read more

Returns true if self is equal to the additive identity.

impl<N: Copy + BaseNum> One for Matrix3<N>
[src]

Returns the multiplicative identity element of Self, 1. Read more

impl<N> Iterable<N> for Matrix3<N>
[src]

Gets a vector-like read-only iterator.

impl<N> IterableMut<N> for Matrix3<N>
[src]

Gets a vector-like read-write iterator.

impl<N> Dimension for Matrix3<N>
[src]

The dimension of the object.

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

Returns the shape of an indexable object.

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

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

Reads the i-th element of self. Read more

Writes to the i-th element of self. Read more

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

The returned type after indexing

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

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

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

impl<N: Copy> Transpose for Matrix3<N>
[src]

Computes the transpose of a matrix.

In-place version of transposed.

impl<N: ApproxEq<N>> ApproxEq<N> for Matrix3<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: Clone + Copy + Zero> ColumnSlice<DVector3<N>> for Matrix3<N>
[src]

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

impl<N: Clone + Copy + Zero> RowSlice<DVector3<N>> for Matrix3<N>
[src]

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

impl<N: Copy + Zero> Diagonal<Vector3<N>> for Matrix3<N>
[src]

Creates a new matrix with the given diagonal.

The diagonal of this matrix.

impl<N: BaseNum + Copy> ToHomogeneous<Matrix4<N>> for Matrix3<N>
[src]

Gets the homogeneous coordinates form of this object.

impl<N: BaseNum + Copy> FromHomogeneous<Matrix4<N>> for Matrix3<N>
[src]

Builds an object from its homogeneous coordinate form. Read more

impl<N> EigenQR<N, Vector3<N>> for Matrix3<N> where N: BaseFloat + ApproxEq<N> + Clone
[src]

Computes the eigenvectors and eigenvalues of this matrix.

impl<N: Rand> Rand for Matrix3<N>
[src]

Generates a random instance of this type using the specified source of randomness. Read more

impl<N: BaseNum + Cast<f64> + Clone> Mean<Vector3<N>> for Matrix3<N>
[src]

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

impl<N: Display + BaseFloat> Display for Matrix3<N>
[src]

Formats the value using the given formatter.

impl<N: BaseNum + Neg<Output=N> + ApproxEq<N>> Inverse for Matrix3<N>
[src]

Returns the inverse of m.

In-place version of inverse.

impl<N: BaseNum> Determinant<N> for Matrix3<N>
[src]

Returns the determinant of m.

impl<N: Copy> Row<Vector3<N>> for Matrix3<N>
[src]

The number of column of self.

Reads the i-th row of self.

Writes the i-th row of self.

impl<N: Copy> Column<Vector3<N>> for Matrix3<N>
[src]

The number of column of this matrix or vector.

Reads the i-th column of self.

Writes the i-th column of self.

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

The resulting type after applying the * operator

The method for the * operator

impl<N: Copy + Mul<N, Output=N> + Add<N, Output=N>> Mul<Vector3<N>> for Matrix3<N>
[src]

The resulting type after applying the * operator

The method for the * operator

impl<N: Copy + Mul<N, Output=N> + Add<N, Output=N>> Mul<Point3<N>> for Matrix3<N>
[src]

The resulting type after applying the * operator

The method for the * operator

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

The method for the *= operator