]>
gitweb.michael.orlitzky.com - sage.d.git/blob - mjo/cone/schur.py
2 The Schur cone, as described in the "Critical angles..." papers by
9 newP
= Cone([ list(p
) for p
in P
])
10 newQ
= Cone([ list(q
) for q
in Q
])
11 return newP
.intersection(-newQ
).is_trivial()
21 angles
.append(arccos(p
.inner_product(q
)))
27 Return the Schur cone in ``n`` dimensions.
31 - ``n`` -- the ambient dimension of the Schur cone and its ambient space.
35 A rational closed convex Schur cone of dimension ``n``.
43 hs
.append(vector(QQ
,n
,h_i
))