openwebwork/pg — pull request #30 by aubreyja (2013-06-20 23:23:56+00:00)
Title: Added AskSage() subroutine...

.. to ask SAGE to do computations during problem.authoring. For example, you could use it to do this:
```
Context("Matrix");
$python=<texStrings;
BEGIN_TEXT

Row reduce \( $M \) $BR
\{ $ans->ans_array\}
END_TEXT
Context()->normalStrings;
ANS($ans->cmp());

```