Symmetric linear transformations and complex quadratic forms