exec_algo_1: Execute the 1 constant algorithm on no or a null input.

Description Usage Arguments Value Examples

Description

...

Usage

1
exec_algo_1(algo, input = NULL, ...)

Arguments

algo

A 1 constant algorithm (R6 Class algo_1)

input

(conditional) The input bits (logical vector | character vector of "0"s and "1"s | R6 Class BinaryNumber)

Value

The corresponding output (same type than input, default type: logical vector)

Examples

1
2
3
4
5
6
# R function style:
exec_algo_1(algo, input);

# R6 method style:
a <- algo_1$new();
a$exec(input);

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