[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 5552 - (download) (as text) (annotate)
Tue Oct 2 22:57:33 2007 UTC (12 years, 2 months ago) by sh002i
File size: 526 byte(s)
changed name message

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

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9