Struct nalgebra_lapack::LU [] [src]

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

LU decomposition with partial pivoting.

This decomposes a matrix M with m rows and n columns into three parts:

  • L which is a m × min(m, n) lower-triangular matrix.
  • U which is a min(m, n) × n upper-triangular matrix.
  • P which is a m * m permutation matrix.

Those are such that M == P * L * U.

Methods

impl<N: LUScalar, R: Dim, C: Dim> LU<N, R, C> where
    N: Zero + One,
    R: DimMin<C>,
    DefaultAllocator: Allocator<N, R, C> + Allocator<N, R, R> + Allocator<N, R, DimMinimum<R, C>> + Allocator<N, DimMinimum<R, C>, C> + Allocator<i32, DimMinimum<R, C>>, 
[src]

[src]

Computes the LU decomposition with partial (row) pivoting of matrix.

[src]

Gets the lower-triangular matrix part of the decomposition.

[src]

Gets the upper-triangular matrix part of the decomposition.

[src]

Gets the row permutation matrix of this decomposition.

Computing the permutation matrix explicitly is costly and usually not necessary. To permute rows of a matrix or vector, use the method self.permute(...) instead.

[src]

Gets the LAPACK permutation indices.

[src]

Applies the permutation matrix to a given matrix or vector in-place.

[src]

Solves the linear system self * x = b, where x is the unknown to be determined.

[src]

Solves the linear system self.transpose() * x = b, where x is the unknown to be determined.

[src]

Solves the linear system self.conjugate_transpose() * x = b, where x is the unknown to be determined.

[src]

Solves in-place the linear system self * x = b, where x is the unknown to be determined.

Retuns false if no solution was found (the decomposed matrix is singular).

[src]

Solves in-place the linear system self.transpose() * x = b, where x is the unknown to be determined.

Retuns false if no solution was found (the decomposed matrix is singular).

[src]

Solves in-place the linear system self.conjugate_transpose() * x = b, where x is the unknown to be determined.

Retuns false if no solution was found (the decomposed matrix is singular).

impl<N: LUScalar, D: Dim> LU<N, D, D> where
    N: Zero + One,
    D: DimMin<D, Output = D>,
    DefaultAllocator: Allocator<N, D, D> + Allocator<i32, D>, 
[src]

[src]

Computes the inverse of the decomposed matrix.

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more

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

Auto Trait Implementations

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

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