[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 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
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) - [select for diffs]
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
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
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, 4 months ago) by jj
File length: 42153 byte(s)
Diff to previous 1525
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, 5 months ago) by sh002i
File length: 42154 byte(s)
Diff to previous 1102
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
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
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
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
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)
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