Re: [sage-support] Sagemath 9.5 kernel crash from GF(2) empty vector dot product

2022-05-05 Thread 'Justin C. Walker' via sage-support
> On May 5, 2022, at 21:04 , Tracy Hall wrote: > > The following two lines crash the kernel in 9.5 but not 9.4: > > xx = vector(GF(2), []) > xx * xx > > It works correctly (with answer 0) over other finite fields or over QQ. > > Installation is Sagemath 9.5 in Ubuntu running under WSL for

[sage-support] Sagemath 9.5 kernel crash from GF(2) empty vector dot product

2022-05-05 Thread Tracy Hall
The following two lines crash the kernel in 9.5 but not 9.4: xx = vector(GF(2), []) xx * xx It works correctly (with answer 0) over other finite fields or over QQ. Installation is Sagemath 9.5 in Ubuntu running under WSL for Windows; tested also in CoCalc Sagemath 9.5 (where it crashes) and

[sage-support] Re: Need help with symbolic polynomials,

2022-05-05 Thread Nils Bruin
On Thursday, 5 May 2022 at 02:03:30 UTC-7 Ha wrote: > For Example: I tried this: > > f(X[1] = 1, X[2] = 5) > > and got this error: > > File "", line 10 f(X[Integer(1)] = > Integer(1), X[Integer(2)] = Integer(5)) > ^ SyntaxError: keyword can't be an expression > > Indeed, that does not work.

[sage-support] Re: Need help with symbolic polynomials,

2022-05-05 Thread Ha
Thanks for your reply Bruin. I hope the following code clarifies what I am looking for: ##- # n=10 F = GF(7) Rx=PolynomialRing(F,n,'x') X=Rx.gens() f=