Re: [eigen] Passing Eigen::Map types to functions that take Eigen types |

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

*To*: eigen@xxxxxxxxxxxxxxxxxxx*Subject*: Re: [eigen] Passing Eigen::Map types to functions that take Eigen types*From*: Martin Felis <martin.felis@xxxxxxxxxxxxxxxxxxxxx>*Date*: Thu, 02 Jul 2015 10:18:30 +0200

On 01.07.2015 23:21, Christoph Hertzberg wrote: > Is there a good reason, why your library must take MatrixXd& instead of > Ref<MatrixXd>? Or why you can't change your library code? I would like to be able to exchange linear algebra libraries. At the moment my library can be used with either Eigen or SimpleMath, which is a linear algebra library I created that implements the subset of the Eigen API that I need for my library. I use it during development as it compiles almost three times faster. At the moment the MatrixXd are nicely typedef'ed and can be used both for data and arguments. Having either MatrixXd for data and Ref<MatrixXd> would increase complexity. Thanks! Martin -- mail : martin.felis@xxxxxxxxxxxxxxxxxxxxx phone : +49 6221 544983 office: IWR | Speyerer Str 6 | Room 319 | 69115 Heidelberg | Germany

**Follow-Ups**:**Re: [eigen] Passing Eigen::Map types to functions that take Eigen types***From:*Christoph Hertzberg

**References**:**[eigen] Passing Eigen::Map types to functions that take Eigen types***From:*Martin Felis

**Re: [eigen] Passing Eigen::Map types to functions that take Eigen types***From:*Wood, Tobias

**Re: [eigen] Passing Eigen::Map types to functions that take Eigen types***From:*Martin Felis

**Re: [eigen] Passing Eigen::Map types to functions that take Eigen types***From:*Christoph Hertzberg

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] Passing Eigen::Map types to functions that take Eigen types** - Next by Date:
**Re: [eigen] Passing Eigen::Map types to functions that take Eigen types** - Previous by thread:
**Re: [eigen] Passing Eigen::Map types to functions that take Eigen types** - Next by thread:
**Re: [eigen] Passing Eigen::Map types to functions that take Eigen types**

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