sage: P = schur_cone(5)
sage: Q = nonnegative_orthant(5)
- sage: G = [ g.change_ring(QQbar).normalized() for g in P ]
- sage: H = [ h.change_ring(QQbar).normalized() for h in Q ]
- sage: actual = max([arccos(u.inner_product(v)) for u in G for v in H])
+ sage: G = ( g.change_ring(QQbar).normalized() for g in P )
+ sage: H = ( h.change_ring(QQbar).normalized() for h in Q )
+ sage: actual = max(arccos(u.inner_product(v)) for u in G for v in H)
sage: expected = 3*pi/4
sage: abs(actual - expected).n() < 1e-12
True