The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

HP Prime - programming
Message #1 Posted by bluesun08 on 4 Nov 2013, 3:29 p.m.

Let us assume the following simple program:
EXPORT Test(X,Y)
BEGIN
X+Y;
END;

How can i use the advanced graphing app to plot "V1: Test(X,Y)=1" ?

      
Re: HP Prime - programming
Message #2 Posted by Tim Wessman on 4 Nov 2013, 3:54 p.m.,
in response to message #1 by bluesun08

You cannot. User functions are not supported yet in adv grapher.

[edit to add a bit more detail] The way the advanced grapher works is through knowledge about the functions and the accuracies. It is actually pure floating point and not the HP math library or BCD calculation. In order for user functions/programs to be supported, all the possible commands (or at least a large number of them) need to be linked with the appropriate functions. This could then parse a program/function and determine if all the appropriate information is available and allow user functions.

That would also allow a possible mode where calculations could be done with intervals! This could allow you to do calculations and the errors would automatically accumulate showing the uncertainty for the final result.

TW

Edited: 4 Nov 2013, 4:37 p.m. after one or more responses were posted

            
Re: HP Prime - programming
Message #3 Posted by bluesun08 on 4 Nov 2013, 4:31 p.m.,
in response to message #2 by Tim Wessman

o.k.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall