Key for modular arithmetic

03312018, 03:32 PM
Post: #1




Key for modular arithmetic
Good morning,
In CAS, modular arithmetic can be performed with the "%%" symbol. As far as I know, typing that requires about 9 keystrokes (the % symbol is in the Chars table). Is there a shortcut for "mod" in CAS? I tried creating a userkey program, but cannot do much better because one must use the MOD operator, it doesn't work with the %%. Any help would be welcome. Thanks. 

03312018, 03:41 PM
Post: #2




RE: Key for modular arithmetic
It should work with MOD, if it requires a function own of CAS can use irem().
Viga C  TD  FB 

03312018, 03:54 PM
Post: #3




RE: Key for modular arithmetic
(03312018 03:41 PM)Carlos295pz Wrote: It should work with MOD, if it requires a function own of CAS can use irem(). Thanks. It does work with MOD. What I was wondering was if there is a single keystroke that would perform say 2^36 %% 73. Typing the two %% takes a while, and looking up MOD does too. 

03312018, 06:47 PM
Post: #4




RE: Key for modular arithmetic
Hello,
I know it isn't much consolation, but you should be able to do SHIFTCHARS, TAP % Double tap %, then press ENTER or OK and put both in at once. TW Although I work for HP, the views and opinions I post here are my own. 

03312018, 09:07 PM
Post: #5




RE: Key for modular arithmetic
(03312018 06:47 PM)Tim Wessman Wrote: Hello, Thanks. That is exactly what I have been doing. It is OK for a onetime operation, but ... I was just wondering if there was a direct access to the % symbol. 

03312018, 09:18 PM
Post: #6




RE: Key for modular arithmetic
Perhaps there is a way to leave the USER keyboard on for more that just one keystroke, is there?


04012018, 01:18 AM
Post: #7




RE: Key for modular arithmetic
(03312018 09:18 PM)Alberto Candel Wrote: Perhaps there is a way to leave the USER keyboard on for more that just one keystroke, is there? Shift Help Shift Help Viga C  TD  FB 

04012018, 04:57 AM
Post: #8




RE: Key for modular arithmetic  
« Next Oldest  Next Newest »

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