Re: [eigen] How to get triangular lower part of a matrix with dev branche ? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] How to get triangular lower part of a matrix with dev branche ?
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Thu, 20 May 2010 07:16:26 -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 :content-transfer-encoding; bh=NrappEDfiGB8e8LDTkaI9envgnaOGO9tnY/X4vHrxyM=; b=OAoFHCcuCOqBHriZJ8vyDYMowmIHk6u3lR+WDfl7ufGEsZfGUdIqkSQy9KWHC0w83b vqg+99lWMhOBWrqOMM9H052dZKcirAWeiXe+UFZLDog7z2eLeRaEkCkM7wMwfUznB0oQ Xwil2XZSy+rAdOD5OsaDnirMVK7eTE4HJCFm4=
- 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=rfMVb9sti2QCXJAdQKB0tksjYuu3AuBTvP9yQnNMyVUWg4sHRlOBgl1ERJ+nH8ROR3 j97u2ySEScP59EbkBfboOTek983EavgOJLnugOAasfZUlZHk/IuxUJY1bW+YNblDXMvK ZG850+Gz6uRFsJk24JsY+TMn59zIIQyPkoKDM=
2010/5/20 <vincent.lejeune@xxxxxxxxxx>:
>
> Hi,
>
>
>
> I'm trying to get the lower triangular part of a (non-square) matrix, but
>
> it seems that the part() function is deprecated in Eigen 2.91.
>
> Using mat.triangularView<Lower>(), I meet the following compile error :
Sounds like a bug. Can you send us a test program reproducing it?
Benoit
>
>
>
> error: invalid initialization of non-const reference of type
>
> ‘Eigen::TriangularView<Eigen::Matrix<double, 4, 4, 0, 4, 4>, 1u>&’ from a
>
> temporary of type ‘Eigen::TriangularView<Eigen::Matrix<double, 4, 4, 0, 4,
>
> 4>, 1u>’
>
>
>
> That I do not really understand...
>
>
>
> Thx
>
>
>