Struct ggez::graphics::na::QR [] [src]

pub struct QR<N, R, C> where
    C: Dim,
    N: Real,
    R: DimMin<C>,
    DefaultAllocator: Allocator<N, R, C>,
    DefaultAllocator: Allocator<N, <R as DimMin<C>>::Output, U1>, 
{ /* fields omitted */ }

The QR decomposition of a general matrix.

Methods

impl<N, R, C> QR<N, R, C> where
    C: Dim,
    N: Real,
    R: DimMin<C>,
    DefaultAllocator: Allocator<N, R, C>,
    DefaultAllocator: Allocator<N, R, U1>,
    DefaultAllocator: Allocator<N, <R as DimMin<C>>::Output, U1>, 
[src]

[src]

Computes the QR decomposition using householder reflections.

[src]

Retrieves the upper trapezoidal submatrix R of this decomposition.

[src]

Retrieves the upper trapezoidal submatrix R of this decomposition.

This is usually faster than r but consumes self.

[src]

Computes the orthogonal matrix Q of this decomposition.

[src]

Unpacks this decomposition into its two matrix factors.

[src]

Multiplies the provided matrix by the transpose of the Q matrix of this decomposition.

impl<N, D> QR<N, D, D> where
    D: DimMin<D, Output = D>,
    N: Real,
    DefaultAllocator: Allocator<N, D, D>,
    DefaultAllocator: Allocator<N, D, U1>, 
[src]

[src]

Solves the linear system self * x = b, where x is the unknown to be determined.

Returns None if self is not invertible.

[src]

Solves the linear system self * x = b, where x is the unknown to be determined.

If the decomposed matrix is not invertible, this returns false and its input b is overwritten with garbage.

[src]

Computes the inverse of the decomposed matrix.

Returns None if the decomposed matrix is not invertible.

[src]

Indicates if the decomposed matrix is invertible.

Trait Implementations

impl<N, R, C> Copy for QR<N, R, C> where
    C: Dim,
    N: Real,
    R: DimMin<C>,
    DefaultAllocator: Allocator<N, R, C>,
    DefaultAllocator: Allocator<N, <R as DimMin<C>>::Output, U1>,
    Matrix<N, R, C, <DefaultAllocator as Allocator<N, R, C>>::Buffer>: Copy,
    Matrix<N, <R as DimMin<C>>::Output, U1, <DefaultAllocator as Allocator<N, <R as DimMin<C>>::Output, U1>>::Buffer>: Copy
[src]

impl<N, R, C> Clone for QR<N, R, C> where
    C: Dim + Clone,
    N: Clone + Real,
    R: DimMin<C> + Clone,
    DefaultAllocator: Allocator<N, R, C>,
    DefaultAllocator: Allocator<N, <R as DimMin<C>>::Output, U1>, 
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<N, R, C> Debug for QR<N, R, C> where
    C: Dim + Debug,
    N: Debug + Real,
    R: DimMin<C> + Debug,
    DefaultAllocator: Allocator<N, R, C>,
    DefaultAllocator: Allocator<N, <R as DimMin<C>>::Output, U1>, 
[src]

[src]

Formats the value using the given formatter.