Previous Up Next

15.6.2  Transforming a matrix into a quadratic form

The a2q command finds the quadratic form corresponding to a symmetric matrix.

Examples

a2q([[0,1],[1,0]],[x,y])
     
x y           
a2q([[1,2],[2,4]],[x,y])
     
x2+4 x y+4 y2           

Previous Up Next