Type Definition nalgebra::core::MatrixN [] [src]

type MatrixN<N, D> = MatrixMN<N, D, D>;

A staticaly sized column-major square matrix with D rows and columns.

Methods

impl<N, D: Dim> MatrixN<N, D> where
    N: Scalar,
    DefaultAllocator: Allocator<N, D, D>, 
[src]

[src]

Creates a square matrix with its diagonal set to diag and all other entries set to 0.

impl<N, D: DimName> MatrixN<N, D> where
    N: Scalar + Field,
    DefaultAllocator: Allocator<N, D, D>, 
[src]

[src]

Creates a new homogeneous matrix that applies the same scaling factor on each dimension.

[src]

Creates a new homogeneous matrix that applies a distinct scaling factor for each dimension.

[src]

Creates a new homogeneous matrix that applies a pure translation.

Trait Implementations

impl<N, D: DimName> Product for MatrixN<N, D> where
    N: Scalar + Zero + One + ClosedMul + ClosedAdd,
    DefaultAllocator: Allocator<N, D, D>, 
[src]

[src]

Method which takes an iterator and generates Self from the elements by multiplying the items. Read more

impl<'a, N, D: DimName> Product<&'a MatrixN<N, D>> for MatrixN<N, D> where
    N: Scalar + Zero + One + ClosedMul + ClosedAdd,
    DefaultAllocator: Allocator<N, D, D>, 
[src]

[src]

Method which takes an iterator and generates Self from the elements by multiplying the items. Read more

impl<N, D: DimName> One for MatrixN<N, D> where
    N: Scalar + Zero + One + ClosedMul + ClosedAdd,
    DefaultAllocator: Allocator<N, D, D>, 
[src]

[src]

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

impl<N, D: DimName> Identity<Multiplicative> for MatrixN<N, D> where
    N: Scalar + Zero + One,
    DefaultAllocator: Allocator<N, D, D>, 
[src]

[src]

The identity element.

[src]

Specific identity.

impl<N, D: DimName> AbstractMagma<Multiplicative> for MatrixN<N, D> where
    N: Scalar + Zero + One + ClosedAdd + ClosedMul,
    DefaultAllocator: Allocator<N, D, D>, 
[src]

[src]

Performs an operation.

[src]

Performs specific operation.

impl<N, D: DimName> AbstractSemigroup<Multiplicative> for MatrixN<N, D> where
    N: Scalar + Zero + One + ClosedAdd + ClosedMul + AbstractSemigroup<Multiplicative>,
    DefaultAllocator: Allocator<N, D, D>, 
[src]

[src]

Returns true if associativity holds for the given arguments. Approximate equality is used for verifications. Read more

[src]

Returns true if associativity holds for the given arguments.

impl<N, D: DimName> AbstractMonoid<Multiplicative> for MatrixN<N, D> where
    N: Scalar + Zero + One + ClosedAdd + ClosedMul + AbstractMonoid<Multiplicative> + One,
    DefaultAllocator: Allocator<N, D, D>, 
[src]

[src]

Checks whether operating with the identity element is a no-op for the given argument. Approximate equality is used for verifications. Read more

[src]

Checks whether operating with the identity element is a no-op for the given argument. Read more

impl<N: Real, D: DimNameSub<U1>> Transformation<Point<N, DimNameDiff<D, U1>>> for MatrixN<N, D> where
    DefaultAllocator: Allocator<N, D, D> + Allocator<N, DimNameDiff<D, U1>> + Allocator<N, DimNameDiff<D, U1>, DimNameDiff<D, U1>>, 
[src]

[src]

Applies this group's action on a vector from the euclidean space. Read more

[src]

Applies this group's action on a point from the euclidean space.