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

Log of /trunk/pg/macros/PGcomplexmacros.pl

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 6220 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 1 00:24:26 2010 UTC (9 years, 10 months ago) by dpvc
File length: 22718 byte(s)
Diff to previous 6219 , to selected 3601
Back out of accidental commit of complex macros

Revision 6219 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 1 00:21:45 2010 UTC (9 years, 10 months ago) by dpvc
File length: 27041 byte(s)
Diff to previous 6058 , to selected 3601
Provide a limited context in which rational functions can be specified

Revision 6058 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 25 23:28:44 2009 UTC (10 years, 7 months ago) by gage
File length: 22718 byte(s)
Diff to previous 4997 , to selected 3601
syncing pg HEAD with pg2.4.7 on 6/25/2009

Revision 4997 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 11 18:16:40 2007 UTC (12 years, 8 months ago) by gage
File length: 22717 byte(s)
Diff to previous 4762 , to selected 3601
Fixing docementation so that it can be read from the web.

Revision 4762 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 1 04:37:11 2007 UTC (13 years ago) by gage
File length: 22720 byte(s)
Diff to previous 4761 , to selected 3601
Removed scommented out code and
spiffed up the documentation.

--------------------------------------------------------------------

Revision 4761 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 31 16:17:48 2007 UTC (13 years ago) by gage
File length: 48232 byte(s)
Diff to previous 3601
Added code to multi_cmp which makes it easier to  debug.

We will probably want to get rid of this entirely in favor of List answers, but meantime
I'm documenting the problems.

Revision 3601 - (view) (download) (as text) (annotate) - [selected]
Modified Tue Sep 6 21:02:05 2005 UTC (14 years, 5 months ago) by dpvc
File length: 47896 byte(s)
Diff to previous 3319
Movified the copying of functions from Complex1:: into main:: to avoid
conflicts with the PGcommonFunctions.pl versions (these errors were
trapped, but still show up in the error log unnecessarily).

Also commented out some code that was not doing anything other than
producing error messages in the error log.  (It was left over from a
syntax check on the professor's answer, but the actual check was
removed, leaving a portion that tries to process the answer, but
usually fails (because things like "1+4i" need to be converted to
"1+4*i" before they can be used in PG_answer_eval, but that was not
being done).

Because of this, it is not possible currently to do cplx_cmp("1+4i"),
and instead you must to cplx_cmp(new Complex(1,4)).

To fix this, you would need to call check_syntax (and the other
filters that are called on the student's answer) before calling
PG_answer_eval.  Of course, you should only do this when the
professor's answer isn't already a Complex object.

I am going to work on a Legacy module like the ones for num_cmp and
fun_cmp to replace cplx_cmp, which should avoid these problems and
make the changes suggested above unnecessary.

Revision 3319 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 28 19:36:52 2005 UTC (14 years, 7 months ago) by gage
File length: 46738 byte(s)
Diff to previous 2986 , to selected 3601
Many changes to this file.  I've fixed multi_cmp which
will check a comma separated string of answers.

I have commented out many other routines which do not appear
to be in use.

Revision 2986 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 4 22:01:18 2004 UTC (15 years, 3 months ago) by apizer
File length: 42141 byte(s)
Diff to previous 2958 , to selected 3601
relative tolerence was not being used correctly. Fixed this.

Arnie

Revision 2958 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 24 14:36:35 2004 UTC (15 years, 3 months ago) by jj
File length: 42153 byte(s)
Diff to previous 1525 , to selected 3601
This seems to fix bug 713.  I don't see why one would want the line below
commented out.

Revision 1525 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 25 00:29:59 2003 UTC (16 years, 4 months ago) by sh002i
File length: 42154 byte(s)
Diff to previous 1102 , to selected 3601
removed unneeded #! lines

Revision 1102 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 10 16:23:47 2003 UTC (16 years, 8 months ago) by lr003k
File length: 42176 byte(s)
Diff to previous 1088 , to selected 3601
ok, I'm pretty sure that this one is the one we want. Unfortunately the other one was an old one, that cmpl_cmp4 was not used
anywhere and I had removed it later, and this one has multi_cmp. Sorry for all the confusion.

Revision 1088 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 9 21:05:11 2003 UTC (16 years, 8 months ago) by gage
File length: 48577 byte(s)
Diff to previous 1080 , to selected 3601
Commented out code  that is not used (I believe)

comp_cplx4 and cplx_cmp4

-- Mike

Revision 1080 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 9 17:49:36 2003 UTC (16 years, 8 months ago) by apizer
File length: 48173 byte(s)
Diff to previous 1072 , to selected 3601
remove unneccsary shebang lines

Arnie

Revision 1072 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 9 02:27:04 2003 UTC (16 years, 8 months ago) by gage
File length: 49642 byte(s)
Diff to previous 1050 , to selected 3601
The file PGcomplexmacros.pl is partially in sync with the version in
courseScripts.  I need advice on the latest versions of some of the
subroutines from Liam.
--Mike

Revision 1050 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Jun 6 21:39:42 2003 UTC (16 years, 8 months ago) by sh002i
File length: 49641 byte(s)
Diff to selected 3601
moved PG modules and macro files from webwork-modperl to pg
-sam

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9