#A Generalized Mathematica Apart Function
#Overview: The generalized function Apart can decompose any linear dependent elements to the irreducible ones.
#Usage: ApartAll[expr,{x,y,z,...}], {x,y,z,...} are the corresponding n-variate polynomial variables. ApartAll[expr,{x,y,z,...}] will perform the decomposition on expr to give the irreducible forms.