View Source Dantzig.Polynomial (Danztig v0.1.0)

Summary

Types

@type t() :: %Dantzig.Polynomial{simplified: term()}

Functions

Link to this function

coefficient_for(p, term)

View Source
Link to this function

depends_on?(p, variable)

View Source
Link to this function

evaluate(p, substitutions)

View Source
Link to this function

evaluate!(p, substitutions)

View Source
Link to this function

find_variables_by(p, fun)

View Source
Link to this function

get_variables_by(p, fun)

View Source
Link to this function

merge_and_simplify_terms_in_polynomial(p)

View Source
Link to this function

monomial(coefficient, variable)

View Source

Replace operators by their polynomial versions inside a code block.

Link to this function

substitute(p, substitutions)

View Source
Link to this function

term(variables, coefficient)

View Source
Link to this function

to_number_if_possible(number)

View Source