]> gitweb.michael.orlitzky.com - dunshire.git/commit
Switch the docs style of cones.py and update cartesian product containment.
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 10 Oct 2016 17:44:29 +0000 (13:44 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 10 Oct 2016 17:44:29 +0000 (13:44 -0400)
commit37474d15ac218b1651b116c3216d99ca3ac18823
treedabfa6613e5e3f67d1dc6066e20bb44d9e99504b
parentfa5b8f037ddca2c53a19186fac1aebf3d24aec3d
Switch the docs style of cones.py and update cartesian product containment.

The docs for cones.py have all been switched (roughly) to use the
numpy style. In the process, I noticed that cartesian product
containment was a lot weirder than it needs to be. The "point" that
the __contains__() and contains_strict() methods take is now a tuple
corresponding to the factors of the cartesian product.
src/dunshire/cones.py