Skip to content

Commit

Permalink
Avoiding LSeries
Browse files Browse the repository at this point in the history
  • Loading branch information
BenKBreen committed Dec 13, 2023
1 parent c1c6b02 commit c44ba7b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ModFrmHilD/Creation/DedekindZetaExact.m
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,13 @@ intrinsic ExtensionToHeckeCharacter(E)-> Any
return h;
end intrinsic;

intrinsic myEval(K, z, Relative)-> Any
{}

function myEval(K, z, Relative)
if IsOdd(z) then
k:= 1-z;
if Type(K) eq FldRat then
return BernoulliNumber(k)/-k;
elif Type(K) eq FldQuad then
elif Degree(K) eq 2 then
d:= Discriminant(Integers(K));
if d gt 1 then
return BernoulliNumber(k) * BernoulliNumber(k, KroneckerCharacter(d, Rationals())) / k^2;
Expand All @@ -188,6 +188,7 @@ elif Type(K) eq FldQuad then
// K:= OptimizedRepresentation(AbsoluteField(K));
// L:= LSeries(K : Method:= Degree(F) ge 5 select "Direct" else "Default") / LSeries(F);
else
print "ben";
L:= LSeries(K);
end if;

Expand All @@ -208,7 +209,7 @@ elif Type(K) eq FldQuad then
// assert Abs(Real(Evaluate(LSeries(H), z)) - X) le 10^-10;
// end if;
return X;
end intrinsic;
end function;


intrinsic DedekindZetaExact(K::FldNum, z::RngIntElt : Relative := false) -> Any
Expand Down

0 comments on commit c44ba7b

Please sign in to comment.