Log of /trunk/pg/macros/contextPiecewiseFunction.pl
Parent Directory
Revision
5551 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 2 20:48:05 2007 UTC (12 years, 2 months ago) by
sh002i
File length: 25601 byte(s)
Diff to
previous 5545
improved formatting for docs -- these were in pod sections but were all
formatted as verbatim sections, and i moved them into normal paragraphs,
lists, etc. should make things more readable from the web.
Revision
5545 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Sep 30 11:18:39 2007 UTC (12 years, 2 months ago) by
dpvc
File length: 25830 byte(s)
Diff to
previous 5457
Don't use dollar signs in the TeX output, since BEGIN_TEXT/END_TEX
does command substitution then variable substitution then math, so
\{$f->TeX\} would insert dollars, which would then be substituted as
variables.
Revision
5446 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 29 02:06:01 2007 UTC (12 years, 3 months ago) by
dpvc
File length: 25782 byte(s)
Diff to
previous 5444
Fix substitute() so that if the variable is being substituted for a
constant, only the branch that contains that value is returned. If it
is substituted by another variable, the variables for the inequalities
will also be changed. (Otherwise the variable is replaced only in the
functions; not perfect, but the best that I could come up with.)
Revision
5444 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Wed Aug 29 00:07:47 2007 UTC (12 years, 3 months ago) by
dpvc
File length: 24271 byte(s)
Implementation of a PiecewiseFunction class. Both students and
problem authors can enter peicewise functions, and they will display
nicely in TeX mode. They can be evaluated, reduced, substituted, and
so on, just like other functions.
There are undoubtedly more features that it needs, but it's a start.
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.