ByteVectorToDoubles: Converting p * 'sizeof(double)' bytes to a vector of p double...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/RcppExports.R

Description

This function converts a byte vector to a vector of doubles

Usage

1

Arguments

b

A vector of bytes (unsigned chars in C++)

Value

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

Author(s)

Mehmet Hakan Satman - mhsatman@istanbul.edu.tr

See Also

DoubleVectorToBytes

BytesToDouble

ByteVectorToDoubles

Examples

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

mcga documentation built on May 29, 2017, 9:01 p.m.

Search within the mcga package
Search all R packages, documentation and source code