Struct nalgebra::linalg::UDU[][src]

pub struct UDU<N: RealField, D: Dim> where
    DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>, 
{ pub u: MatrixN<N, D>, pub d: VectorN<N, D>, }

UDU factorization.

Fields

u: MatrixN<N, D>

The upper triangular matrix resulting from the factorization

d: VectorN<N, D>

The diagonal matrix resulting from the factorization

Implementations

impl<N: RealField, D: Dim> UDU<N, D> where
    DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>, 
[src]

pub fn new(p: MatrixN<N, D>) -> Option<Self>[src]

Computes the UDU^T factorization.

The input matrix p is assumed to be symmetric and this decomposition will only read the upper-triangular part of p.

Ref.: “Optimal control and estimation-Dover Publications”, Robert F. Stengel, (1994) page 360

pub fn d_matrix(&self) -> MatrixN<N, D>[src]

Returns the diagonal elements as a matrix

Trait Implementations

impl<N: Clone + RealField, D: Clone + Dim> Clone for UDU<N, D> where
    DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>, 
[src]

impl<N: RealField, D: Dim> Copy for UDU<N, D> where
    DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>,
    VectorN<N, D>: Copy,
    MatrixN<N, D>: Copy
[src]

impl<N: Debug + RealField, D: Debug + Dim> Debug for UDU<N, D> where
    DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>, 
[src]

Auto Trait Implementations

impl<N, D> !RefUnwindSafe for UDU<N, D>

impl<N, D> !Send for UDU<N, D>

impl<N, D> !Sync for UDU<N, D>

impl<N, D> !Unpin for UDU<N, D>

impl<N, D> !UnwindSafe for UDU<N, D>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> 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<V, T> VZip<V> for T where
    V: MultiLane<T>,