forked from M-Labs/nalgebra
code cleaned
This commit is contained in:
parent
516155025a
commit
b2a50404b6
@ -154,8 +154,7 @@ where
|
|||||||
DefaultAllocator: Allocator<N, R2, U1>,
|
DefaultAllocator: Allocator<N, R2, U1>,
|
||||||
ShapeConstraint: SameNumberOfRows<R2, D>,
|
ShapeConstraint: SameNumberOfRows<R2, D>,
|
||||||
{
|
{
|
||||||
// for a description of the operation, see https://en.wikipedia.org/wiki/Cholesky_decomposition#Updating_the_decomposition
|
// heavily inspired by Eigen's `llt_rank_update_lower` implementation https://eigen.tuxfamily.org/dox/LLT_8h_source.html
|
||||||
// heavily inspired by Eigen's implementation https://eigen.tuxfamily.org/dox/LLT_8h_source.html
|
|
||||||
let n = x.nrows();
|
let n = x.nrows();
|
||||||
let mut x = x.clone_owned();
|
let mut x = x.clone_owned();
|
||||||
let mut beta = crate::one::<N::RealField>();
|
let mut beta = crate::one::<N::RealField>();
|
||||||
|
Loading…
Reference in New Issue
Block a user