An algebraic number is a number that is a root of a non-zero polynomial in one variable with rational coefficients
Questions tagged [algebraic-number]
4 questions
14
votes
1 answer
Keras custom loss implementation : ValueError: An operation has `None` for gradient
I'm trying to implement this loss function : MCFD_loss_function
from this document (P6) : Loss functions
So I created a new function like this :
def mcfd_loss(y_true, y_pred):
return K.sum( # ∑
K.cast(
K.greater( # only…

bastien enjalbert
- 337
- 1
- 3
- 18
0
votes
0 answers
Set of algebraic integers in $\mathbb{Z}[\zeta_n]$
How to calculate the set of algebraic integers in $\mathbb{Z}[\zeta_n]$ for any positive integer n, where $\zeta_n$ is the n’th root of unity.
I will be very happy if someone give me the answer. Thanks in advance.
I tried using basis….but I am…
0
votes
1 answer
Computations on algebraic numbers
I'd like to do exact computations on regular polygons. To do so, I wrote the code you find below. But the expression cos*cos will not compile. Apparently multiplication is not defined for the algebraic number type I'm using. I guess I'll have to try…

MvG
- 57,380
- 22
- 148
- 276
-1
votes
1 answer
Calculate the first cohomoly group of a sheaf of quotients in Macaulay2
I want to calculate the cohomology of the sheaf Q in the exact sequence on $\mathbb P^3$:
0\rightarrow\mathcal O(-1)\rightarrow \mathcal O^{\oplus 4}\rightarrow Q\rightarrow 0
To do it, I want to calculate the cohomology of Q, using Macaulay2.
I…

Protágoras
- 1
- 2