ByteVectorToDoubles function

Converting p * sizeof(double) bytes to a vector of p double values

Converting p * sizeof(double) bytes to a vector of p double values

This function converts a byte vector to a vector of doubles

ByteVectorToDoubles(b)

Arguments

  • b: A vector of bytes (unsigned chars in C++)

Returns

Corresponding vector of double typed values for a given vector of bytes

Examples

a <- DoubleVectorToBytes(c(56.54, 89.7666, 98.565)) b <- ByteVectorToDoubles(a) print(b)

Author(s)

Mehmet Hakan Satman - mhsatman@istanbul.edu.tr

See Also

DoubleVectorToBytes

BytesToDouble

ByteVectorToDoubles

  • Maintainer: Mehmet Hakan Satman
  • License: GPL (>= 2)
  • Last published: 2023-11-27

Useful links