View Source Caustic.Format (Caustic v0.1.25)
Formatting for beautiful layout of equations and tables.
Link to this section Summary
Functions
Examples
iex> Caustic.Format.equations ["x", "1 + 1 + 1", "1 + 2", "3"]
"x = 1 + 1 + 1\n = 1 + 2\n = 3"
Examples
iex> Caustic.Format.table [[2, 3], [1, 4]], ["x + 1", "x^2"], [1, 2]
" | 1 | 2\nx + 1 | 2 | 3\n x^2 | 1 | 4"
Link to this section Functions
examples
Examples
iex> Caustic.Format.equations ["x", "1 + 1 + 1", "1 + 2", "3"]
"x = 1 + 1 + 1\n = 1 + 2\n = 3"
Link to this function
print_exponentiation_table_mod(m, opts \\ [relatively_prime_only: false])
View Source
examples
Examples
iex> Caustic.Format.table [[2, 3], [1, 4]], ["x + 1", "x^2"], [1, 2]
" | 1 | 2\nx + 1 | 2 | 3\n x^2 | 1 | 4"