File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44//! -------------------------------
55//!
66//! This crates provides LAPACK wrapper as `impl` of traits to base scalar types.
7- //! For example, LU factorization to double-precision matrix is provided like:
7+ //! For example, LU decomposition to double-precision matrix is provided like:
88//!
99//! ```ignore
1010//! impl Solve_ for f64 {
4646//! Linear equation, Inverse matrix, Condition number
4747//! --------------------------------------------------
4848//!
49- //! According to the property input metrix, several types of triangular factorization are used:
49+ //! According to the property input metrix, several types of triangular decomposition are used:
5050//!
5151//! - [Solve_] trait provides methods for LU-decomposition for general matrix.
5252//! - [Solveh_] triat provides methods for Bunch-Kaufman diagonal pivoting method for symmetric/hermite indefinite matrix.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ use num_traits::{ToPrimitive, Zero};
55#[ cfg_attr( doc, katexit:: katexit) ]
66/// Solve linear equations using LU-decomposition
77///
8- /// For a given matrix $A$, LU decomposition is described as $PA = LU $ where
8+ /// For a given matrix $A$, LU decomposition is described as $A = PLU $ where:
99///
1010/// - $L$ is lower matrix
1111/// - $U$ is upper matrix
@@ -15,15 +15,15 @@ use num_traits::{ToPrimitive, Zero};
1515///
1616/// 1. Factorize input matrix $A$ into $L$, $U$, and $P$.
1717/// 2. Solve linear equation $Ax = b$ or compute inverse matrix $A^{-1}$
18- /// using the output of LU factorization .
18+ /// using the output of LU decomposition .
1919///
2020pub trait Solve_ : Scalar + Sized {
21- /// Computes the LU factorization of a general $m \times n$ matrix
21+ /// Computes the LU decomposition of a general $m \times n$ matrix
2222 /// with partial pivoting with row interchanges.
2323 ///
2424 /// Output
2525 /// -------
26- /// - $U$ and $L$ are stored in `a` after LU factorization has succeeded.
26+ /// - $U$ and $L$ are stored in `a` after LU decomposition has succeeded.
2727 /// - $P$ is returned as [Pivot]
2828 ///
2929 /// Error
You can’t perform that action at this time.
0 commit comments