Skip to content

Commit

Permalink
N(t)=1+(-((lnΓ(1/4 + t*I/2) - lnΓ(1/4 - t*I/2))*I)/2 - ln(π)*t/2)/π + 1
Browse files Browse the repository at this point in the history
- I*((ln(ζ(1/2 + I*t)) - ln(ζ(1/2 - I*t))))/(2*π)
  • Loading branch information
crowlogic committed Sep 15, 2024
1 parent 116fcf1 commit b2cc799
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions native/Complex.i
Original file line number Diff line number Diff line change
Expand Up @@ -1180,8 +1180,8 @@ import arb.space.topological.EuclideanVectorSpace;
{
sb.append("]");
}
return sb.toString();
}
return ( name == null ? "" : name + "=" ) + sb.toString();
}

public int dim = 1;

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/arb/Complex.java
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ public String toString()
{
sb.append("]");
}
return sb.toString();
return ( name == null ? "" : name + "=" ) + sb.toString();
}

public int dim = 1;
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/arb/expressions/viz/ExpressionAnalyzerTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import java.util.Arrays;
import java.util.HashMap;

import arb.Complex;
import arb.Integer;
import arb.Named;
import arb.Real;
Expand Down Expand Up @@ -61,7 +62,7 @@ public ExpressionAnalyzerTab(ExpressionAnalyzer<D, C, F> expressionAnalyzer)
{
super(10);
this.expressionAnalyzer = expressionAnalyzer;
this.context = new Context(Integer.named("input").set(3),
this.context = new Context(Complex.named("input").set(3),
Real.named("v").set(RealConstants.half));

setupExpressionInput();
Expand All @@ -80,7 +81,7 @@ public void setupExpressionInput()
{
expressionInput = new TextField();
expressionInput.setPromptText("Enter expression here");
expressionInput.setText("(0-((lnΓ(1/4 + t*I/2) - lnΓ(1/4 - t*I/2))*I)/2 - ln(π)*t/2)/π + 1 - I*((ln(ζ(1/2 + I*t)) - ln(ζ(1/2 - I*t))))/(2*π)");
expressionInput.setText("1+(-((lnΓ(1/4 + t*I/2) - lnΓ(1/4 - t*I/2))*I)/2 - ln(π)*t/2)/π + 1 - I*((ln(ζ(1/2 + I*t)) - ln(ζ(1/2 - I*t))))/(2*π)");

expressionInput.setMaxWidth(1200);
expressionInput.setOnKeyPressed(event ->
Expand Down

0 comments on commit b2cc799

Please sign in to comment.