New Version: 2018.02.12 1.4.1.13441
|
03-08-2018, 02:44 PM
Post: #58
|
|||
|
|||
RE: New Version: 2018.02.12 1.4.1.13441
(03-06-2018 02:06 PM)vaca Wrote: {{1,1,1},{2,1,1}}+{1,0,1} The error makes sense. You are trying to add a list of 2 elements plus a list of 3 elements. It would be ambiguous otherwise. {{1,1,1},{2,2,2},{3,3,3}}+{1,2,3} could be interpreted as: {{2,3,4},{3,4,5},{4,5,6}} adding {1,2,3} to each list or {{2,2,2},{4,4,4},{6,6,6}} adding 1 to the 1st list, 2 to the 2nd, 3 to the 3rd. Would this meet your needs? {{1,1,1},{2,1,1}}+{{1,0,1},{1,0,1}} -> {{2,1,2},{3,1,2}} |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)