Shannon.Decode (Shannon v0.0.2)

Copy Markdown

Module for handling all of the decoding functions.

Summary

Functions

Simple repetition decoder with a default value of 3.

Functions

repetition(values, n \\ 3)

@spec repetition(list(), integer()) :: list()

Simple repetition decoder with a default value of 3.

Example

iex> Shannon.Decode.repetition([0,0,0]) [0]