[eigen] Using Eigen fixed-size arrays as custom scalar type |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] Using Eigen fixed-size arrays as custom scalar type
- From: Yury Gitman <oratuomi@xxxxxxxxx>
- Date: Fri, 1 Apr 2022 13:23:41 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=AGrw1TYyyibQPCfROiitJ9XUw6Iu3RcvT3Wjbyo5hGg=; b=WT9BQkHsvViNoQsE9twzb0EuC/7hGSYFY6Hbvyl+u4bh8L41bFTxjX2xZ12gDUtG9w 7pgRV2dm6K1ET8Dn5YflCUFaROlJjgbDzD5QOzkYt0lbCK4ATEU5fMfoW9jsk0Vb0wnS 39IKw0fEC+sHMTKGj7ouZLioDrzPzvdeR2UJ0ky5TGNYNxoDXSogs4xTTra7u9+9KOPb /9lV6X6UWj1687oSlRjw9DtZ2qDpa2hQiQuLkozKKMAzX0IXWBaExwUBCUa7c4/dBuG9 /XdETMLF1YrekIVfOlrp6vt4wwyk9z/yHloEZGP3NsbPQ6srmsLcuPTcMAL8/76Glu5H iUhw==
Hi all,
I think the original email went to spam, so duplicating it one more time here.
I am interested in using Eigen fixed-size arrays as a custom scalar
type, so something like Eigen::Array<Eigen::Array3f, Eigen::Dynamic,
Eigen::Dynamic>. It seems to me that Eigen does have basic support for
this, but when you actually start to use it, it happens to be broken
in many places. I played around with fixing it here:
https://github.com/facebookincubator/Eigen-FBPlugins, and I am
thinking of maybe submitting small merge requests to make integration
less hacky. I don't mean to add anything large, thinking more about
small changes like making coefficient-wise Boolean operations and
operations with scalar to work (even though not optimally efficient)
and other things like that. What do you think?
Best regards,
Yury