Skip to content

Commit c5398ac

Browse files
committed
Add documentation for Solve_::rcond
1 parent 3ee3131 commit c5398ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lapack_traits/solve.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ pub trait Solve_: AssociatedReal + Sized {
2222
/// if it is used to solve a system of equations.
2323
unsafe fn lu(MatrixLayout, a: &mut [Self]) -> Result<Pivot>;
2424
unsafe fn inv(MatrixLayout, a: &mut [Self], &Pivot) -> Result<()>;
25+
/// Estimates the the reciprocal of the condition number of the matrix in 1-norm.
26+
///
27+
/// `anorm` should be the 1-norm of the matrix `a`.
2528
unsafe fn rcond(MatrixLayout, a: &[Self], anorm: Self::Real) -> Result<Self::Real>;
2629
unsafe fn solve(MatrixLayout, Transpose, a: &[Self], &Pivot, b: &mut [Self]) -> Result<()>;
2730
}

0 commit comments

Comments
 (0)