On 13 Mar 2023 as I do recall,
Post by Richard AshberyPost by Jean-MichelHello,
I have updated my PARI/GP adaptation for RISC OS The program is a
reworking of the original with an editor using two TextAreas.
I tried to run the program for testing purposes and got the error
"Toolbox task(s) active" on AMRX6.
Post by Richard AshberyAny chance of an English translation for the program help file and
Interactive Help for the tool icons.
A bit tricky without being able to see the actual software, but it goes
something like this:
----------Basic Help file --------
----------27.05.20 JMB------------
List of commands (which have changed from those in the previous
release):
============Editor============
'Commands' are entered in the upper window. Each command can consist of
multiple lines obtained by using the Enter key, and therefore it is
necessary to click the OK button in order to enter the command. The Tab
key is used as a keyboard shortcut(?)
The editor records the commands entered in a list which can be recalled
using the arrow keys.
Note: all the features of this version of PARI are implemented (even
the bugs...)
For example the % command of Pari can be used:
? 1
%1 = 1
? 2
%2 = 2
? %1+%2
%3 = 3
The editor makes use of two text areas, one for commands and the other
to show results.
You can select/delete/copy from one text area to the other, but
copy/paste as opposed to drag and drop is not yet implemented.
The two pencil/rubber icons delete their respective text areas.
PARI can calculate to an impressive number of significant figures,
Example: Pi (to 28 places)
%5 = 3.141592653589793238462643383
Pi (to 100 places)
%6 = 3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421
PARI cannot perform algebra, but can do a good deal:
Example 1
x=Pi/3;
? cos(x)
%9 = 0.50000000
Example 2 PGCD
? gcd(15,225)
%19 = 15
See the list of functions in the built-in help.
PARI can also execute scripts
? for(x=1,5,print(x!))
1
2
6
24
120
Some examples of curve plotting:
Postscript:
psploth(x=-5,5,sin(x));
psplothraw(vector(501,k,k-1),vector(501,k,(k-1)*(k-1)/500),1);
// parametric curves
psploth(t=0,2*Pi,[sin(5*t),sin(7*t)],1,100);
MkDraw:
mkdploth(x=-5,5,sin(x));
mkdplothraw(vector(501,k,k-1),vector(501,k,(k-1)*(k-1)/500),1);
// parametric curves
mkdploth(t=0,2*Pi,[sin(5*t),sin(7*t)],1,100)
mkdploth(X=0,2*Pi,128+(sin(X)+sin(X*3)+sin(X*5))*128/3)
The PostScript plot instructions begin with "ps" and the Draw plot
instructions with "mkd", but the syntax is otherwise identical.
The drawings are saved in the application directory(?)
The direct "ploth" command is not yet implemented... to be done.
Future features(?)
replace mkdplothxxx commands with corresponding plothxxx commands
Display the plot in a Draw window
Help topics: for a list of relevant subtopics, type ?n for n in
0: user-defined identifiers (variable, alias, function)
1: Standard monadic or dyadic OPERATORS
2: CONVERSIONS and similar elementary functions
3: TRANSCENDENTAL functions
4: NUMBER THEORETICAL functions
5: Functions related to ELLIPTIC CURVES
6: Functions related to general NUMBER FIELDS
7: POLYNOMIALS and power series
8: Vectors, matrices, LINEAR ALGEBRA and sets
9: SUMS, products, integrals and similar functions
10: GRAPHIC functions
11: PROGRAMMING under GP
12: The PARI community
For help about a function type:
?funct_name, with correct spelling in the edit window.
Type ?\ to list keyboard shortcuts.
Conclusion:
Even a user who knows relatively little about such functions, such as
myself, can still use PariGP as an advanced calculator with graphical
output.
--
Harriet Bazley == Loyaulte me lie ==
The purpose of rules is to make you think before you break them.