File: batch.transcript

package info (click to toggle)
maxima 5.9.1-9
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 32,272 kB
  • ctags: 14,123
  • sloc: lisp: 145,126; fortran: 14,031; tcl: 10,052; sh: 3,313; perl: 1,766; makefile: 1,748; ansic: 471; awk: 7
file content (38 lines) | stat: -rw-r--r-- 759 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Time= 23 msec.
(D3) 			        [DSK, SHARE2]

(C4) /* next, calling the function DISOWN will set TTYOFF to TRUE and
   DYNAMALLOC to TRUE and then disown the running macsyma.
   The BATCH will continue though with results still going to the
   WRITEFILE. */

DISOWN();
Time= 3 msec.
(D4) 				    FALSE

(C5) /* You might one to have your job start running later.
here I'll just sleep for 3 minutes. */

SLEEP(0,3);
Time= 6 msec.
(D5) 				    AWAKE

(C6) /* Next do a computation */

f(x):=x^x;
Time= 8 msec.
					   X
(D6) 				  F(X) := X

(C7) for j:1 thru 5 do print (j,f(j));
1 1 
2 4 
3 27 
4 256 
5 3125 
Totaltime= 185 msec.  GCtime= 5 msec.
(D7) 				     DONE

(C8) /* Next close the writefile, naming it something useful. */

CLOSEFILE(BATCH,DEMCRF);