Finding minimum in list
03-22-2017, 04:11 PM (This post was last modified: 03-22-2017 04:28 PM by Han.)
Post: #4
 Han Senior Member Posts: 1,882 Joined: Dec 2013
RE: Finding minimum in list
(03-22-2017 04:06 PM)Didier Lachieze Wrote:  or:
Code:
L1:=SORT(L0,1); R:=L1(1,2);

Nicely done (and I think you may have even brought attention to a minor bug).

SORT(L0) gives me a syntax error whereas providing the actual list itself is fine.

EDIT: Perhaps the little bug isn't so little after all. SORT({{1}, {3,4}, "12" }) does not seem to behave gracefully (no error, in fact no result whatsoever).

Graph 3D | QPI | SolveSys
 « Next Oldest | Next Newest »

 Messages In This Thread Finding minimum in list - DrD - 03-22-2017, 03:14 PM RE: Finding minimum in list - Han - 03-22-2017, 03:30 PM RE: Finding minimum in list - DrD - 03-22-2017, 05:29 PM RE: Finding minimum in list - Han - 03-22-2017, 05:42 PM RE: Finding minimum in list - Tyann - 03-23-2017, 05:38 AM RE: Finding minimum in list - DrD - 03-25-2017, 02:25 PM RE: Finding minimum in list - Han - 03-25-2017, 03:10 PM RE: Finding minimum in list - Didier Lachieze - 03-22-2017, 04:06 PM RE: Finding minimum in list - Han - 03-22-2017 04:11 PM RE: Finding minimum in list - Han - 03-22-2017, 04:32 PM RE: Finding minimum in list - DrD - 03-23-2017, 10:18 AM RE: Finding minimum in list - John P - 03-26-2017, 04:11 AM RE: Finding minimum in list - cyrille de brĂ©bisson - 03-28-2017, 10:30 AM RE: Finding minimum in list - DrD - 03-28-2017, 01:52 PM RE: Finding minimum in list - DrD - 03-29-2017, 10:54 AM RE: Finding minimum in list - Didier Lachieze - 03-29-2017, 06:50 PM

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