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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6058 - (view) (download) (as text)

1 : sh002i 5556 ################################################################################
2 :     # WeBWorK Online Homework Delivery System
3 :     # Copyright 2000-2007 The WeBWorK Project, http://openwebwork.sf.net/
4 : gage 6058 # $CVSHeader$
5 : sh002i 5556 #
6 :     # This program is free software; you can redistribute it and/or modify it under
7 :     # the terms of either: (a) the GNU General Public License as published by the
8 :     # Free Software Foundation; either version 2, or (at your option) any later
9 :     # version, or (b) the "Artistic License" which comes with this package.
10 :     #
11 :     # This program is distributed in the hope that it will be useful, but WITHOUT
12 :     # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 :     # FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the
14 :     # Artistic License for more details.
15 :     ################################################################################
16 :    
17 : sh002i 5551 =head1 NAME
18 : sroubos 4985
19 : sh002i 5552 contextPeriodic.pl - [DEPRECATED] Features added to Real and Complex
20 :     MathObjects classes.
21 : sroubos 4985
22 : sh002i 5551 =head1 DESCRIPTION
23 : sroubos 4985
24 : sh002i 5551 This file is no longer needed, as these features have been added to the
25 :     Real and Complex MathObject classes.
26 :    
27 :     =head1 USAGE
28 :    
29 : sh002i 5555 Context("Numeric");
30 :     $a = Real("pi/2")->with(period=>pi);
31 :     $a->cmp # will match pi/2, 3pi/2 etc.
32 : sh002i 5551
33 : sh002i 5555 Context("Complex");
34 :     $z0 = Real("i^i")->with(period=>2pi, logPeriodic=>1);
35 :     $z0->cmp # will match exp(i*(ln(1) + Arg(pi/2) + 2k pi))
36 : sh002i 5551
37 : sroubos 4985 =cut
38 :    
39 : dpvc 5047 1;
40 : sh002i 5551

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9