File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 4
4
//! -------------------------------
5
5
//!
6
6
//! 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:
8
8
//!
9
9
//! ```ignore
10
10
//! impl Solve_ for f64 {
46
46
//! Linear equation, Inverse matrix, Condition number
47
47
//! --------------------------------------------------
48
48
//!
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:
50
50
//!
51
51
//! - [Solve_] trait provides methods for LU-decomposition for general matrix.
52
52
//! - [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};
5
5
#[ cfg_attr( doc, katexit:: katexit) ]
6
6
/// Solve linear equations using LU-decomposition
7
7
///
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:
9
9
///
10
10
/// - $L$ is lower matrix
11
11
/// - $U$ is upper matrix
@@ -15,15 +15,15 @@ use num_traits::{ToPrimitive, Zero};
15
15
///
16
16
/// 1. Factorize input matrix $A$ into $L$, $U$, and $P$.
17
17
/// 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 .
19
19
///
20
20
pub 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
22
22
/// with partial pivoting with row interchanges.
23
23
///
24
24
/// Output
25
25
/// -------
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.
27
27
/// - $P$ is returned as [Pivot]
28
28
///
29
29
/// Error
You can’t perform that action at this time.
0 commit comments