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

Log of /trunk/pg/macros/parserImplicitPlane.pl

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 4385 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 16 01:42:46 2006 UTC (13 years, 3 months ago) by dpvc
File length: 7107 byte(s)
Diff to previous 3680
Report the objec type better in parser error messages.

Revision 3680 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 2 12:13:16 2005 UTC (14 years, 2 months ago) by dpvc
File length: 7073 byte(s)
Diff to previous 3679
Removed unneeded "my" for a varaible that is already local.

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, 8 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 2982 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 3 21:27:42 2004 UTC (15 years, 1 month ago) by dpvc
File length: 5697 byte(s)
Diff to previous 2935
Fixed an error where any plane is accepted if the d is 0 in
ax + by + cz = 0.

Revision 2935 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 19 00:20:02 2004 UTC (15 years, 1 month ago) by dpvc
File length: 5554 byte(s)
Diff to previous 2727
Prevent automatically reducing negatives in student answer, so the
sign doesn't change behind our back.

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9