Exun.Collect (exun v0.1.0)
Link to this section Summary
Functions
Returns commom base for two trees. Used for collect {:m,:suma}
Change power sign of tree
Change sign of tree
Normalize tree so :mult and :suma are converted to list: {:mult,{:mult,a,b},c} -> {{:m,:mult},[a,b,c]}
Simplify literals, reduce to one number and one unit when possible
Link to this section Functions
Link to this function
cbs(op, a, a)
Returns commom base for two trees. Used for collect {:m,:suma}
Link to this function
chpow(suma)
Change power sign of tree
Link to this function
chsign(arg)
Change sign of tree
Link to this function
coll(tree)
Link to this function
denorm(tree)
Link to this function
get_base(op, lst)
Link to this function
get_coefs(isol)
Link to this function
get_isol(base, lst)
Link to this function
get_rest(isol)
Link to this function
maxbase(list)
Link to this function
maxbasef(a1, a2)
Link to this function
mk(tree)
Link to this function
mkrec(tree)
Link to this function
norm(other)
Normalize tree so :mult and :suma are converted to list: {:mult,{:mult,a,b},c} -> {{:m,:mult},[a,b,c]}
Link to this function
solve_literals(tree)
Simplify literals, reduce to one number and one unit when possible