Axel Kramer
Axel Kramer
From your k-Permutations example: This will print six 2-permutations of (1, 2, 3): ``` [1, 2] [2, 1] [1, 3] [3, 1] [2, 3] [3, 2] ``` How can I...
What is the best way to determine "the rest of the sequence" generated with the `subset()` method? For example to get exactly `3` partitions out of `5` elements and filling...
Here are some `Surd` rules which could be added to the Rubi package: ```mma Int[Surd[x_ ,n_Integer]^p_., x_Symbol] := (n*x*Surd[x, n]^p)/(n + p) /; FreeQ[p, x] && GtQ[n, 0] Int[(x_^m_)*Surd[x_ ,n_Integer]^p_.,...
https://github.com/dwdyer/uncommons-maths/blob/b7ba13aea70625bb7f37c856783a29e17e354964/core/src/java/main/org/uncommons/maths/binary/BinaryUtils.java#L131 SpotBug complaints: Byte values are sign extended to 32 bits before any bitwise operations are performed on the value. Thus, if b[0] contains the value 0xff, and x is...
In `BinomialGenerator` - how can I set a new value to the private field `p`? Should `BitString pBits` and `lastP` be defined `static` as long as `p` doesn't change? Which...
errorprone version 2.15.0 For binary logical operations with multiple decrements on an array index like this ```java if (((sieveArray[x--] | sieveArray[x--] | sieveArray[x--] | sieveArray[x--]) & 0x80) != 0) {...
Suppose you would like to analyze the combinations only until you have found a "match" and then stop the iteration. Wouldn't it be better to use the Visitor pattern for...
In CombinatoricsVector ``` java public CombinatoricsVector(int index, Collection
I think these comparisons are misleading if you take a first look: https://github.com/jtablesaw/tablesaw/blob/8dd3ea42fe6f592b015d6ed8717c0906ed582f73/core/src/main/java/tech/tablesaw/columns/numbers/NumberPredicates.java#L66 and https://github.com/jtablesaw/tablesaw/blob/8dd3ea42fe6f592b015d6ed8717c0906ed582f73/core/src/main/java/tech/tablesaw/columns/numbers/NumberPredicates.java#L68 Can it be replaced by: ```java DoublePredicate isMissing = i -> Double.isNaN(i); DoublePredicate isNotMissing =...
This line https://github.com/jtablesaw/tablesaw/blob/6d1ed6a377e3693c81d61371bf0aced47977fb0b/jsplot/src/main/java/tech/tablesaw/plotly/components/Annotation.java#L251 should probably be: ``` if (borderwidth != DEFAULT_BORDERWIDTH) ```