[−][src]Struct aljabar::LU
The result of LU factorizing a square matrix with partial-pivoting.
Implementations
impl<T, const N: usize> LU<T, { N }> where
T: Clone + PartialEq + One + Zero + Product + Neg<Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + Div<T, Output = T>,
[src]
T: Clone + PartialEq + One + Zero + Product + Neg<Output = T> + Sub<T, Output = T> + Mul<T, Output = T> + Div<T, Output = T>,
pub fn p(&self) -> &Permutation<{ N }>
[src]
Returns the permutation sequence of the factorization.
pub fn solve(&self, b: Vector<T, { N }>) -> Vector<T, { N }>
[src]
Solves the linear equation self * x = b
and returns x
.
pub fn determinant(&self) -> T
[src]
Returns the determinant of the matrix.
pub fn invert(self) -> Matrix<T, { N }, { N }>
[src]
Returns the inverse of the matrix, which is certain to exist.
Trait Implementations
impl<T: Clone, const N: usize> Clone for LU<T, N>
[src]
impl<T: Copy, const N: usize> Copy for LU<T, N>
[src]
impl<T: Debug, const N: usize> Debug for LU<T, N>
[src]
impl<T, const N: usize> Index<(usize, usize)> for LU<T, { N }>
[src]
Auto Trait Implementations
impl<T, const N: usize> RefUnwindSafe for LU<T, N> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, const N: usize> Send for LU<T, N> where
T: Send,
T: Send,
impl<T, const N: usize> Sync for LU<T, N> where
T: Sync,
T: Sync,
impl<T, const N: usize> Unpin for LU<T, N> where
T: Unpin,
T: Unpin,
impl<T, const N: usize> UnwindSafe for LU<T, N> where
T: UnwindSafe,
T: UnwindSafe,
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> 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>,