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, 12 Jan 2017 10:34:01 +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=THF1BhCnkLUcyK9s5dVr2uo4agIYop+lOz6Ehc5Wg2w=; b=htgllazMKTedrbcwBuoyW4QdILtS2vltuH4ezcYTZQPedokHQNZw1sPnU84OkQOE0J mjn6403Sy1pxR0IKCRIUaNek17SBwB4N9KM8TQ3RVJHQGiTOC+R1pWNf2grLIhxSVRg5 US5C69r91/BuzTajnQWg9UVnQz2HX3zZcnm5nq/NwTBuOHulQG8TGAVRsQWLi7I+hRWQ tsfrCCR1c2GKH0hoVcfGeJE0WWoECMR1ZsP3DbOFlEQnJegsiSXxTTbnqj6Sw6qRMdjR qJDubpWQKQONZVghpNpp9oo8jRkq+oThEcfipld0D+2ql+y+eSHLCj5q2F7S8VCVEhKd j8JA==
> On 11 Jan 2017, at 22:13, Gael Guennebaud <gael.guennebaud@xxxxxxxxx> wrote:
>
> However I don't see how to generalize it to multi-dimensional tensors
a workaround could be requiring users to wrap *all* arguments into braces in this case:
A( {all}, {1,2,3} )
A( {1,2,3}, { all }, {5,6,7}, { seq(2,4) } )
eventually providing braceless overloads only for <=2d