On 2012-01-23 20:01, Volker Braun wrote: > ? mathnf(m~,flag=4)[1] > %2 = > [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0] > [0 0 0 0 0 0 1 0 0 0 0 0 0 0 0] > [0 0 0 0 0 0 0 1 0 0 0 0 0 0 0] > [0 0 0 0 0 0 0 0 1 0 0 0 0 0 0] > [0 0 0 0 0 0 0 0 0 1 0 0 0 0 0] > [0 0 0 0 0 0 0 0 0 0 1 0 0 0 0] > [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0] > [0 0 0 0 0 0 0 0 0 0 0 0 1 0 0] > [0 0 0 0 0 0 0 0 0 0 0 0 0 1 0] > [0 0 0 0 0 0 0 0 0 0 0 0 0 0 1]
I reported this upstream. And by the way: GP doesn't support the named keyword "flag=4" syntax. It works here because it behaves like in C: it assigns 4 to the variable "flag" and then uses that to call mathnf(). -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org