I want to turn a sum like this
sum =a-b+c+d
Into a List like this:
sumToList[sum]={a,-b,c,d}
How can I achieve this?
|
I want to turn a sum like this
Into a List like this:
How can I achieve this? |
|||
|
|
From the docs on Apply (@@):
So |
||||
|
|
|
Try :
You can have a look at |
|||||||||
|
|
Still another route:
|
|||
|
|