a2q takes two arguments: the symmetric matrix A of a quadratic form q and a vector of variable names of the same size. a2q returns the symbolic expression of the quadratic form q. Input:
Output:
Input:
^