Fractional ideals
A fractional ideal in the number field is a -module such that there exists an integer wich is an (integral) ideal in . Due to the Dedekind property of , the ideals for a multiplicative group.
Fractional ideals are represented as an integral ideal and an additional denominator. They are of type NfOrdFracIdl.
Creation
#
fractional_ideal — Method.
fractional_ideal(O::NfAbsOrd, A::fmpz_mat, b::fmpz, A_in_hnf::Bool = false) -> NfAbsOrdFracIdl
Creates the fractional ideal of with basis matrix . If A_in_hnf is set, then it is assumed that is already in lower left HNF.
#
fractional_ideal — Method.
fractional_ideal(O::NfAbsOrd, A::fmpz_mat, b::fmpz, A_in_hnf::Bool = false) -> NfAbsOrdFracIdl
Creates the fractional ideal of with basis matrix . If A_in_hnf is set, then it is assumed that is already in lower left HNF.
#
fractional_ideal — Method.
fractional_ideal(O::NfAbsOrd, A::FakeFmpqMat, A_in_hnf::Bool = false) -> NfAbsOrdFracIdl
Creates the fractional ideal of with basis matrix . If A_in_hnf is set, then it is assumed that the numerator of is already in lower left HNF.
#
fractional_ideal — Method.
fractional_ideal(O::NfOrd, I::NfAbsOrdIdl) -> NfOrdFracIdl
The fractional ideal of generated by a -basis of .
fractional_ideal(O::NfAbsOrd, I::NfAbsOrdIdl) -> NfAbsOrdFracIdl
Turns the ideal into a fractional ideal of .
#
fractional_ideal — Method.
fractional_ideal(O::NfAbsOrd, I::NfAbsOrdIdl, b::fmpz) -> NfAbsOrdFracIdl
Creates the fractional ideal of .
#
fractional_ideal — Method.
fractional_ideal(O::NfAbsOrd, a::nf_elem) -> NfAbsOrdFracIdl
Creates the principal fractional ideal of .
#
fractional_ideal — Method.
fractional_ideal(O::NfAbsOrd, a::NfAbsOrdElem) -> NfAbsOrdFracIdl
Creates the principal fractional ideal of .
#
inv — Method.
inv(A::NfAbsOrdIdl) -> NfOrdFracIdl
Computes the inverse of , that is, the fractional ideal such that .
Arithmetic
All the normal operations are provided as well.
#
inv — Method.
inv(A::NfAbsOrdFracIdl) -> NfAbsOrdFracIdl
Returns the fractional ideal such that .
#
integral_split — Method.
integral_split(A::NfAbsOrdFracIdl) -> NfAbsOrdIdl, NfAbsOrdIdl
Computes the unique coprime integral ideals and s.th.
#
numerator — Method.
numerator(a::NfRelOrdFracIdl) -> NfRelOrdIdl
Returns the ideal where is the denominator of .
#
denominator — Method.
denominator(a::NfRelOrdFracIdl) -> fmpz
Returns the smallest positive integer such that is contained in the order of .
Miscaellenous
#
order — Method.
order(a::NfAbsOrdFracIdl) -> NfAbsOrd
The order that was used to define the ideal .
#
basis_matrix — Method.
basis_matrix(I::NfAbsOrdFracIdl) -> FakeFmpqMat
Returns the basis matrix of with respect to the basis of the order.
#
basis_mat_inv — Method.
basis_mat_inv(I::NfAbsOrdFracIdl) -> FakeFmpqMat
Returns the inverse of the basis matrix of .
basis_mat_inv(A::GenOrdIdl) -> FakeFracFldMat
Return the inverse of the basis matrix of .
#
basis — Method.
basis(I::NfAbsOrdFracIdl) -> Vector{nf_elem}
Returns the -basis of .
#
norm — Method.
norm(I::NfAbsOrdFracIdl) -> fmpq
Returns the norm of .
norm(a::NfRelOrdIdl) -> NfOrdIdl
Returns the norm of .
norm(a::NfRelOrdFracIdl{T, S}) -> S
Returns the norm of .
norm(a::AlgAssAbsOrdIdl, O::AlgAssAbsOrd; copy::Bool = true) -> fmpq
Returns the norm of considered as an (possibly fractional) ideal of .
norm(a::AlgAssRelOrdIdl{S, T, U}, O::AlgAssRelOrd{S, T, U}; copy::Bool = true)
where { S, T, U } -> T
Returns the norm of considered as an (possibly fractional) ideal of .