This repository was archived by the owner on Jan 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #30605: update polyhedral cone containment documentation.
This commit adds a few somewhat redundant tests to the _contains() method of the ConvexRationalPolyhedralCone class to ensure that it can be used on irrational and complex inputs. Many of these are indirectly tested by cone._ambient_space_point(), but the fact that cone containment uses that particular function is an implementation detail, so it's nice to see the containment properties tested directly. In the process, the _contains() method's docstring was reorganized, and a warning was added about using it to distinguish boundary points over inexact rings.
- Loading branch information
Showing
1 changed file
with
47 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters