Skip to content

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.

source

# 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.

source

# 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.

source

# fractional_ideal — Method.

fractional_ideal(O::NfOrd, I::NfAbsOrdIdl) -> NfOrdFracIdl

The fractional ideal of generated by a -basis of .

source

fractional_ideal(O::NfAbsOrd, I::NfAbsOrdIdl) -> NfAbsOrdFracIdl

Turns the ideal into a fractional ideal of .

source

# fractional_ideal — Method.

fractional_ideal(O::NfAbsOrd, I::NfAbsOrdIdl, b::fmpz) -> NfAbsOrdFracIdl

Creates the fractional ideal of .

source

# fractional_ideal — Method.

fractional_ideal(O::NfAbsOrd, a::nf_elem) -> NfAbsOrdFracIdl

Creates the principal fractional ideal of .

source

# fractional_ideal — Method.

fractional_ideal(O::NfAbsOrd, a::NfAbsOrdElem) -> NfAbsOrdFracIdl

Creates the principal fractional ideal of .

source

# inv — Method.

inv(A::NfAbsOrdIdl) -> NfOrdFracIdl

Computes the inverse of , that is, the fractional ideal such that .

source

Arithmetic

All the normal operations are provided as well.

# inv — Method.

inv(A::NfAbsOrdFracIdl) -> NfAbsOrdFracIdl

Returns the fractional ideal such that .

source

# integral_split — Method.

integral_split(A::NfAbsOrdFracIdl) -> NfAbsOrdIdl, NfAbsOrdIdl

Computes the unique coprime integral ideals and s.th.

source

# numerator — Method.

numerator(a::NfRelOrdFracIdl) -> NfRelOrdIdl

Returns the ideal where is the denominator of .

source

# denominator — Method.

denominator(a::NfRelOrdFracIdl) -> fmpz

Returns the smallest positive integer such that is contained in the order of .

source

Miscaellenous

# order — Method.

order(a::NfAbsOrdFracIdl) -> NfAbsOrd

The order that was used to define the ideal .

source

# basis_matrix — Method.

basis_matrix(I::NfAbsOrdFracIdl) -> FakeFmpqMat

Returns the basis matrix of with respect to the basis of the order.

source

# basis_mat_inv — Method.

basis_mat_inv(I::NfAbsOrdFracIdl) -> FakeFmpqMat

Returns the inverse of the basis matrix of .

source

basis_mat_inv(A::GenOrdIdl) -> FakeFracFldMat

Return the inverse of the basis matrix of .

source

# basis — Method.

basis(I::NfAbsOrdFracIdl) -> Vector{nf_elem}

Returns the -basis of .

source

# norm — Method.

norm(I::NfAbsOrdFracIdl) -> fmpq

Returns the norm of .

source

norm(a::NfRelOrdIdl) -> NfOrdIdl

Returns the norm of .

source

norm(a::NfRelOrdFracIdl{T, S}) -> S

Returns the norm of .

source

norm(a::AlgAssAbsOrdIdl, O::AlgAssAbsOrd; copy::Bool = true) -> fmpq

Returns the norm of considered as an (possibly fractional) ideal of .

source

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 .

source