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$?

1 | initial version |

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$?

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.

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.