dual quadratic algebra