kotlin-numpy / org.jetbrains.numkt / packbits

packbits

@JvmName("packbitsBool") fun packbits(x: KtNDArray<Boolean>, axis: Int? = null, bitorder: String = "big"): KtNDArray<Byte> (source)

Packs the elements of a binary-valued array into bits in a uint8 array.

@JvmName("packbitsByte") fun packbits(x: KtNDArray<Byte>, axis: Int? = null, bitorder: String = "big"): KtNDArray<Byte> (source)
@JvmName("packbitsShort") fun packbits(x: KtNDArray<Short>, axis: Int? = null, bitorder: String = "big"): KtNDArray<Byte> (source)
@JvmName("packbitsInt") fun packbits(x: KtNDArray<Int>, axis: Int? = null, bitorder: String = "big"): KtNDArray<Byte> (source)
@JvmName("packbitsLong") fun packbits(x: KtNDArray<Long>, axis: Int? = null, bitorder: String = "big"): KtNDArray<Byte> (source)