Ask Your Question

itecMemory's profile - activity

2023-11-07 09:26:41 +0200 edited question Factoring polynomial over finite field of char 2

Factoring polynomial over finite field of char 2 I'm trying to factor a polynomial in GF(2^128) using Sage. So I have a

2023-11-07 09:26:09 +0200 received badge  Editor (source)
2023-11-07 09:26:09 +0200 edited question Factoring polynomial over finite field of char 2

Factoring polynomial over finite field of char 2 I'm trying to factor a polynomial in GF(2^128) using Sage. So I have a

2023-11-07 09:25:31 +0200 asked a question Factoring polynomial over finite field of char 2

Factoring polynomial over finite field of char 2 I'm trying to factor a polynomial in GF(2^128) using Sage. So I have a

2022-01-26 08:42:14 +0200 marked best answer Simplify function numerically

When I have a function that is exact, such as:

x = var("x")
fnc = sqrt(2) * x
print(fnc)

And I want to resolve/approximate all those parts of the function which can be resolved numerically, how can I do this?

fnc.n()

does not work because it throws a TypeError, similarly does

float(fnc)

I've also tried all .simplify() variants, but neither do what I want. I simply want the output to be:

print(magic_function(fnc))
1.4142 * x

How can this be done?

2022-01-26 08:42:13 +0200 received badge  Scholar (source)
2022-01-26 08:42:13 +0200 received badge  Supporter (source)
2022-01-23 19:40:26 +0200 asked a question Symbolically evaluate abstract cryptographic operations

Symbolically evaluate abstract cryptographic operations I would like to use simple variable substitution to show some ba

2022-01-16 22:00:45 +0200 received badge  Notable Question (source)
2022-01-09 00:40:52 +0200 received badge  Popular Question (source)
2022-01-08 17:56:41 +0200 received badge  Good Question (source)
2022-01-08 09:20:26 +0200 received badge  Nice Question (source)
2022-01-07 12:20:59 +0200 commented question Simplify function numerically

It does indeed! I was using an ancient 2017 version of Sagemath. Once I upgraded to 9.2, it worked like advertised. Than

2022-01-07 12:14:26 +0200 commented question Simplify function numerically

It does indeed! I was using an ancient 2017 version of Sagemath. Once I upgraded to 9.2, it worked like advertised. Than

2022-01-05 09:12:09 +0200 commented question Simplify function numerically

Thanks for the answer, but this doesn't work. The ExpressionTreeWalker walks coefficients/factors (e.g., the "2" in this

2022-01-04 10:15:31 +0200 received badge  Student (source)
2022-01-04 10:12:31 +0200 asked a question Simplify function numerically

Simplify function numerically When I have a function that is exact, such as: x = var("x") fnc = sqrt(2) * x print(fnc)