HP Forums
[HP_Prime] definition of functions, APPLY command and BUGs - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: [HP_Prime] definition of functions, APPLY command and BUGs (/thread-249484.html)



[HP_Prime] definition of functions, APPLY command and BUGs - CompSystems - 09-03-2013

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 - CompSystems - 09-05-2013

image updated

new BUGs

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