[system] / trunk / pg / macros / contextLimitedPoint.pl Repository:
ViewVC logotype

Diff of /trunk/pg/macros/contextLimitedPoint.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 5372 Revision 5373
3 3
4sub _contextLimitedPoint_init {}; # don't load it again 4sub _contextLimitedPoint_init {}; # don't load it again
5 5
6=head3 Context("LimitedPoint") 6=head3 Context("LimitedPoint")
7 7
8########################################################## 8 ##########################################################
9# 9 #
10# Implements a context in which points can be entered, 10 # Implements a context in which points can be entered,
11# but no operations are permitted between points. So 11 # but no operations are permitted between points. So
12# students will be able to perform operations within the 12 # students will be able to perform operations within the
13# coordinates of the points, but not between points. 13 # coordinates of the points, but not between points.
14# 14 #
15 15
16=cut 16=cut
17 17
18# 18#
19# Handle common checking for BOPs 19# Handle common checking for BOPs
142$context{LimitedPoint}->parens->remove('<'); 142$context{LimitedPoint}->parens->remove('<');
143$context{LimitedPoint}->variables->are(x=>'Real'); 143$context{LimitedPoint}->variables->are(x=>'Real');
144$context{LimitedPoint}->constants->remove('i','j','k'); 144$context{LimitedPoint}->constants->remove('i','j','k');
145 145
146Context("LimitedPoint"); 146Context("LimitedPoint");
147
1481;

Legend:
Removed from v.5372  
changed lines
  Added in v.5373

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9