[][src]Struct nalgebra_lapack::QR

pub struct QR<N: Scalar, R: DimMin<C>, C: Dim> where
    DefaultAllocator: Allocator<N, R, C> + Allocator<N, DimMinimum<R, C>>, 
{ /* fields omitted */ }

The QR decomposition of a general matrix.

Methods

impl<N: QRScalar + Zero, R: DimMin<C>, C: Dim> QR<N, R, C> where
    DefaultAllocator: Allocator<N, R, C> + Allocator<N, R, DimMinimum<R, C>> + Allocator<N, DimMinimum<R, C>, C> + Allocator<N, DimMinimum<R, C>>, 
[src]

pub fn new(m: MatrixMN<N, R, C>) -> Self[src]

Computes the QR decomposition of the matrix m.

pub fn r(&self) -> MatrixMN<N, DimMinimum<R, C>, C>[src]

Retrieves the upper trapezoidal submatrix R of this decomposition.

impl<N: QRReal + Zero, R: DimMin<C>, C: Dim> QR<N, R, C> where
    DefaultAllocator: Allocator<N, R, C> + Allocator<N, R, DimMinimum<R, C>> + Allocator<N, DimMinimum<R, C>, C> + Allocator<N, DimMinimum<R, C>>, 
[src]

pub fn unpack(
    self
) -> (MatrixMN<N, R, DimMinimum<R, C>>, MatrixMN<N, DimMinimum<R, C>, C>)
[src]

Retrieves the matrices (Q, R) of this decompositions.

pub fn q(&self) -> MatrixMN<N, R, DimMinimum<R, C>>[src]

Computes the orthogonal matrix Q of this decomposition.

Trait Implementations

impl<N: Scalar, R: DimMin<C>, C: Dim> Copy for QR<N, R, C> where
    DefaultAllocator: Allocator<N, R, C> + Allocator<N, DimMinimum<R, C>>,
    MatrixMN<N, R, C>: Copy,
    VectorN<N, DimMinimum<R, C>>: Copy
[src]

impl<N: Clone + Scalar, R: Clone + DimMin<C>, C: Clone + Dim> Clone for QR<N, R, C> where
    DefaultAllocator: Allocator<N, R, C> + Allocator<N, DimMinimum<R, C>>, 
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<N: Debug + Scalar, R: Debug + DimMin<C>, C: Debug + Dim> Debug for QR<N, R, C> where
    DefaultAllocator: Allocator<N, R, C> + Allocator<N, DimMinimum<R, C>>, 
[src]

Auto Trait Implementations

impl<N, R, C> !Send for QR<N, R, C>

impl<N, R, C> !Sync for QR<N, R, C>

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same for T

type Output = T

Should always be Self