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
Link to this function
converge(iterator, epsilon \\ 1.0e-13)
Link to this function
derivative(f, delta \\ 1.0e-6)
Link to this function
expand(eq_list)
Link to this function
find_zero(f, f_prime, start \\ 1.0e-6)
Link to this function
reverse(tuple)
Link to this function
solve(eq_list)
Link to this function
solve(eq_list, problem)
Link to this function