Skip to content

Commit

Permalink
nix depth variable, it can simply be inferred by recursing until it
Browse files Browse the repository at this point in the history
reaches the root node
  • Loading branch information
crowlogic committed Jan 28, 2024
1 parent 24456ef commit 15aebba
Show file tree
Hide file tree
Showing 17 changed files with 145 additions and 164 deletions.
8 changes: 8 additions & 0 deletions src/main/java/arb/arblib.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ public static void fmpz_fac_ui(long f, long n) {
arblibJNI.fmpz_fac_ui(f, n);
}

public static void fmpz_rfac_ui(long numRows, long x, long k) {
arblibJNI.fmpz_rfac_ui(numRows, x, k);
}

public static void fmpz_rfac_uiui(long numRows, long x, long k) {
arblibJNI.fmpz_rfac_uiui(numRows, x, k);
}

public static void fmpz_mul(long f, long g, long h) {
arblibJNI.fmpz_mul(f, g, h);
}
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/arb/arblibJNI.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ public class arblibJNI {
public final static native void arb_mul_fmpz(long jarg1, Real jarg1_, long jarg2, Real jarg2_, long jarg3, int jarg4);
public final static native void arb_sub_fmpz(long jarg1, Real jarg1_, long jarg2, Real jarg2_, long jarg3, int jarg4);
public final static native void fmpz_fac_ui(long jarg1, long jarg2);
public final static native void fmpz_rfac_ui(long jarg1, long jarg2, long jarg3);
public final static native void fmpz_rfac_uiui(long jarg1, long jarg2, long jarg3);
public final static native void fmpz_mul(long jarg1, long jarg2, long jarg3);
public final static native void fmpz_divexact(long jarg1, long jarg2, long jarg3);
public final static native void fmpz_add(long jarg1, long jarg2, long jarg3);
Expand Down
Loading

0 comments on commit 15aebba

Please sign in to comment.