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

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

Parent Directory Parent Directory

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

Revision 5545 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 30 11:18:39 2007 UTC (12 years, 4 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

Revision 5457 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 31 13:40:27 2007 UTC (12 years, 5 months ago) by dpvc
File length: 25835 byte(s)
Diff to previous 5446
Fixed POD documentation formatting.

Revision 5446 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 29 02:06:01 2007 UTC (12 years, 5 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, 5 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.

  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