Post Reply 
help: divide a list into other two
05-19-2015, 10:01 PM (This post was last modified: 05-19-2015 10:04 PM by Didier Lachieze.)
Post: #2
RE: help: divide a list into other two
This should work:

Code:
flneg:=MIN(L1,0); flpos:=MAX(L1,0);
flneg:=remove(0,flneg);
flpos:=remove(0,flpos);

You need to do it in two steps: flneg:=remove(0,MIN(L1,0)) doesn't work.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: help: divide a list into other two - Didier Lachieze - 05-19-2015 10:01 PM



User(s) browsing this thread: 1 Guest(s)