The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

[HP_Prime] definition of functions, APPLY command and BUGs
Message #1 Posted by CompSystems on 3 Sept 2013, 11:34 p.m.

I think that must be, a best codify the definition of functions

f(x,y):= 4*y^4-5*x*y+x^4 => f:=(x,y)->4*y^4-5*x*y+x^4

best

f(x,y):= 4*y^4-5*x*y+x^4 => f(x,y) -> 4*y^4-5*x*y+x^4

f(x,y):= 4*y^4-5*x*y+x^4 => f(x,y) -> 4*y^4-5*x*y+x^4

apply( ans, {1}) =>

apply( f(x,y) -> 4*y^4-5*x*y+x^4, {1}) => [4*y^4-5*y+1]

associate list of lists in parallel to each variable of the function

apply( f(x,y)->4*y^4-5*x*y+x^4,{{1,3},{2,4}}) => { [45] [385] }

request:

* requires a new command ENTRY, purpose: to call a History entry quickly without having to go to the x line

Edited: 5 Sept 2013, 4:44 p.m. after one or more responses were posted

      
[HP_Prime] definition of functions, APPLY command and BUGs
Message #2 Posted by CompSystems on 5 Sept 2013, 3:59 p.m.,
in response to message #1 by CompSystems

image updated

new BUGs

Edited: 5 Sept 2013, 4:44 p.m.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall