-
Notifications
You must be signed in to change notification settings - Fork 5
Investigate Bits instance on Array CBool #34
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Description
Theoretically, there's no reason this can't be supported.
instance Bits (ArrayFire CBool) where
(.&.) = A.and
(.|.) = A.or
xor = A.bitXor
shiftL x n = A.shiftL x (scalar n)
shiftR x n = A.shiftR x (scalar n)Still need to look into implementing the following:
(rotate | rotateL, rotateR), bitSize, bitSizeMaybe, isSigned, testBit, bit, popCountReactions are currently unavailable
Metadata
Metadata
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested