Re: [eigen] problem with selfadjointView |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] problem with selfadjointView
- From: Ben Goodrich <bgokgm@xxxxxxxxxxxxxx>
- Date: Sat, 21 Aug 2010 13:38:39 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=Lo3SBUO1LLYKt2Fb0xJEetuZ7Fy39MtObY7cpvmnAPo=; b=s57758ME7Bl+CCJheA3fKQSaoKEttNF2/QyJ/qmk58ig6QqhHtk0PQrHKedD0OKj0S jOqybdHX/6YYXduqgycSxaLJ3QiCP76FZEbZ0ty+iRj5XvigcQ0auX8LBQfgd4pjNxJi cYW6WFMRAMst4r+WJ8AuddukhgFrwpU4aBbd0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=T3A2abn5x7bq1+IZAf2/khxSmNpmIaASmowulCVY0j7cTm83GGP47X+bMX8DciqvL5 y6JgUFODOaZymbkzjJ2XWwmsI/T+G06EaY3B7uzcVMW+tg+PM42Dx4d5o4N+VJ0JnKpC 881th8pa5r2NfbVxW99H7Btz0wyuGfLkus0kw=
Hi Gael,
On Thu, Aug 19, 2010 at 8:04 AM, Gael Guennebaud
<gael.guennebaud@xxxxxxxxx> wrote:
> On Thu, Aug 19, 2010 at 12:38 PM, Gael Guennebaud
> <gael.guennebaud@xxxxxxxxx> wrote:
>> indeed this is not implemented for a vector on the lhs yet.... I'll do it asap
>
> done
Thanks for implementing that. Is there something special needed to
make it work with templates? I would have expected
template <typename Derived>
void bar(const MatrixBase<Derived> &x, const MatrixBase<Derived> &A,
MatrixBase<Derived> &z) {
z = x.transpose() * A.selfadjointView<Lower>() * x;
}
to work now, but the compiler throws an expected primary-expression error.
Thanks,
Ben