For given data, arrays of table, how one can find the independent terms in Mathematica?
For example, given sets:
list={{{a,b,c},{d,e,f},{g,h,k}}
,{{a2,b2,c2},{d+e,e2,-f},{g,h,k}}
,{{a3,ab3,c*c2},{d2+e2,e,f2},{g2,h2,k}}}
I want to find the independent terms, i.e., the output for the above example should be:
a,b,c,d,e,f,g,h,k, a2,b2,c2,d2,e2,f2,g2,h2,a3,b3
The sets can have arbitrary length, and the arrays might not be the same size. But it is distinguished by, comma, and of course I want to treat $-a$ as $a$ and so on.
Can you provide me with explicit code or some key command for this purpose?
Variables? You can use it directly on your list:Variables[list]. – Domen Feb 13 '23 at 13:58