[eigen] Matrix - Scalar CwiseUnaryOps |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: Eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] Matrix - Scalar CwiseUnaryOps
- From: Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>
- Date: Wed, 4 May 2011 11:39:13 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=DZgn3AipntR1vd2LfBCAhQ3Gn7Mz7dIIsT/lreNeR6I=; b=H2clXBPB18B+JXNa/Dv36CyYsvtQvSzYW9Qlrsod45ubK63YYcAav+YaGDmjf1wI9f 2xQYJ6NnS+RI8rhcVM2+cFSfMLIoQtynAZRVcRkJSSZuuJ18gC/54eX91vBgRIZNtBiC bQeTbbRzYyieFhiRMSH8TT1XA/MefpH79rHA4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=T7+3qRvWMK5vE9EVq8nHq5H4BhHEY9zxWw9TIMXz4+eUNMiUdIBFzgcVnsehBHimVn ztoEEKO0Cw+BGYxTzA5mqFR36IMd781KaVT6b5hRmjc+oSODLSEDMTUwhYtlceacnSPM qARVETrC5r7CUNjPWeRZ1+IrilxhLgDrBVoq4=
Hi,
I know that we have the array functionality for those operations but I
wonder whether we should enable +/- operations between matrices and
scalars.
We already have * and / and thus I think it might make sense. It's
just for convenience and I have met quite a few occasions where this
feature would lead to shorter code. What do you think?
- Hauke