convert_bin2dec {QuantumOps}R Documentation

convert_bin2dec

Description

Takes a vector of unsigned bits with MSB first and produces integer value

Usage

convert_bin2dec(b)

Arguments

b

Vector of bits with most significant bits first

Value

Integer value of bits

Examples

 convert_bin2dec( c(1,0,0) )


[Package QuantumOps version 3.0.1 Index]