|Links to HEAD:||(view) (download) (as text) (annotate)|
Removed unneeded "my" for a varaible that is already local.
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).
Make error messages potentially localizable (by making them use sprintf-style strings rather than variable subtitution).
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!
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.
Fixed an error where any plane is accepted if the d is 0 in ax + by + cz = 0.
Prevent automatically reducing negatives in student answer, so the sign doesn't change behind our back.
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.
|aubreyja at gmail dot com||ViewVC Help|
|Powered by ViewVC 1.0.9|