Re: [eigen] New indexing/slicing API: almost ready to be merged |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] New indexing/slicing API: almost ready to be merged
- From: Massimiliano Janes <max.jns@xxxxxxxxx>
- Date: Thu, 19 Jan 2017 16:17:53 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=8ZlM5QZbgXiEOxcJcPNwppQfmFpKhhppQHN4NMq4mSQ=; b=N5WlpwhoNmYQjd8ypIhG6u2EKd0Ru5wzhgN2x3QKUAoKbp0PLHaRhmWP6GXV6d18IM rB0UJv5+YFo6Mg5SSB10lWAfWS9Ry6mq7QTyqKo2tYdhIdM204T0xdB67tXjl7ZJg011 YBx0QlgSvPf72pHePfznPrbtQrlXSOOldEdgPcyc1cTfuoRLNX7MbT5riTqElhFzHiIS L7QwwDOBF75ukRDMtoQ7sLEN55v5oTPPrankLR5QgXlBIbCJ+uvyDmsnDRbVZC7Bvpkh M+Qd+kqJlD5d/95Q52ZEbzQ0PKhkE/182GppoPAdFH/9KC+jhr/vEIDZ+Oai4WDYRNpe hRhQ==
> On 19 Jan 2017, at 10:03, Gael Guennebaud <gael.guennebaud@xxxxxxxxx> wrote:
>
> We definitely need another name. I though that the following would be ok:
> [...]
> So I propose to:
>
> 1) Eigen::placeholders::all --> Eigen::All
> 2) move last/end to Eigen::Symbols
>
> any better suggestions welcome!!
in my opinion, the slicing syntax should be kept separate from the ‘middleware’ matrix slicing logic ( eg, blocks, etc.)
to give the user the ability to choose his preferred method, and to give you Eigen devs the ability to support different
competing slicing syntaxes ( or user via plugins ).
So, I’d put all slicing related 'symbols’ in dedicated namespaces, eg
Eigen::EigenSlicers
Eigen::MatlabLikeSlicers
etc …