/[ascend]/trunk/models/testTrig.a4s
ViewVC logotype

Annotation of /trunk/models/testTrig.a4s

Parent Directory Parent Directory | Revision Log Revision Log


Revision 908 - (hide annotations) (download)
Thu Oct 26 10:18:53 2006 UTC (17 years, 7 months ago) by johnpye
File size: 590 byte(s)
first attempt at merging with Ben's changes on the trunk
1 johnpye 908 # Script for running testTrig.a4c model. Used to demonstrate
2     # that the built-in functions (mostly trig functions)
3     # work as advertised.
4    
5    
6     DELETE TYPES;
7     READ FILE "/home/aw0a/ascend/code/models/testTrig.a4c";
8     COMPILE tt OF testTrig;
9     BROWSE {tt};
10     RUN {tt.specify};
11     RUN {tt.values};
12     SOLVE {tt} WITH QRSlv;
13    
14     # run the next two statements to recover the values
15     # for the original x values by computing inverse
16     # functions for the results obtained above. The
17     # mapping for the recovered values is in the
18     # comments for the method valuesRecover
19    
20     RUN {tt.valuesRecover};
21     SOLVE {tt} WITH QRSlv;
22    

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22