Log of /trunk/pg/macros/contextLimitedComplex.pl
Parent Directory
Revision
5551 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Oct 2 20:48:05 2007 UTC (12 years, 2 months ago) by
sh002i
File length: 9430 byte(s)
Diff to
previous 5441
improved formatting for docs -- these were in pod sections but were all
formatted as verbatim sections, and i moved them into normal paragraphs,
lists, etc. should make things more readable from the web.
Revision
5392 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 19 21:50:23 2007 UTC (12 years, 3 months ago) by
dpvc
File length: 9474 byte(s)
Diff to
previous 5373
Move the context creation to the _init routine so that modifications
to main:: occur at initialization time, not when the file is loaded.
Revision
5373 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sun Aug 19 02:01:57 2007 UTC (12 years, 3 months ago) by
dpvc
File length: 9250 byte(s)
Diff to
previous 5371
Normalized comments and headers to that they will format their POD
documentation properly. (I know that the POD processing was supposed
to strip off the initial #, but that doesn't seem to happen, so I've
added a space throughout.)
Revision
3602 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 7 01:06:13 2005 UTC (14 years, 3 months ago) by
dpvc
File length: 9207 byte(s)
Diff to
previous 2726
Added "strict" versions of the limited complex contexts that don't
allow operations within the real and imaginary parts. Also cleaned up
some of the code and fixed a few situations that had been missed
before.
Note that in strict mode, e^(pi i) is accepted, but e^(pi/2 i) is
not. Should that be changed? It would be possible to make a context
in which a*e^(b*pi/c i) is accepted.
Revision
2726 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Sat Sep 4 20:21:32 2004 UTC (15 years, 3 months ago) by
dpvc
File length: 8113 byte(s)
These files provide contexts for the Parser in which only limited
operations are allowed. The LimitedNumeric context is analogous to
strict_num_cmp(). The other contexts are similar, but for the
indicated type of answer. In the LimitedVector context, for example,
the student can enter vectors, and can perform numeric operations
within the coordinates of the vectors, but can't perform vector
operations like vector addition or cross product.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.