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

pub struct Bidiagonal<N, R, C> where
    C: Dim,
    N: Real,
    R: DimMin<C>,
    <R as DimMin<C>>::Output: DimSub<U1>,
    DefaultAllocator: Allocator<N, R, C>,
    DefaultAllocator: Allocator<N, <R as DimMin<C>>::Output, U1>,
    DefaultAllocator: Allocator<N, <<R as DimMin<C>>::Output as DimSub<U1>>::Output, U1>, 
{ pub diagonal: Matrix<N, <R as DimMin<C>>::Output, U1, <DefaultAllocator as Allocator<N, <R as DimMin<C>>::Output, U1>>::Buffer>, pub off_diagonal: Matrix<N, <<R as DimMin<C>>::Output as DimSub<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <<R as DimMin<C>>::Output as DimSub<U1>>::Output, U1>>::Buffer>, // some fields omitted }

The bidiagonalization of a general matrix.

Fields

The diagonal elements of the decomposed matrix.

The off-diagonal elements of the decomposed matrix.

Methods

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

[src]

Computes the Bidiagonal decomposition using householder reflections.

[src]

Indicates whether this decomposition contains an upper-diagonal matrix.

[src]

Unpacks this decomposition into its three matrix factors (U, D, V^t).

The decomposed matrix M is equal to U * D * V^t.

[src]

Retrieves the upper trapezoidal submatrix R of this decomposition.

[src]

Computes the orthogonal matrix U of this U * D * V decomposition.

[src]

Computes the orthogonal matrix V of this U * D * V decomposition.

[src]

The diagonal part of this decomposed matrix.

[src]

The off-diagonal part of this decomposed matrix.

Trait Implementations

impl<N, R, C> Copy for Bidiagonal<N, R, C> where
    C: Dim,
    N: Real,
    R: DimMin<C>,
    <R as DimMin<C>>::Output: DimSub<U1>,
    DefaultAllocator: Allocator<N, R, C>,
    DefaultAllocator: Allocator<N, <R as DimMin<C>>::Output, U1>,
    DefaultAllocator: Allocator<N, <<R as DimMin<C>>::Output as DimSub<U1>>::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,
    Matrix<N, <<R as DimMin<C>>::Output as DimSub<U1>>::Output, U1, <DefaultAllocator as Allocator<N, <<R as DimMin<C>>::Output as DimSub<U1>>::Output, U1>>::Buffer>: Copy
[src]

impl<N, R, C> Clone for Bidiagonal<N, R, C> where
    C: Dim + Clone,
    N: Clone + Real,
    R: DimMin<C> + Clone,
    <R as DimMin<C>>::Output: DimSub<U1>,
    DefaultAllocator: Allocator<N, R, C>,
    DefaultAllocator: Allocator<N, <R as DimMin<C>>::Output, U1>,
    DefaultAllocator: Allocator<N, <<R as DimMin<C>>::Output as DimSub<U1>>::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 Bidiagonal<N, R, C> where
    C: Dim + Debug,
    N: Debug + Real,
    R: DimMin<C> + Debug,
    <R as DimMin<C>>::Output: DimSub<U1>,
    DefaultAllocator: Allocator<N, R, C>,
    DefaultAllocator: Allocator<N, <R as DimMin<C>>::Output, U1>,
    DefaultAllocator: Allocator<N, <<R as DimMin<C>>::Output as DimSub<U1>>::Output, U1>, 
[src]

[src]

Formats the value using the given formatter.