Hi Alex,
The best/easiest way is probably to use the max_slope option for Partitions:
sage: Partitions(16,max_slope=-1)[:]
[[16], [15, 1], [14, 2], [13, 3], [13, 2, 1], [12, 4], [12, 3, 1], [11, 5],
[11, 4, 1], [11, 3, 2], [10, 6], [10, 5, 1], [10, 4, 2], [10, 3, 2, 1], [9,
7], [9, 6, 1], [9,
Oops, sorry I didn't see your length requirement:
sage: Partitions(16,max_slope=-1, length=4)[:]
[[10, 3, 2, 1], [9, 4, 2, 1], [8, 5, 2, 1], [8, 4, 3, 1], [7, 6, 2, 1], [7,
5, 3, 1], [7, 4, 3, 2], [6, 5, 4, 1], [6, 5, 3, 2]]
sage: Partitions(10,max_slope=-1, length=3)[:]
[[7, 2, 1], [6, 3, 1],
This is the following issue:
http://docs.mathjax.org/en/v1.1-latest/installation.html#firefox-and-local-fonts
I do have stix fonts installed in the OS (Fedora 18) and equations render
fine. If I uninstall stix-fonts then I get the [Math Processing Error].
Apparently they are only included from
On 2012-12-14, Volker Braun vbraun.n...@gmail.com wrote:
--=_Part_97_13415008.1355485587298
Content-Type: text/plain; charset=ISO-8859-1
This is the following issue:
http://docs.mathjax.org/en/v1.1-latest/installation.html#firefox-and-local-fonts
I do have stix fonts installed in the
Yes, cool! This works! Thanks so much,
Anne
On 12/14/12 3:46 AM, Volker Braun wrote:
This is the following issue:
http://docs.mathjax.org/en/v1.1-latest/installation.html#firefox-and-local-fonts
I do have stix fonts installed in the OS (Fedora 18) and equations render
fine. If I
Hi Andrew,
On Tue, Dec 11, 2012 at 01:31:28AM -0800, Andrew Mathas wrote:
AH, I guess that reverse lexicographic is ambiguous as it could mean
either reading the words in the reverse order or simply reversing the
partial order.
FWIW, In commutative algebra, and about term
Hi Anne, Andrew,
Thanks for the hints. I hadn't noticed the magic incantation with
max_slope and length; that's the kind of thing I was looking for.
There seems to be quite a bit of overhead involved. Here are some
timings, where mypartitions() is a naive implementation of an
algorithm due to
Hi Alex,
On Sat, Dec 15, 2012 at 09:04:40AM +1100, Alex Ghitza wrote:
Thanks for the hints. I hadn't noticed the magic incantation with
max_slope and length; that's the kind of thing I was looking for.
There seems to be quite a bit of overhead involved. Here are some
timings,
Hey Alexm
On Sat, Dec 15, 2012 at 09:04:40AM +1100, Alex Ghitza wrote:
Thanks for the hints. I hadn't noticed the magic incantation with
max_slope and length; that's the kind of thing I was looking for.
There seems to be quite a bit of overhead involved. Here are some
timings,