forked from M-Labs/nalgebra
updated comment
This commit is contained in:
parent
80d2efcb5d
commit
bc7935ac24
@ -147,12 +147,10 @@ where
|
|||||||
res
|
res
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Performs a rank one update of the current decomposition.
|
/// Given the Cholesky decomposition of a matrix `M`, a scalar `sigma` and a vector `v`,
|
||||||
/// If `M = L * L^T` before the rank one update, then after it we have `L*L^T = M + sigma * v*v^T` where v must be a vector of same dimension.
|
/// performs a rank one update such that we end up with the decomposition of `M + sigma * v*v^*`.
|
||||||
/// TODO rewrite comment (current version is taken verbatim from eigen)
|
|
||||||
/// TODO insures that code is correct for complex numbers, eigen uses abs2 and conj
|
/// TODO insures that code is correct for complex numbers, eigen uses abs2 and conj
|
||||||
/// https://eigen.tuxfamily.org/dox/LLT_8h_source.html
|
/// https://eigen.tuxfamily.org/dox/LLT_8h_source.html
|
||||||
/// TODO insure that sigma is a real
|
|
||||||
pub fn rank_one_update<R2: Dim, S2, N2: RealField>(
|
pub fn rank_one_update<R2: Dim, S2, N2: RealField>(
|
||||||
&mut self,
|
&mut self,
|
||||||
x: &Matrix<N, R2, U1, S2>,
|
x: &Matrix<N, R2, U1, S2>,
|
||||||
|
Loading…
Reference in New Issue
Block a user