Processing math: 100%

First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Compute intersection of cone with lattice?

Hi, new to the community!

My question: Consider a a full dimension cone and a full rank lattice in Rd (so the cone and lattice each have d generators, with potentially non-integer coordinates). Does Sage have functions to compute their intersection?

For me, a cone C with generators v1,,vd is the set of all combinations icivi with ciR>0.

Meanwhile, a lattice L with generators v1,,vd is the set of all combinations inivi with niZ.

I am currently constructing my cones with the "convex rational polyhedral cones" module. And I couldn't find a class for a lattice with non-integer coordinates (I only found the "Integral lattices" module). When d=2, I might write

cone_generators = [[1.1, 2.3], [3, 0.2]]
cone = Cone(cone_generators)
lattice_generators = [[1, 0], [0.2, 0.3]]
lattice = ??
# goal: compute intersection between cone and lattice (modulo positive translates of the cone generators)

Context of question, in case helpful: The problem arises from algebraic number theory. I am regarding (fractional) ideals in number fields as lattices via the embeddings of the number field. See Conrad's "The Different Ideal" for some pictures/examples -- pdf available online, my karma is insufficient to include a link.

I'd like to determine the intersection between those lattices and various cones.

Compute intersection of cone with lattice?

Hi, new to the community!

My question: Consider a a full dimension cone and a full rank lattice in Rd (so the cone and lattice each have d generators, with potentially non-integer coordinates). Does Sage have functions to compute their intersection?

For me, a cone C with generators v1,,vd is the set of all combinations icivi with ciR>0.

Meanwhile, a lattice L with generators v1,,vd is the set of all combinations inivi with niZ.

I am currently constructing my cones with the "convex rational polyhedral cones" module. And I couldn't find a class for a lattice with non-integer coordinates (I only found the "Integral lattices" module). When d=2, I might write

cone_generators = [[1.1, 2.3], [3, 0.2]]
cone = Cone(cone_generators)
lattice_generators = [[1, 0], [0.2, 0.3]]
lattice = ??
# goal: compute intersection between cone and lattice = ?? (modulo positive translates of the cone generators)

Context of question, in case helpful: The problem arises from algebraic number theory. I am regarding (fractional) ideals in number fields as lattices via the embeddings of the number field. See Conrad's "The Different Ideal" for some pictures/examples -- pdf available online, my karma is insufficient to include a link.

I'd like to determine the intersection between those lattices and various cones. cones.

Compute intersection of cone with lattice?

Hi, new to the community!

My question: Consider a a full dimension cone and a full rank lattice in Rd (so the cone and lattice each have d generators, with potentially non-integer coordinates). Does Sage have functions to compute their intersection?

For me, a cone C with generators v1,,vd is the set of all combinations icivi with ciR>0.

Meanwhile, a lattice L with generators v1,,vd is the set of all combinations inivi with niZ.

I am currently constructing my cones with the "convex rational polyhedral cones" module. And I couldn't find a class for a lattice with non-integer coordinates (I only found the "Integral lattices" module). When d=2, I might write

cone_generators = [[1.1, 2.3], [3, 0.2]]
cone = Cone(cone_generators)
Cone(cone_generators).interior()
lattice_generators = [[1, 0], [0.2, 0.3]]
lattice = ??
intersection = ?? (modulo positive translates of the cone generators)

Context of question, in case helpful: The problem arises from algebraic number theory. I am regarding (fractional) ideals in number fields as lattices via the embeddings of the number field. See Conrad's "The Different Ideal" for some pictures/examples -- pdf available online, my karma is insufficient to include a link.

I'd like to determine the intersection between those lattices and various cones.

Compute intersection of cone with lattice?

Hi, new to the community!

My question: Consider a a full dimension cone and a full rank lattice in Rd (so the cone and lattice each have d generators, with potentially non-integer coordinates). Does Sage have functions to compute their intersection?

For me, a cone C with generators v1,,vd is the set of all combinations icivi with ciR>0.

Meanwhile, a lattice L with generators v1,,vd is the set of all combinations inivi with niZ.

I want the intersection of C and L (modulo positive translates of the cone generators). As such, it might suffice to compute the intersection between a "fundamental parallelpiped" for C and the lattice L... Perhaps with a condition on the relationship between the generators of C and L?

I am currently constructing my cones with the "convex rational polyhedral cones" module. And I couldn't find a class for a lattice with non-integer coordinates (I only found the "Integral lattices" module). When d=2, I might write

cone_generators = [[1.1, 2.3], [3, 0.2]]
cone = Cone(cone_generators).interior()
lattice_generators = [[1, 0], [0.2, 0.3]]
lattice = ??
intersection = ?? (modulo positive translates of the cone generators)

Context of question, in case helpful: The problem arises from algebraic number theory. I am regarding (fractional) ideals in number fields as lattices via the embeddings of the number field. See Conrad's "The Different Ideal" for some pictures/examples -- pdf available online, my karma is insufficient to include a link.

I'd like to determine the intersection between those lattices and various cones.

Compute intersection of cone with lattice?

Hi, new to the community!

My question: Consider a a full dimension cone and a full rank lattice in Rd (so the cone and lattice each have d generators, with potentially non-integer coordinates). Does Sage have functions to compute their intersection?

For me, a cone C with generators v1,,vd is the set of all combinations icivi with ciR>0.

Meanwhile, a lattice L with generators v1,,vd is the set of all combinations inivi with niZ.

I want the intersection of C and L (modulo positive translates of the cone generators). As such, it might suffice to compute the intersection between a "fundamental parallelpiped" for C and the lattice L... Perhaps with a condition on the relationship between the generators of C and L?

I am currently constructing my cones with the "convex rational polyhedral cones" module. And I couldn't find a class for a lattice with non-integer coordinates (I only found the "Integral lattices" module). When d=2, I might write

cone_generators = [[1.1, 2.3], [3, 0.2]]
cone = Cone(cone_generators).interior()
lattice_generators = [[1, 0], [0.2, 0.3]]
lattice = ??
intersection = ?? (modulo positive translates of the cone generators)

Context of question, in case helpful: The problem arises from algebraic number theory. I am regarding (fractional) ideals in number fields as lattices via the embeddings of the number field. See Conrad's "The Different Ideal" for some pictures/examples -- pdf available online, my karma is insufficient to include a link.

I'd like to determine the intersection between those lattices and various cones.

Compute intersection of cone with lattice?

My question: Consider a full dimension cone and a full rank lattice in Rd (so the cone and lattice each have d generators, with potentially non-integer coordinates). Does Sage have functions to compute their intersection?

For me, a cone C with generators v1,,vd is the set of all combinations icivi with ciR>0.

Meanwhile, a lattice L with generators v1,,vd is the set of all combinations inivi with niZ.

I want the intersection of C and L (modulo positive translates of the cone generators). As such, it might suffice to compute the intersection between a "fundamental parallelpiped" for C and the lattice L... Perhaps with a condition on the relationship between the generators of C and L?

I am currently constructing my cones with the "convex rational polyhedral cones" module. And I couldn't find a class for a lattice with non-integer coordinates (I only found the "Integral lattices" module). When d=2, I might write

cone_generators = [[1.1, 2.3], [3, 0.2]]
cone = Cone(cone_generators).interior()
lattice_generators = [[1, 0], [0.2, 0.3]]
lattice = ??
intersection = ?? (modulo positive translates of the cone generators)

Context of question, in case helpful: The problem arises from algebraic number theory. I am regarding (fractional) ideals in number fields as lattices via the embeddings of the number field. See Conrad's "The Different Ideal" for some pictures/examples -- pdf available online, my karma is insufficient to include a link.

I'd like to determine the intersection between those lattices and various cones.