[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 5556 - (download) (as text) (annotate)
Thu Oct 4 16:40:49 2007 UTC (12 years, 4 months ago) by sh002i
File size: 1449 byte(s)
added standard copyright/license header

    1 ################################################################################
    2 # WeBWorK Online Homework Delivery System
    3 # Copyright  2000-2007 The WeBWorK Project, http://openwebwork.sf.net/
    4 # $CVSHeader: webwork2/lib/WeBWorK.pm,v 1.100 2007/08/13 22:59:53 sh002i Exp $
    5 #
    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 =head1 NAME
   18 
   19 contextPeriodic.pl - [DEPRECATED] Features added to Real and Complex
   20 MathObjects classes.
   21 
   22 =head1 DESCRIPTION
   23 
   24 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   Context("Numeric");
   30   $a = Real("pi/2")->with(period=>pi);
   31   $a->cmp         # will match pi/2, 3pi/2 etc.
   32 
   33   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 
   37 =cut
   38 
   39 1;
   40 

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9