Re: [eigen] Unsigned types |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Unsigned types
- From: Rohit Garg <rpg.314@xxxxxxxxx>
- Date: Fri, 4 Sep 2009 12:30:15 +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; bh=G1rAkWu7zquboSlPagBdGTyE1G+VyS6K1wqgohVkfxA=; b=W22PN0ePiTZNst02+/ZtRmoyNBCc3FN2GKD1thQrxjlmsuGdpPa9+xo7AX39zukTDu v8dAcbt2sieRUsdsoOxGJZ4FKGCKiXZ7G3TQmbnovm1GyLKFvSxXmOtwRJSpVObh5Ov9 OH2cQXmeKmF/cxi8H/1Vzv6scNPQILZ6Hgbn0=
- 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; b=xUwT4p39K799lFM+3WxjsIxJIopU7i6+pFEdQG84nZoM49GdzrFmBVTz5SSVNSTAv6 oNs2fn6o8uGSsiPzlc1LRZElYBwYiZRXWsby94uGeDaPMDiX5OAT7/HOQeYhru6vVRAw cbS3efJGq5IzlaherVKTNx2ylNGqH4llK2UCQ=
I tried adding support for unsigned short, but as it turns out SSE2
does not provide all the features for unsigned shorts and ints. You
will have to write your custom code for performing many of the
operations for vectorizing their operations. I am for the moment
focusing on just adding the support for signed shorts. I imagine
similar issues were faced by the folks who did the initial work for
signed ints.
You can follow my branch here.
http://bitbucket.org/rpg/eigen2-rpg-branch/wiki/Home
On Fri, Sep 4, 2009 at 12:17 PM, Benjamin
Schindler<bschindler@xxxxxxxxxxx> wrote:
> Hi
>
> Is there a reason why unsigned types are not supported by the numtraits?
>
> Thanks
> Benjamin
>
>
>
--
Rohit Garg
http://rpg-314.blogspot.com/
Senior Undergraduate
Department of Physics
Indian Institute of Technology
Bombay