Log of /trunk/pg/macros/parserImplicitPlane.pl
Parent Directory
Revision
3679 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat Oct 1 01:17:24 2005 UTC (14 years, 2 months ago) by
dpvc
File length: 7076 byte(s)
Diff to
previous 3371
Major update to allow ImplicitPlane objects to be created
automatically by the Parser when it sees equal signs. This makes it
possible to use ImplicitPlanes in Lists. (Before, when the List was
turned into a Formula returning a List, the equality became a plane
old equality rather than an ImplicitPlane object.)
This is a bit of a hack for now until I can make List and other Value
objects be allowed to have Formulas as their entries rather than turn
into Formulas returning Lists (or whatever type).
Revision
3371 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 12 22:39:56 2005 UTC (14 years, 5 months ago) by
dpvc
File length: 5779 byte(s)
Diff to
previous 3195
Make error messages potentially localizable (by making them use
sprintf-style strings rather than variable subtitution).
Revision
3195 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 16 13:36:33 2005 UTC (14 years, 9 months ago) by
dpvc
File length: 5773 byte(s)
Diff to
previous 3159
Now that the uverloaded operators handle subclassing properly, we can
use promotePrecedence in the compare routines, just in case we define
a subclass with even HIGHER precedence!
Revision
3159 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Feb 10 22:34:01 2005 UTC (14 years, 10 months ago) by
dpvc
File length: 5708 byte(s)
Diff to
previous 2982
Fixed a problem that caused errors to occur when ImplicitPlane() was
called with a formula whose constant term is a negative number that is
produced by a computation.
Revision
2727 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Sat Sep 4 20:26:23 2004 UTC (15 years, 3 months ago) by
dpvc
File length: 5529 byte(s)
This macro file defines an ImplicitPlane (and inplicit line) class of
Parser object that provides an answer checker for planes (or
hyperplanes in any dimension) of the form ax + by + cz = d. Students
can provide their answer in any (linear) form that is equivalent to
this.
The class accepts several formats for specifying the correct-answer plane.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.