[eigen] Re: JacobiSVD API changed and functionality expanded |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] Re: JacobiSVD API changed and functionality expanded
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Fri, 8 Oct 2010 10:49:33 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=didcdjVZfMa4Ob4M6rSKmh4zzUUhPXdOA0QEhS52RCQ=; b=VzFjECYxqCRxhIq+tlQhcDpjVlfTpyXH3nmkwOl1gRx3fn3ji0urQVnvHPNeXljc76 wLg8WZ/NeEFYkaChEXBD642VUkIvA0yXoevE3lyHXYwNNj6QZPBi8MifZbbC3IuGhaaM 468qgR2WJEMtXKZ0wjd92z+VivlH2W8hvaHhU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=BSSHHSfKyfEQaJMcPaWaaZZF0eJVEQneifyHI9Ifm9qZy2j592gqopOJK5jCe1GENN +5yrBmNU8aGRCC4IT2iZNVJzW+C8s82fIzn/3SSGtEJfpE6ETXpq102DjsEmxcgZDDKF QfPwnz41GgEwRNwoSZxftdQbit733mFjOcD8Y=
2010/10/8 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> 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
I meant you *now* have to....
> 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
>