20 Reputation

One Badge

2 years, 188 days

MaplePrimes Activity

These are questions asked by tasheehee

I have a list of lists made from a combinat and was wondering how to make a new list from it that only contains lists that the elements sum up to 0. 

For example:

L1 := [[1,1,1,1], [1,2,0,0], [0,0,0,0], [1,1,-2,0]];

and I want the result to be 

L2:= [[0,0,0,0], [1,1,-2,0]]

Thank you in advance! I'm new to maple so would appreciate the guidance!

Page 1 of 1