concat_bnum: Function: concat_bnum

Description Usage Arguments Value References Examples

Description

Concatenates modular binary numbers.

Usage

1

Arguments

...

Modular binary numbers (bnum)

Value

The result of the concatenation

References

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
Function style:
n1 <- bnum$new("0101");
n2 <- bnum("11000");
n3 <- concat_bnum(n1, n2);
print(n3);

R6 method style:
n4 <- n1$concat_with(n2);
print(n4);

Infix operator style:
n5 <- n1 %concat% n2;
print(n5);

daviddoret/haricot documentation built on May 21, 2019, 1:42 a.m.