- Notifications
You must be signed in to change notification settings - Fork0
goretkin/BitBlockArrays.jl
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This package is completely undeveloped.
ExtendBase.BitArray to include other bit-packing layouts. More "square" layouts gives me flexibility in choosing alignment, so that bitwise operations may be used.
julia> b=BitBlockArray(UInt64(0xF0F0F0FF0000FF00),8,8)8×8 BitBlockArray{2,UInt64,(3,3)}:0100100001001000010010000100100001001111010011110100111101001111julia> bz=BitBlockArray(UInt64(0),8,8)8×8 BitBlockArray{2,UInt64,(3,3)}:0000000000000000000000000000000000000000000000000000000000000000julia> uba=UniformBlockArray(fill(bz,2,2))16×16 UniformBlockArray{Bool,2,Array{BitBlockArray{2,UInt64,(3,3)},2}}:0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000julia> uba16×16 UniformBlockArray{Bool,2,Array{BitBlockArray{2,UInt64,(3,3)},2}}:0100100000000000010010000000000001001000000000000100100000000000010011110000000001001111000000000100111100000000010011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
related:https://github.com/JuliaLang/julia/blob/098ef24c7acb989cae2516ac18bff498e9a69554/base/bitarray.jl#L1692-L1717https://github.com/JuliaLang/julia/blob/098ef24c7acb989cae2516ac18bff498e9a69554/base/multidimensional.jl#L1145-L1150
About
No description, website, or topics provided.
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published