Re: [eigen] Plans for EigenSolver |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Plans for EigenSolver
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Mon, 7 Sep 2009 13:46:03 +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; bh=ePkvXViwZaix/36wkBAH0+Ga/IYXcWogvasp99RuTEI=; b=AOpn8np/gSXMCfv6ATW/h2cKS99STS7afXRFVqDvq5vQWSrW/vnse1fNSBXQBesbj5 l2JOQtrXABYNuNkkhtgnqR/x2IMrwoVnCzIAsa0xk1dBzGV9OYcNVnqCIcqS1qXfI9Ej SXJRykFCCbJn3WuY95aUPitXVUh5PgffKzwjQ=
- 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=O0YfuUL6UwJTT64cMvmPVtEal+4EGr64TrC9gmAHdgt3RmF/94KRqNKtR2WA4GQUYm mJk1ap69KsSOZfn5jsd/wbmduk//lGenB75AlhLlLsjU9zcGYE3pggpE0aNtZzJelhJH EMIQ0D6QgEOxAzkTyLJxhhngnakQUsmvr6chw=
On Mon, Sep 7, 2009 at 11:56 AM, Jitse Niesen<jitse@xxxxxxxxxxxxxxxxx> wrote:
> On Fri, 4 Sep 2009, Gael Guennebaud wrote:
>
>> - I've split the QR module into a pure QR one and an Eigenvalues
>> module for all eigen values related stuff
>> - I've recently merged this patch into the main devel branch: it
>> provides a ComplexSchur decomposition and a ComplexEigenSolver for
>> general matrices
>
> Good. I'm starting to program general matrix functions but the algorithm is
> rather more complicated than I thought, so it will take a while.
>
>> - Actually the real and complex Schur decompositions are too different
>> to factorize them, and the way you use them is also very different. So
>> I plan to have a RealSchur decomposition but no generic Schur
>> decomposition class.
>
> I need only the complex Schur decomposition; even for real matrices.
> However, for real matrices, I'd guess it's probably faster to compute the
> real Schur decomposition in real arithmetic and then convert it to the
> complex Schur decomposition, compared to casting the real matrix to a
> complex matrix and then computing the complex Schur decomposition directly.
> I guess that this is what the current EigenSolver is doing now, and what the
> new EigenSolver will do, so it shouldn't be too hard to make the complex
> Schur decomposition available for real matrices.
Yes the plan is to add a conversion ctor from a RealSchur to a
ComplexSchur, and then the new EigenSolver will probably use it. I
also guess that ComplexSchur<real_matrix_type> could call RealSchur
and then do the conversion for you.
cheers,
gael.
> Cheers,
> Jitse
>
>
>