phobos-next v0.3.9 (2020-08-07T21:50:30Z)
Home
Dub
Repo
StaticBitArray.sparseness
nxt
static_bitarray
StaticBitArray
Get number of bits unset divided by length.
struct
StaticBitArray
(uint capacity, Block = DefaultBlock)
version(none)
@
safe
const
auto
sparseness
()
(
int
depth
= -1
)
if
(
isUnsigned
!
DefaultBlock
)
Meta
Source
See Implementation
nxt
static_bitarray
StaticBitArray
aliases
bitsSet
constructors
this
functions
allOne
allZero
at
canFindIndexOf
countOnes
countZeros
denseness
dup
indexOfFirstOne
indexOfFirstZero
oneIndexes
opApply
opBinary
opCast
opCmp
opCom
opEquals
opIndex
opIndexAssign
opOpAssign
opSliceAssign
ptr
put
reset
reverse
sort
sparseness
toHash
toString
ubytes
manifest constants
bitsPerBlock
blockCount
length
static functions
dim
reverseBlock
structs
OneIndexes
Range
Get number of bits unset divided by length.