Struct nalgebra_lapack::QR [−][src]
The QR decomposition of a general matrix.
Implementations
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>) -> 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]
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>>,
impl<N: Scalar + Copy, 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,
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>>,
Auto Trait Implementations
impl<N, R, C> !RefUnwindSafe for QR<N, R, C>
impl<N, R, C> !Send for QR<N, R, C>
impl<N, R, C> !Sync for QR<N, R, C>
impl<N, R, C> !Unpin for QR<N, R, C>
impl<N, R, C> !UnwindSafe for QR<N, R, C>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,