[eigen] Re: cache-friendly matrix inverse |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] Re: cache-friendly matrix inverse
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Wed, 13 May 2009 16:51:20 +0200
- 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 :content-transfer-encoding; bh=rZ2WaFHCiF5sBN+9lf94vsmwU15qgCLYsKx9GYGlfag=; b=bs7pzTaIKd8nhPoKzzkSuQJTvom8Rc4/4rjCXpAJw5PtRIBkzCdqdEF0pSUkARj+jt 9mJBz5Ypjfg48ehoc3CIrlyJAIciZus+wIOvLPJpMC6il5A49xsJ2le39x5YzVGDQBNa z503gAi16iU7y+qHkXi9hs8DXz0hLA+9WIP4I=
- 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:content-transfer-encoding; b=RSBb9GaRGG0eM1YxM7xApC6wA5b5ZGF+7r53QKrIL3SNKp+3frmEHdn8r7xGf38DYO LR6e6izDlz3MKxegfTC+o92xz7QNNZb+Q5vviZo6RRq6MPA/Yyj5JDaSM4ek7R96b0gG cpktPVKok+zM6WcKrCtRhS8WemDjRWyWoByC4=
ah, and i was a bit pessimistic in my "relative error" estimation:
the norm() of the identity matrix is actually sqrt(size), not 1, since
we're talkign about the l2 norm here. So actually, the precision is
35x better than i measured. Still, that doesn't change much -- still
unusable for large float matrices.
Benoit
2009/5/13, Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> 2009/5/13, Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
>> it spends most of its time in cache friendly matrix product
>
> oops, this is inexact.
>
> i wanted to say that i tried reducing all the way to tiny fixed-size
> blocks, and then it spend most of its time in cache-friendly product
> indicating that i couldn't squeeze any better performance out of this
> approach; still the performance wasn't better than what i attached to
> the previous email where it calls partial LU when blocks are small
> enough.
>
> Benoit
>