[eigen] JacobiSVD API changed and functionality expanded |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] JacobiSVD API changed and functionality expanded
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Fri, 8 Oct 2010 10:48:49 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Jma0Xb62xNR6K/2JWH6j5NxLAVn3yGz2iifejLHKWwA=; b=o3W7bp+nrtRC2361qgSgrf/AdMV/uDYdn/ELPQJuTykeVWtsz76itchcSO7ZfmrCtu hiI2C7bKAurVAwjma2F1DDxtoWQwJEbAIGX3tOZExbGIpFqr1/xQpJYRk4NGaREBcggT 6DksnIoCDWxZHK3zZSFPbrjOB1OHR7W7FrmLU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=rBVFpiYmGfa6yJkdntDWKvmIadNc7mkyzEi6zEqpGOoMew66N6JM5mQwg5rBvgh3BI hp6ogtBRLklVnP/b3/7HDO7V14vc1pX1tVirW6QGenqt7lHg9O4+dkbPIqt6xKdShmrW B+BFdqYqgJBjpbyFLWlBpryq7FDRxJv/GPemY=
Hi,
just a quick note --- more details will follow in beta2 announcement.
JacobiSVD's API just changed a lot, see the new class documentation
(currently in the source until online docs get updated).
template params: JacobiSVD<MatrixType, QRPreconditioner>
the QRPreconditioner param is optional, so you can ignore it. But you
can also set it to other values to get something faster / smaller
executable etc, at the cost of less safety and accuracy.
The biggest API change is that if you want U or V, you not have to
tell it explicitly at runtime, when you compute the decomposition.
The biggest feature addition is that you can now get thin U / V.
Examples:
JacobiSVD<MatrixXf> svd(matrix); // compute only singular values, no U, no V
JacobiSVD<MatrixXf> svd(matrix, ComputeThinU | ComputeFullV); //
compute thin U and full V
Upcoming: solve(), which will allow to get rid of our crappy,
borrowed-from-elsewhere SVD class.
Benoit