Log of /branches/rel-2-1-patches/pg/macros/PGmorematrixmacros.pl
Parent Directory
Revision
3313 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 24 19:10:25 2005 UTC (7 years, 10 months ago) by
gage
File length: 36270 byte(s)
Diff to
previous 2980
Fixed conceptual error in compare_vec_solution. This should fix bug
#670. In my opinion the entire concept of vec_solution_cmp should be
reconsidered. In solving an underdetermined linear equation of the form
Ax-b=0 it seems to me that the solutions answer in the form:
x= a +bt+cu+ds where a,b,c,d are vectors should simply be evaluated
to see if it satisfies Ax-b=0 for 5 or six values of a,b,c,d --
checking the solution should use a
vector valued version of fun_cmp.
As it is, the student's coefficients for a,b,c,d are compared with the
instructors to see if they span the same space. This is quite a bit more
complicated -- and indeed the method came up with the wrong answer.
I believe I have the method corrected, but I would suggest that this
answer evaluator be replaced with one which operates more
directly and is therefore easier to maintain. Am I missing something in
this analysis? Has someone else created answer evaluators for this type
of problem?
-- Mike
Revision
1896 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 17 00:45:28 2004 UTC (9 years, 2 months ago) by
gage
Original Path:
trunk/pg/macros/PGmorematrixmacros.pl
File length: 28971 byte(s)
Diff to
previous 1534
Changed the naming of arrays from ArRaY[0,0,0] to ArRaY__0:0:0:__
This involved changes in PG.pl and PGmorematrixmacros (ans_array_filter)
Made other cosmetic fixes to code. Added names to many filters to help with
debugging. It seems to work for now.
Revision
1294 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 27 13:57:09 2003 UTC (9 years, 10 months ago) by
lr003k
Original Path:
trunk/pg/macros/PGmorematrixmacros.pl
File length: 25648 byte(s)
Diff to
previous 1278
Added a vec_solution_cmp. Used for problems where the answer
needs to be v1_s*v2+t*v3 where v1,v2,and v3 are vectors. v1 has
to be a linear combination of the professors answer where the
first one has a nonzero coefficient. The others are a basis, and
are compared with compare_basis.
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.