Ask Your Question

Prateek_123's profile - activity

2022-05-02 04:24:29 +0200 received badge  Notable Question (source)
2015-12-19 12:31:27 +0200 received badge  Popular Question (source)
2012-05-26 08:39:43 +0200 commented answer Defining Polynomial Basis and Generic Polynomials

This gives an excellent pointer to go about part (a) of the problem. Regarding the second part, if I use the predefined function var to instantiate variables as : var(varname, domain = Fieldname) and then try something like varname * field_generator, sage returns the following error : Unsupported operand parent(s) for '*': 'Symbolic Ring' and 'Multiivariate Quotient Polynomial Ring. Any pointers as to how to proceed with defining a polynomial would be helpful. Thanks.

2012-04-20 08:17:30 +0200 asked a question Defining Polynomial Basis and Generic Polynomials

Given a Extension Field , say GF(2*4) with modulus polynomial f(x), I would like to a) Define a polynomial basis [1,x,x^2,x^3] for its elements. b) Define a general polynomial as a0 + a1x + a2*x^2 +a^3. Currently for part (a) I am defining the basis as a tuple, but I have an inkling that it is the worst possible fix. Kindly suggest a better alternative and a solution for part (b).