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

View of /trunk/pg/macros/contextPeriodic.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5047 - (download) (as text) (annotate)
Thu Jun 28 02:08:18 2007 UTC (12 years, 6 months ago) by dpvc
File size: 598 byte(s)
The file needs to return a true value.

    1 
    2 =head1 contextPeriodic.pl
    3 
    4  ######################################################################
    5  #
    6  #   This file is no longer needed, as these features have been added to the
    7  #   Real and Complex MathObject classes.
    8  #
    9  #  Usage:
   10  #    Context("Numeric");
   11  #    $a = Real("pi/2")->with(period=>pi);
   12  #    $a->cmp         # will match pi/2, 3pi/2 etc.
   13  #
   14  #  Usage:
   15  #    Context("Complex");
   16  #    $z0 = Real("i^i")->with(period=>2pi, logPeriodic=>1);
   17  #    $z0->cmp        # will match exp(i*(ln(1) + Arg(pi/2) + 2k pi))
   18  #
   19  ######################################################################
   20 
   21 =cut
   22 
   23 1;

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9