Skip to content

Commit 130bcae

Browse files
committed
Update doc-tests
1 parent db39505 commit 130bcae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lax/src/lib.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
//! For example, LU decomposition to double-precision matrix is provided like:
88
//!
99
//! ```ignore
10-
//! impl Solve_ for f64 {
10+
//! impl Lapack for f64 {
1111
//! fn lu(l: MatrixLayout, a: &mut [Self]) -> Result<Pivot> { ... }
1212
//! }
1313
//! ```
1414
//!
15-
//! see [Solve_] for detail. You can use it like `f64::lu`:
15+
//! see [Lapack] for detail. You can use it like `f64::lu`:
1616
//!
1717
//! ```
18-
//! use lax::{Solve_, layout::MatrixLayout, Transpose};
18+
//! use lax::{Lapack, layout::MatrixLayout, Transpose};
1919
//!
2020
//! let mut a = vec![
2121
//! 1.0, 2.0,
@@ -31,9 +31,9 @@
3131
//! this trait can be used as a trait bound:
3232
//!
3333
//! ```
34-
//! use lax::{Solve_, layout::MatrixLayout, Transpose};
34+
//! use lax::{Lapack, layout::MatrixLayout, Transpose};
3535
//!
36-
//! fn solve_at_once<T: Solve_>(layout: MatrixLayout, a: &mut [T], b: &mut [T]) -> Result<(), lax::error::Error> {
36+
//! fn solve_at_once<T: Lapack>(layout: MatrixLayout, a: &mut [T], b: &mut [T]) -> Result<(), lax::error::Error> {
3737
//! let pivot = T::lu(layout, a)?;
3838
//! T::solve(layout, Transpose::No, a, &pivot, b)?;
3939
//! Ok(())
@@ -48,7 +48,7 @@
4848
//!
4949
//! According to the property input metrix, several types of triangular decomposition are used:
5050
//!
51-
//! - [Solve_] trait provides methods for LU-decomposition for general matrix.
51+
//! - [solve] module provides methods for LU-decomposition for general matrix.
5252
//! - [Solveh_] triat provides methods for Bunch-Kaufman diagonal pivoting method for symmetric/hermite indefinite matrix.
5353
//! - [Cholesky_] triat provides methods for Cholesky decomposition for symmetric/hermite positive dinite matrix.
5454
//!

0 commit comments

Comments
 (0)