# Revision history [back]

### Find sphere points in a lattice

Hello, say I have a lattice as in

Q = RootSystem('E8').weight_lattice()


with it's canonical bilinear form. How do I find the vectors $v$ such that $(v,v)=n$ for a positive integer $n$?

### Find sphere points in a lattice

Hello, say I have a lattice as in

Q = RootSystem('E8').weight_lattice()


with it's canonical bilinear form. How do I find the vectors $v$ such that $(v,v)=n$ for a positive integer $n$?$n$?

Edit: it would be even better if there's a way to get the points inside a cone, say the principal chamber in the above example.