[eigen] Re: 2.0.10 on November 25? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] Re: 2.0.10 on November 25?
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Mon, 23 Nov 2009 11:35:35 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=k4aBd753YUhmqT5Ex4PVtv7G+UHqmLJRj+gvDzha2/w=; b=wWv3CP9g328oCiUrQS4ST1AqZCaEaNWKi+bGjOA39tKkonacAjRzDkKBH+x7aNLf5V sZ2+sNYtWdWtacs4mU4HAHSSpK4t/kMsd02QBaTSu+9V8DIx1zPvammwk/8O2rFkdTPm 9Yb5wEDetWXL1pk8CgX7R+161EGQoHHaAey1k=
- 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=I02S/tmNrvAHLiwfKVuPl1bot3dH+5uoLZLc4DISmGxSlp8uErwSoQpgyO+PXmDYw5 cXVIu22aGo+qdA3bv3XoqrauCEedyRwjQ5l31eCvChp5XOpq4CuoE8bSaM34r3cRiCmA VxzLKkfDCVma60TJn3APuBgDshRC7nqqw6weA=
here's an update on 4x4 inverse.
In Eigen 2.0.9, the 4x4 inverse uses "Euler's trick" that is used in
all "fast" implementations of 4x4 inverse one can find around, and
that hadn't been properly checked for precision. As reported earlier
to this list, it was really not good enough.
I have rewritten it in both default and 2.0, keeping Euler's trick but
implementing it in a much more careful way, and added a
precision-oriented test. As a result precision is now much better, but
it's slower, too.
To be precise, it's now only 26% faster than the usual cofactors
algorithm (it used to be much faster). However there is room for
improvement as this Euler's trick algorithm is very suitable for
vectorization, contrary to the cofactors algorithm.
Precision-wise: the worst-case relative error is roughly 2x bigger
than with partial-pivoting LU and 3x bigger than with cofactors. In
practice that means that for Matrix4f/4d inversion, cofactors gives a
worst-case error of roughly 16*epsilon and our method gives roughly
48*epsilon. This is tested on many matrices, with arbitrarily bad
condition numbers.
Benoit
2009/11/22 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> Hi,
>
> the 2.0.10 release is coming soon.
>
> Question about pkg-config: the installation dir for the .pc file was
> changed from lib/pkgconfig to share/pkgconfig. So to Rhys and Ingmar
> who contributed to that existing cmake code: please speak now if
> that's not ok with you!
>
> Benoit
>
> 2009/11/15 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
>> Hi,
>>
>> After looking at the night sky, i found that Nov. 25 would be the only
>> possible date to release 2.0.10.
>>
>> As usual, testing, yada, yada...
>>
>> Benoit
>>
>