Struct nalgebra_lapack::QR
[−]
[src]
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]
DefaultAllocator: Allocator<N, R, C> + Allocator<N, R, DimMinimum<R, C>> + Allocator<N, DimMinimum<R, C>, C> + Allocator<N, DimMinimum<R, C>>,
pub fn new(m: MatrixMN<N, R, C>) -> QR<N, R, C>[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]
DefaultAllocator: Allocator<N, R, C> + Allocator<N, R, DimMinimum<R, C>> + Allocator<N, DimMinimum<R, C>, C> + Allocator<N, DimMinimum<R, C>>,
pub fn unpack(
self
) -> (MatrixMN<N, R, DimMinimum<R, C>>, MatrixMN<N, DimMinimum<R, C>, C>)[src]
self
) -> (MatrixMN<N, R, DimMinimum<R, C>>, MatrixMN<N, DimMinimum<R, C>, C>)
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: 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]
DefaultAllocator: Allocator<N, R, C> + Allocator<N, DimMinimum<R, C>>,
fn clone(&self) -> QR<N, R, C>[src]
Returns a copy of the value. Read more
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]
DefaultAllocator: Allocator<N, R, C> + Allocator<N, DimMinimum<R, C>>,
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
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]
DefaultAllocator: Allocator<N, R, C> + Allocator<N, DimMinimum<R, C>>,
MatrixMN<N, R, C>: Copy,
VectorN<N, DimMinimum<R, C>>: Copy,