[system] Repository:
ViewVC logotype

Revision 2628


Jump to revision: Previous Next
Author: dpvc
Date: Mon Aug 16 21:41:05 2004 UTC (15 years, 3 months ago)
Log Message:
Allow parser "constants" to be (in reality) formulas.  That way, for
example, you can defined T, N and B to be the formulas for the unit
tangent, normal and binormal of a space curve (as functions of "t")
and the student can write anwers in terms of T, N and B (without
having to compute them).

You could have created FUNCTIONS T(t), N(t) and B(t), and added them
to the parser to get almost the same effect, but the students would
have had to include the "(t)".  (If you want that, go ahead and do it
that way.)

Changed paths:

Path Details
Directorytrunk/pg/lib/Parser/Constant.pm modified , text changed
Directorytrunk/pg/lib/Parser.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