New Version: 2016.08.29 r10637 - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: New Version: 2016.08.29 r10637 (/thread-6803.html) |
RE: New Version: 2016.08.29 r10637 - parisse - 10-16-2016 07:18 AM The problem is that evaluation of the rand command occurs before. There is a direct command to produce random matrices: ranm. RE: New Version: 2016.08.29 r10637 - zahi48g - 10-16-2016 08:08 PM Thank you Dr Parisse . It works fine while generating whole numbers. Now suppose I want to generate uniformly distributed random(not integers) numbers . I've tried RANDMAT(3,5,RANDOM()) , and got a matrice full of the same number . RANDMAT(3,5,0,1) gives a matrice of 0 and 1 randomly distributed but not numbers lying between 0 and 1 . You may say : Just stick the home view and be done ! Well it took me months to realize the prime is a work in progress , and I want to participate . RE: New Version: 2016.08.29 r10637 - DrD - 10-17-2016 09:51 AM The [CAS] lower case variant may be what you are looking for: randmat(3,5,0,1); RE: New Version: 2016.08.29 r10637 - zahi48g - 10-17-2016 12:56 PM Thank you veeeery much ! Strange , it seemed to me I've tried every possibility before posting . While writing the post you're reading ,I realize it works only when you type letter after letter by yourself , and especially the " m " in lower case . Anyway , problem solved ! RE: New Version: 2016.08.29 r10637 - parisse - 10-17-2016 06:17 PM ranm can generate random matrices following a few distributions, for example: ranm(4,5,uniform,-1,1) uniform distribution (-1,1) ranm(4,5,normald,0,1) normal distribution mean 0 stddev 1 RE: New Version: 2016.08.29 r10637 - zahi48g - 10-18-2016 02:05 AM Thank you Dr Parisse . This is beyond my expectations , but leads to : first question : why can't we find ranm in the matrix menu ,or even the catalog ? second question : is it possible to put the new probability distributions functions together in the probability menu ? third Q : I'm so impressed that I'd like to know how many people worked on the prime ? i don't want the exact number , just "un ordre de grandeur " . Fourth Q : I know I'm repeating myself but , do you plan to release a more powerful version or at least a device with an expandable memory . RE: New Version: 2016.08.29 r10637 - parisse - 10-18-2016 06:36 AM I can not answer to your questions : I work on the CAS only (and I'm alone to code on the CAS). RE: New Version: 2016.08.29 r10637 - Terje Vallestad - 10-18-2016 06:49 AM (10-18-2016 02:05 AM)zahi48g Wrote: Thank you Dr Parisse . Hi There is a reference to the ranm command in the on Calc help system Quote:Syntax: You can find a searchable PDF of the help tree HERE Cheers, Terje RE: New Version: 2016.08.29 r10637 - Tim Wessman - 10-18-2016 03:27 PM (10-18-2016 02:05 AM)zahi48g Wrote: why can't we find ranm in the matrix menu ,or even the catalog ? randMat is the command name. In xcas, there are many commands that have duplicate names, some names in french, etc. Early on, the decision was made not to have duplicates if possible since it increases documentation work considerably and can also be confusing for general users Quote:second question : is it possible to put the new probability distributions functions together in the probability menu ? UI design is a trade off between simplicity and complexity. Simply sticking every possible command in every possible place it might appear will not end up giving nice results. In this case, adding more items into the menu would effectively hide them away because they'd fall off the bottom of the choose screen. In addition, it impacts documentation with changes, more testing, etc. So even simple appearing things like "add it into the menu" can have large rippling effects and so must be taken seriously with thought. Quote:third Q : I'm so impressed that I'd like to know how many people worked on the prime ? Help->Tree->about hp prime submenu->Thanks. Quote:Fourth Q : I know I'm repeating myself but , do you plan to release a more powerful version or at least a device with an expandable memory. This would could as a future looking statement and so anyone who actually knows anything would not be allowed to say one way or another. As Bernard said, he is the author of the CAS only and doesn't make UI or documentation decisions. RE: New Version: 2016.08.29 r10637 - zahi48g - 10-18-2016 04:40 PM Hi T.W Thank you for replying . I'm extremely pleased with the answer to the fourth Q , but I'm still trying to understand the answer to the third , maybe you don't want to give any hint to your competitors . RE: New Version: 2016.08.29 r10637 - Tim Wessman - 10-18-2016 05:14 PM (10-18-2016 04:40 PM)zahi48g Wrote: but I'm still trying to understand the answer to the third On the calculator, press the HELP button. In the bottom left corner, there is a TREE menu key. Tap that. Press SHIFT-UP or scroll to the top of the tree. The top item will say "About HP Prime". Expand that and you will see an item labeled "Thanks" (or similar in your language). That contains names of people involved in Prime development at some point. Top set is higher level managers/bosses (at the top of course to make them happy ). Second is primary developers. Third are other developers/testers/project managers/etc. The bottom group are some of the more prolific and helpful beta testers. RE: New Version: 2016.08.29 r10637 - zahi48g - 10-18-2016 05:38 PM Got it ! Thank you . RE: New Version: 2016.08.29 r10637 - Carlos295pz - 10-27-2016 02:07 AM TEXTOUT command returns the X coordinate smoothly when working on an existing area as: TEXTOUT_P("Text",0,0,1) --> 20 TEXTOUT_P("Text",0,0,7) --> 43 However would be more beneficial get the same results when working out of an area: TEXTOUT_P("Text",0,-30,1) --> 26 //Bad TEXTOUT_P("Text",0,-30,7) --> 26 //Bad Always assumee font=3 Font Size: Medium Font RE: New Version: 2016.08.29 r10637 - jaguero - 11-08-2016 03:34 PM Because with the update my calculator shows the letter "t" as "pi". See the image. RE: New Version: 2016.08.29 r10637 - Tim Wessman - 11-08-2016 05:00 PM (11-08-2016 03:34 PM)jaguero Wrote: Because with the update my calculator shows the letter "t" as "pi". See the image. Bizarre... Have you tried reinstalling the update? RE: New Version: 2016.08.29 r10637 - jaguero - 11-08-2016 05:23 PM Thanks Tim, solved with reinstallation. |