factor_system

Module for factor system.

` A = a1 ( B x C x D) + a2 (E x F) B = b1 B1 + b2 B2 `

is a tree structure ` A -> [(a1, [(b1, B1), (b2, B2)], C, D), (a2, E, F)] `

Each component is a path for root to a leaf. ` (a1, b1),  (a1, b2),  (a2,) `

We can add some options to change the possible combination. (TODO)

flatten_all(x)[source]
get_all_chain(a)[source]
get_all_partial_amp(amp, data, strip_part=[])[source]
get_chain_name(chain)[source]
get_id_variable(all_var, var)[source]
get_prod_chain(i)[source]
get_split_chain(a)[source]
partial_amp(amp, data, all_va, need_va)[source]
strip_variable(var_all, part=[])[source]
temp_var(vm)[source]