From 06861a9755e2f629bec0b25371affd7d0f8a697d Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 26 Oct 2020 14:39:34 -0600 Subject: [PATCH] Update src/linalg/udu.rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sébastien Crozet --- src/linalg/udu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linalg/udu.rs b/src/linalg/udu.rs index 953359e8..182b8a6d 100644 --- a/src/linalg/udu.rs +++ b/src/linalg/udu.rs @@ -32,7 +32,7 @@ where DefaultAllocator: Allocator + Allocator, { /// Computes the UDU^T factorization - /// NOTE: The provided matrix MUST be symmetric, and no verification is done in this regard. + /// The input matrix `p` is assumed to be symmetric and this decomposition will only read the upper-triangular part of `p`. /// Ref.: "Optimal control and estimation-Dover Publications", Robert F. Stengel, (1994) page 360 pub fn new(p: MatrixN) -> Self { let n = p.ncols();