I would like an answer to be a list of vectors where it is acceptable to rescale any vector in the list and I do not give away how many vectors there are in the list. Is this possible with math objects?
For example:
Context("Vector");
ANS(Compute("<1,2>,<3,4>")->cmp());
ANS(Compute("<1,2>,<3,4>")->cmp());
doesn't meet my need for rescaled vectors to be counted as correct. I have tried
Context("Vector");
ANS(Compute("<1,2>,<3,4>")->cmp(parallel=>1));
ANS(Compute("<1,2>,<3,4>")->cmp(parallel=>1));
But the parallel=>1 option does not seem to do anything with a list of vectors. (If the answer were a single vector, this option works as expected.)
I could use multiple answer blanks and either use parserMultiAnswer or unorderedAnswer, but the number of answer blanks gives away the number of vectors. (Also, with parserMultiAnswer I would really need to learn a lot more about how math objects work internally. And I have found unorderedAnswer to be buggy, sometimes counting answers correct in one order but not in others.)
But anyway, is there a way to pass options to individual checkers of the objects within a List?
(Related - I may be dreaming here, but is there anything like
ANS(Compute("<1,2,0>,<3,4,0>")->cmp(basis=>1));
#Counts as correct any set that is also a basis for Span(<1,2,0>,<3,4,0>)
ANS(Compute("<1,2,0>,<3,4,0>")->cmp(spanningSet=>1));
#Counts as correct any set that also spans Span(<1,2,0>,<3,4,0>)
?)#Counts as correct any set that is also a basis for Span(<1,2,0>,<3,4,0>)
ANS(Compute("<1,2,0>,<3,4,0>")->cmp(spanningSet=>1));
#Counts as correct any set that also spans Span(<1,2,0>,<3,4,0>)