the prime have other Hidden functions?
|
07-03-2015, 02:03 AM
Post: #1
|
|||
|
|||
the prime have other Hidden functions?
Hello everyone,I have a question ,the prime have other Hidden functions,For example,we can press "On"and"-"or"+"key to control the Screen brightness.I only know this Hidden function,Anything else??Thank you very much!
|
|||
07-03-2015, 05:18 PM
Post: #2
|
|||
|
|||
RE: the prime have other Hidden functions?
(07-03-2015 02:03 AM)dajiang1314 Wrote: Hello everyone,I have a question ,the prime have other Hidden functions,For example,we can press "On"and"-"or"+"key to control the Screen brightness.I only know this Hidden function,Anything else??Thank you very much! Calling [On]+[+] and [On]+[-] "hidden" is a stretch, since they are fully explained exactly where they should be: (1) Quick Start Guide, page 10 (English edition) (2) User Guide, page 4 (English edition) (3) The online Help system, in the entry for the On key, which also explains 4 other On-key combinations. HOWEVER, it would be interesting and useful to have a list of all the as-yet undocumented RPL commands, Prime keystroke functionalities, and any other "secret" features. <0|ɸ|0> -Joe- |
|||
07-03-2015, 05:28 PM
(This post was last modified: 07-04-2015 12:24 PM by DrD.)
Post: #3
|
|||
|
|||
RE: the prime have other Hidden functions? | |||
07-04-2015, 11:22 AM
Post: #4
|
|||
|
|||
RE: the prime have other Hidden functions? | |||
07-04-2015, 04:52 PM
Post: #5
|
|||
|
|||
RE: the prime have other Hidden functions?
(07-04-2015 11:22 AM)BruceH Wrote: The SORT command appears to have an undocumented "rotate left" capability. ;-) Nice... issue raised. Note that I've also raised up your problem of sorting one list based on another. I am thinking an expansion to the sort that allows specifying the element, maybe a function to do the sorting with, and ability to have optional "dependent" lists to sort using the same order might be nice enhancement... TW Although I work for HP, the views and opinions I post here are my own. |
|||
07-04-2015, 08:34 PM
Post: #6
|
|||
|
|||
RE: the prime have other Hidden functions?
(07-04-2015 04:52 PM)Tim Wessman Wrote:(07-04-2015 11:22 AM)BruceH Wrote: The SORT command appears to have an undocumented "rotate left" capability. ;-) Thanks Tim. So something like... a) A simple option is to allow SORT to take a second list as a second parameter. Given Code: name := { "Bird", "Jordan", "O'Neal" } then SORT(name, height) would return names ordered by height. Conveniently this doesn't break any existing code as SORT currently only takes one parameter. Dependent lists could be as simple as SORT(name, age, height) but the problem here is a conceptual one: what is the return value (as two lists are changing but only one can be returned)? I think it will be fine just to do: Code: name := SORT(name, height); b) A more powerful version, drawing on the ANSI C "qsort" approach, allows the user to specify a comparison function e.g.: Code: SORTB("compare(a,b)", { {"Bird",2.06}, {"Jordan",1.98}, {"O'Neal",2.16} } ) |
|||
07-05-2015, 05:10 AM
Post: #7
|
|||
|
|||
RE: the prime have other Hidden functions?
The "more powerful" version is already implemented in the CAS sort function
name := [ "Bird", "Jordan", "O'Neal" ];height := [ 2.06, 1.98, 2.16 ]; sort(transpose([name,height]),(j,k)->j(2)>k(2)) |
|||
07-05-2015, 07:25 AM
Post: #8
|
|||
|
|||
RE: the prime have other Hidden functions?
(07-05-2015 05:10 AM)parisse Wrote: The "more powerful" version is already implemented in the CAS sort function Thanks Bernard. Clearly I need to learn to RTFM!. ;-) |
|||
07-05-2015, 06:22 PM
Post: #9
|
|||
|
|||
RE: the prime have other Hidden functions?
(07-05-2015 07:25 AM)BruceH Wrote:(07-05-2015 05:10 AM)parisse Wrote: The "more powerful" version is already implemented in the CAS sort function Hello Bruce, I don't think that "rtfm" will be enough, there is a lot to try out,as not everything that works in xcas also works on the prime, some examples of working xcas -commands can be found in this thread. But I do not have the time to try everything. Arno |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)