Re: [eigen] RotationBase times DiagonalMatrix |

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

*To*: eigen@xxxxxxxxxxxxxxxxxxx*Subject*: Re: [eigen] RotationBase times DiagonalMatrix*From*: Christoph Hertzberg <chtz@xxxxxxxxxxxxxxxxxxxxxxxx>*Date*: Mon, 26 Sep 2011 13:21:28 +0200

On 26.09.2011 09:05, Hauke Heibel wrote:

On Sat, Sep 24, 2011 at 4:47 PM, Christoph Hertzberg <chtz@xxxxxxxxxxxxxxxxxxxxxxxx> wrote:Maybe introducing a template<class Derived> class TransformBase; is the solution. This would describe all Transformations -- affine or pure linear.Probably the optimal solution. It just takes some time to implement such a change.

If then someone does: Transform a = Translation(...); he'll get a performance/memory penalty, but that's exactly the same for Matrix<..> m = Diagonal<...>(...);We would already have this scenario, when we removed the explicit keywords, right?

template<class Derived> void foo(const TransformBase<Derived> &bar); But this would run (even with conversion/memory overhead): void foo(const Transform &bar); Christoph -- ---------------------------------------------- Dipl.-Inf. Christoph Hertzberg Cartesium 0.051 Universität Bremen Enrique-Schmidt-Straße 5 28359 Bremen Tel: (+49) 421-218-64252 ----------------------------------------------

**References**:**Re: [eigen] RotationBase times DiagonalMatrix***From:*Hauke Heibel

**Re: [eigen] RotationBase times DiagonalMatrix***From:*Christoph Hertzberg

**Re: [eigen] RotationBase times DiagonalMatrix***From:*Hauke Heibel

**Re: [eigen] RotationBase times DiagonalMatrix***From:*Christoph Hertzberg

**Re: [eigen] RotationBase times DiagonalMatrix***From:*Gael Guennebaud

**Re: [eigen] RotationBase times DiagonalMatrix***From:*Hauke Heibel

**Re: [eigen] RotationBase times DiagonalMatrix***From:*Christoph Hertzberg

**Re: [eigen] RotationBase times DiagonalMatrix***From:*Hauke Heibel

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] RotationBase times DiagonalMatrix** - Next by Date:
**[eigen] Dongarra's "Freely Available Software for Linear Algebra"?** - Previous by thread:
**Re: [eigen] RotationBase times DiagonalMatrix** - Next by thread:
**[eigen] unsubscribe**

Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |