phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
StaticBitArray.denseness
nxt
container
static_bitarray
StaticBitArray
Get number of bits set divided by length.
struct
StaticBitArray
(uint capacity, Block = DefaultBlock)
version(none)
@
safe
const
static if
(
capacity >= 1
)
auto
denseness
()
(
int
depth
= -1
)
if
(
isUnsigned
!
DefaultBlock
)
Meta
Source
See Implementation
nxt
container
static_bitarray
StaticBitArray
aliases
Index
bitsSet
clear
constructors
this
functions
allOne
allZero
at
canFindIndexOf
countOnes
countZeros
denseness
indexOfFirstOne
indexOfFirstZero
oneIndexes
opApply
opBinary
opCast
opCmp
opCom
opEquals
opIndex
opIndexAssign
opOpAssign
opSlice
opSliceAssign
put
reset
sparseness
toHash
toString
ubytes
manifest constants
bitsPerBlock
blockCount
length
properties
dim
ptr
reverse
reverseBlock
sort
structs
OneIndexes
Range
Get number of bits set divided by length.