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

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

Parent Directory Parent Directory

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

Revision 3466 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 11 14:19:26 2005 UTC (14 years, 6 months ago) by dpvc
File length: 1459 byte(s)
Diff to previous 3267
Added new Set object class to the Parser.  It implements a finite set
of real numbers, for use with unions and intervals.  E.g., (1,2) U {3}
or (1,2) U {3,4,5}.  You can created Set objects in your perl code via
the Set() command, e.g, Set(3,4,5) or Set("{1,2,3}").  You should set
the Context to Context("Interval") if you plan to use Set objects, as
this defined the braces to form sets (rather than using them as
parentheses, which is the default WW behavior).  Note that in Interval
context, you can NOT use braces as parentheses.

Current, Set objects are only allowed to be sets of numbers.  It would
be possible to extend that in the future.

Revision 3267 - (view) (download) (as text) (annotate) - [selected]
Modified Sun Jun 5 23:25:20 2005 UTC (14 years, 8 months ago) by dpvc
File length: 1424 byte(s)
Diff to previous 2644
Allow for vectors to be marked as Column Vectors.

Revision 2644 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 19 12:01:12 2004 UTC (15 years, 6 months ago) by dpvc
File length: 1333 byte(s)
Diff to previous 2626 , to selected 3267
Make sure loadMacros() doesn't try to load these files more than once.

Revision 2626 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 16 19:44:26 2004 UTC (15 years, 6 months ago) by dpvc
File length: 1197 byte(s)
Diff to previous 2609 , to selected 3267
One more fix for handling intervals properly (I think it's really
right this time).  Also, named constants that end in numbers will
produce TeX output with the number as a subscript (this was already
true for variable names).

Revision 2609 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Aug 14 13:54:52 2004 UTC (15 years, 6 months ago) by dpvc
File length: 1042 byte(s)
Diff to previous 2590 , to selected 3267
Added a String type to the Value package.  Mostly this is to make it
possible to generate an answer checker for it that uses the parser.
It also makes it more consistent for handling things like stringify,
especially when they are recursively called internally.

Added new default strings "NONE" and "DNE", since these get used a

Modified how the default parameters are set up for the answer
checkers, and how the answer checker reports the expected answer type
in type mismatch error messages.

Revision 2590 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 11 18:02:44 2004 UTC (15 years, 6 months ago) by dpvc
File length: 1004 byte(s)
Diff to previous 2576 , to selected 3267
Added Real() command to create fuzzy reals.

Revision 2576 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Aug 4 20:52:28 2004 UTC (15 years, 6 months ago) by dpvc
File length: 968 byte(s)
Diff to selected 3267
Make Parser work with PGauxiliaryFunctions.pl, and add the macro files
needed to initialize the parser.

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