Library

Documenting the public user interface.

TurbulentWords.jl

TurbulentWords.alternatingMethod
alternating(N)

Return an array of alternating 1 and -1 of length N.

Example

julia> using TurbulentWords

julia> alternating(5)
5-element Vector{Int64}:
  1
 -1
  1
 -1
  1
source
TurbulentWords.word_to_arrayMethod
word_to_array(word;
              greek = false,
              multiplicative_factors = ones(length(word)),
              word_Ny = size(letter_to_array(word[1]), 2),
              letter_pad::Int = 20,
              vpad::Int = 0,
              pad_to_square::Bool = false,
              hpad::Int = 50)

Convert word to an array of ones and zeros.

source