[system] Repository:
ViewVC logotype

Revision 4979

Jump to revision: Previous Next
Author: dpvc
Date: Thu Jun 7 11:59:05 2007 UTC (12 years, 5 months ago)
Log Message:
More updates for marking MathObjects with the context in which they
were created, so they should now work like the Formula objects in that
respect.  As they are combined via overloaded operators, they should
pass on their contexts correctly.

Also normalized the use of getFlag() to obtain flags from the
MathObject's context rather than looking in the context directly.
This allows the math object to override the flag by setting the flag
value in the object's hash (e.g., $f->{tolerance} = .001).  I've also
added the ability to override context flags via the answerHash (e.g.,
$f->cmp(tolerance => .001)), though some filtering may need to be
added to this at some point.  Note that ONLY the context flags can be
overridden, not other parts of the context.

Changed paths:

Path Details
Directorytrunk/pg/lib/Parser/Item.pm modified , text changed
Directorytrunk/pg/lib/Parser.pm modified , text changed
Directorytrunk/pg/lib/Value/AnswerChecker.pm modified , text changed
Directorytrunk/pg/lib/Value/Formula.pm modified , text changed
Directorytrunk/pg/lib/Value/Infinity.pm modified , text changed
Directorytrunk/pg/lib/Value/Interval.pm modified , text changed
Directorytrunk/pg/lib/Value/Matrix.pm modified , text changed
Directorytrunk/pg/lib/Value/Point.pm modified , text changed
Directorytrunk/pg/lib/Value/Real.pm modified , text changed
Directorytrunk/pg/lib/Value/Set.pm modified , text changed
Directorytrunk/pg/lib/Value/String.pm modified , text changed
Directorytrunk/pg/lib/Value/Union.pm modified , text changed
Directorytrunk/pg/lib/Value/Vector.pm modified , text changed
Directorytrunk/pg/lib/Value.pm modified , text changed

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9