Skip to content

Commit 4ccd223

Browse files
committed
Some documents
1 parent 2317fe5 commit 4ccd223

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

src/cholesky.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
//! Cholesky decomposition
2+
//!
3+
//! https://en.wikipedia.org/wiki/Cholesky_decomposition
24
35
use ndarray::*;
46

@@ -10,15 +12,18 @@ use super::types::*;
1012

1113
pub use lapack_traits::UPLO;
1214

15+
/// Cholesky decomposition of matrix reference
1316
pub trait Cholesky {
1417
type Output;
1518
fn cholesky(&self, UPLO) -> Result<Self::Output>;
1619
}
1720

21+
/// Cholesky decomposition
1822
pub trait CholeskyInto: Sized {
1923
fn cholesky_into(self, UPLO) -> Result<Self>;
2024
}
2125

26+
/// Cholesky decomposition of mutable reference of matrix
2227
pub trait CholeskyMut {
2328
fn cholesky_mut(&mut self, UPLO) -> Result<&mut Self>;
2429
}

src/eigh.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ use super::layout::*;
99
use super::operator::*;
1010
use super::types::*;
1111

12-
/// Eigenvalue decomposition of Hermite matrix
12+
/// Eigenvalue decomposition of Hermite matrix reference
1313
pub trait Eigh {
1414
type EigVal;
1515
type EigVec;
1616
fn eigh(&self, UPLO) -> Result<(Self::EigVal, Self::EigVec)>;
1717
}
1818

19-
/// Eigenvalue decomposition of Hermite matrix
19+
/// Eigenvalue decomposition of mutable reference of Hermite matrix
2020
pub trait EighMut {
2121
type EigVal;
2222
fn eigh_mut(&mut self, UPLO) -> Result<(Self::EigVal, &mut Self)>;

src/qr.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
//! QR decomposition
2+
//!
3+
//! https://en.wikipedia.org/wiki/QR_decomposition
24
35
use ndarray::*;
46
use num_traits::Zero;

0 commit comments

Comments
 (0)