Re: [sage-devel] Re: Closest Vector not in Lattice

2020-06-16 Thread Taylor Huang
there) > > On Mon, Jun 15, 2020 at 8:28 AM Taylor Huang > wrote: > > > > anyone here? > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > To unsubscribe from this group and stop re

[sage-devel] Re: Closest Vector not in Lattice

2020-06-15 Thread Taylor Huang
anyone here? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.goog

[sage-devel] Closest Vector not in Lattice

2020-06-08 Thread Taylor Huang
It seems to be a bug. As shown in the figure, the computed closest vector is not in the lattice. For copy-paste convenience, see the following. from sage.modules.free_module_integer import IntegerLattice L = Matrix(ZZ,[[20957228, -4966110],[ 9411844, 19625639]]) L = IntegerLattice(L) targ = Matrix

Re: [sage-devel] Quadratic Residual Bug?

2020-05-06 Thread Taylor Huang
it seems just because t2 is composite. Justin C. Walker於 2020年5月7日星期四 UTC+8上午4時34分22秒寫道: > > > > > On May 6, 2020, at 12:42 , Taylor Huang > wrote: > > > >

[sage-devel] Re: Quadratic Residual Bug?

2020-05-06 Thread Taylor Huang
the wikipedia article on Kronecker symbol > <https://en.wikipedia.org/wiki/Kronecker_symbol>. > > On Wednesday, May 6, 2020 at 1:37:12 PM UTC-6, Taylor Huang wrote: >> >> As the attachment shown. kronecker(-1,t2) returns 1, but >> mod(-1,t2).sqrt() says the squa

[sage-devel] Re: Quadratic Residual Bug?

2020-05-06 Thread Taylor Huang
for copying convenience, t2=130909372768301356681778282510862500974744695454635894969823296557102167802248279516425760724261243783327711946435277119464351117309193681 Taylor Huang於 2020年5月7日星期四 UTC+8上午3時37分12秒寫道: > > As the attachment shown. kronecker(-1,t2) returns 1, but mod(-1,t2

[sage-devel] Quadratic Residual Bug?

2020-05-06 Thread Taylor Huang
As the attachment shown. kronecker(-1,t2) returns 1, but mod(-1,t2).sqrt() says the square root cannot be done. It seems to be a bug. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it

Re: [sage-devel] database_kohel install failure

2020-03-03 Thread Taylor Huang
; Have you build Sage from scratch? > Or it's a binary install? > (in the latter case, installing external packages is far from perfect, and > would likely be a bug we need to fix) > > > > On Sun, 1 Mar 2020, 02:47 Taylor Huang, > wrote: > >> Hi, >> &g

[sage-devel] Cannot install database_kohel

2020-03-01 Thread Taylor Huang
Hi, So I was installing database_kohel via "sage -i database_kohel" and there's an error. My OS is Ubuntu 18.04 as a subsystem in Windows 10. The attachments are my config log and installation logs. Please help me :( Best, Taylor -- You received this message because you are subscribed to the

[sage-devel] database_kohel install failure

2020-03-01 Thread Taylor Huang
Hi, So I was trying to install database_kohel onto my Ubuntu 18.04 (64 bit) as a subsytem of windows 10. At the end, it says something like "ImportError: No module named uncompress.cmdline." My Sage version is 9.0 using Python 3.7.3. The attachments are my config log and installation log. Pleas