Re: [eigen] State of eigen support for small integers(16 bit, signed/unsigned) |

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

*To*: eigen@xxxxxxxxxxxxxxxxxxx*Subject*: Re: [eigen] State of eigen support for small integers(16 bit, signed/unsigned)*From*: Rohit Garg <rpg.314@xxxxxxxxx>*Date*: Thu, 20 Aug 2009 23:30:33 +0530*Dkim-signature*: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=0M0qeDckm3Lqt09zfLoV/sIXXhuTyM2UUozqLhujnpY=; b=JCxvebkmZWDFte6J8s4cgVXDPgsNtG5QU26aPpgQCs3XW+c88Efp6qOOGkwGsn0rzV vvUjCfwEnGpIEbfu2HdhuREUzFlTzAJ20TyX0Oq8nxv0CnARGvdHs/YHIkgg8nlMRJb+ 49fVKUxb+MeFpu22ngX/1gw8VHAFW3EesmfyA=*Domainkey-signature*: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=kUH19ljeI+eoRFxrZhL9yjQz946uJTkbtpeYnRAkK1QmzBQFUhRKc7okZYOICVAWCs jJoa/WFI8MwAFv0lkbcZLS58C/V1xb44NE/WSBWelN+vCPSGxIXlKsEh+DsCTNeXFEuf 61ABgHCwjNhpnpj6Qp6YAbZGr2PQFlhRsTCVQ=

> Oh, actually, it looks like we don't have any support for bitwise > shift at all. So you would have to add that feature from scratch. See > the file Functors.h in Core or Array, you have to add a functor for > that. This will be used as a CwiseUnaryOp so you could take the > existing unary operations (like cwise().pow(x) since it too takes a > parameter) as a starting point. There is a Functors.h in both array and core. I looked at both. The array one provides a EIGEN_FUNCTOR_PLUGIN. But I dont know how to put it to use. Suggestions? -- Rohit Garg http://rpg-314.blogspot.com/ Senior Undergraduate Department of Physics Indian Institute of Technology Bombay

**Follow-Ups**:

**References**:**[eigen] State of eigen support for small integers(16 bit, signed/unsigned)***From:*Rohit Garg

**Re: [eigen] State of eigen support for small integers(16 bit, signed/unsigned)***From:*Benoit Jacob

**Re: [eigen] State of eigen support for small integers(16 bit, signed/unsigned)***From:*Rohit Garg

**Re: [eigen] State of eigen support for small integers(16 bit, signed/unsigned)***From:*Benoit Jacob

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] State of eigen support for small integers(16 bit, signed/unsigned)** - Next by Date:
**Re: [eigen] State of eigen support for small integers(16 bit, signed/unsigned)** - Previous by thread:
**Re: [eigen] State of eigen support for small integers(16 bit, signed/unsigned)** - Next by thread:
**Re: [eigen] State of eigen support for small integers(16 bit, signed/unsigned)**

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