File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11//! Cholesky decomposition
2+ //!
3+ //! https://en.wikipedia.org/wiki/Cholesky_decomposition
24
35use ndarray:: * ;
46
@@ -10,15 +12,18 @@ use super::types::*;
1012
1113pub use lapack_traits:: UPLO ;
1214
15+ /// Cholesky decomposition of matrix reference
1316pub trait Cholesky {
1417 type Output ;
1518 fn cholesky ( & self , UPLO ) -> Result < Self :: Output > ;
1619}
1720
21+ /// Cholesky decomposition
1822pub trait CholeskyInto : Sized {
1923 fn cholesky_into ( self , UPLO ) -> Result < Self > ;
2024}
2125
26+ /// Cholesky decomposition of mutable reference of matrix
2227pub trait CholeskyMut {
2328 fn cholesky_mut ( & mut self , UPLO ) -> Result < & mut Self > ;
2429}
Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ use super::layout::*;
99use super :: operator:: * ;
1010use super :: types:: * ;
1111
12- /// Eigenvalue decomposition of Hermite matrix
12+ /// Eigenvalue decomposition of Hermite matrix reference
1313pub 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
2020pub trait EighMut {
2121 type EigVal ;
2222 fn eigh_mut ( & mut self , UPLO ) -> Result < ( Self :: EigVal , & mut Self ) > ;
Original file line number Diff line number Diff line change 11//! QR decomposition
2+ //!
3+ //! https://en.wikipedia.org/wiki/QR_decomposition
24
35use ndarray:: * ;
46use num_traits:: Zero ;
You can’t perform that action at this time.
0 commit comments