[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 5373 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 19 02:01:57 2007 UTC (12 years, 4 months ago) by dpvc
File length: 3175 byte(s)
Diff to previous 5145
Normalized comments and headers to that they will format their POD
documentation properly.  (I know that the POD processing was supposed
to strip off the initial #, but that doesn't seem to happen, so I've
added a space throughout.)

Revision 5145 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 11 19:28:21 2007 UTC (12 years, 5 months ago) by gage
File length: 3195 byte(s)
Diff to previous 5141
More detailed doucmentation on MathObjects

Revision 5141 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 11 02:42:12 2007 UTC (12 years, 5 months ago) by gage
File length: 1678 byte(s)
Diff to previous 5071
Add comment explaining that Infinity is defined in dangerousMacros.pl along with pi and sometimes
the complex version of i as well.

Revision 5071 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 28 23:19:00 2007 UTC (12 years, 5 months ago) by dpvc
File length: 1593 byte(s)
Diff to previous 4997
Correct and expand some documentation.

Revision 4997 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 11 18:16:40 2007 UTC (12 years, 6 months ago) by gage
File length: 1544 byte(s)
Diff to previous 4990
Fixing docementation so that it can be read from the web.

Revision 4990 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 7 23:48:20 2007 UTC (12 years, 6 months ago) by dpvc
File length: 1495 byte(s)
Diff to previous 4983
More updates to use the new Value->Package() call.  This will make the
standard object-creation functions like Real() and Complex() use the
new lookup method.

Revision 4983 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 7 13:14:52 2007 UTC (12 years, 6 months ago) by dpvc
File length: 1341 byte(s)
Diff to previous 3466
Allow Compute() to create formulas as well as Value objects (with the
correct answer set to the original formula).

Also update some comments and formatting.

Revision 3466 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 11 14:19:26 2005 UTC (14 years, 4 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) - [select for diffs]
Modified Sun Jun 5 23:25:20 2005 UTC (14 years, 6 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, 3 months ago) by dpvc
File length: 1333 byte(s)
Diff to previous 2626
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, 4 months ago) by dpvc
File length: 1197 byte(s)
Diff to previous 2609
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, 4 months ago) by dpvc
File length: 1042 byte(s)
Diff to previous 2590
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
lot.

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, 4 months ago) by dpvc
File length: 1004 byte(s)
Diff to previous 2576
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, 4 months ago) by dpvc
File length: 968 byte(s)
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