Mercurial > octave
changeset 26614:725f3f01f487 stable
doc: Fix typo in svd_driver docstring.
* svd.cc (Fsvd_driver): Change "use" to "used".
author | Rik <rik@octave.org> |
---|---|
date | Thu, 24 Jan 2019 10:52:07 -0800 |
parents | ea790252d837 |
children | 3945d8dd56a1 |
files | libinterp/corefcn/svd.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/svd.cc Wed Jan 23 14:16:26 2019 -0800 +++ b/libinterp/corefcn/svd.cc Thu Jan 24 10:52:07 2019 -0800 @@ -395,8 +395,8 @@ well as singular values). When calculating just the singular values the following discussion is not relevant. -The default routine use by Octave is the newer @code{gesdd} which is based on a -Divide-and-Conquer algorithm that is 5X faster than the alternative +The default routine used by Octave is the newer @code{gesdd} which is based on +a Divide-and-Conquer algorithm that is 5X faster than the alternative @code{gesvd}, which is based on QR factorization. However, the new algorithm can use significantly more memory. For an @nospell{MxN} input matrix the memory usage is of order O(min(M,N) ^ 2), whereas the alternative is of order