Under the Sagemath cloud and Windows, I always get [ 1 3 3 1] [ 1 1 -1 -1] [ 1 -1 -1 1] [ 1 -3 3 -1]
Under the linux version, I sometimes get [ 1 3 3 1] [ 1 0 -3 -1] [ 1 -3 3 1] [ 1 -3 3 -5] I found that when I paste the following command q = 2 r = 2 s = 2 n = s*(r+1) d = 3 P = matrix(ZZ, r+2, r+2, lambda u, k: Krawtchouk(r+1, q, k, u)) into sage command line, I will get [ 1 3 3 1] [ 1 1 -1 -1] [ 1 -1 -1 1] [ 1 -3 3 -1] When I load these command from a file "***.py", I will get [ 1 3 3 1] [ 1 0 -3 -1] [ 1 -3 3 1] [ 1 -3 3 -5] 在 2015年11月9日星期一 UTC+2上午7:34:59,[email protected]写道: > > On Sun, 8 Nov 2015, Sihuang Hu wrote: > > > I just used the following commands to construct an matrix: > > > > q = 2 > > r = 2 > > s = 2 > > n = s*(r+1) > > d = 3 > > P = matrix(ZZ, r+2, r+2, lambda u, k: Krawtchouk(r+1, q, k, u)) > > > > But sage gives me two different results at different times: > > I was not able to reproduce the error. I tried in two system, about > 500,000 tests together. If there is a real heisenbug, it must depend on > architechture etc. So Linux or Mac, what processor...? > > -- > Jori Mäntysalo > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
