Ideals of orders of quadratic fields inherit from ideals of orders of number fields (see Section Ideals and Quotients for the list of general functions and operations available). However there is also a correspondence between quadratic ideals and binary quadratic forms (see Chapter BINARY QUADRATIC FORMS). The following functions make use of that correspondence.
The content of the ideal.
The conjugate of the ideal.
The discriminant of the quadratic form associated with I.
The quadratic form associated with I.
The quadratic ideal with associated quadratic form f.
The quadratic ideal with associated quadratic form which is a reduction of the quadratic form associated to I.