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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.5550  
changed lines
  Added in v.5551

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9