Solver (solver v0.1.0)

Create and solve linear systems of equations.

Example:

Create a function description for converting f to c, and another one to convert k to c. Together, the entire system of equations can be solved given any one input.

  > f = {[:f, :c], fn f -> (f - 32) * 5/9 end}
  > k = {[:k, :c], fn k -> k - 273.15 end}
  > Solver.solve([f, k], %{c: 37.0})
  %{f: 98.6, c: 37.0, k: 310.15}

Link to this section Summary

Link to this section Functions