Class NoPowerFinder

  • All Implemented Interfaces:
    PowerFinder

    public class NoPowerFinder
    extends Object
    implements PowerFinder
    Dummy implementation of PowerFinder that ignores powers.
    Author:
    Tilman Neumann
    • Constructor Detail

      • NoPowerFinder

        public NoPowerFinder()
    • Method Detail

      • addPowers

        public BaseArrays addPowers​(BigInteger kN,
                                    int[] primes,
                                    int[] tArray,
                                    byte[] logPArray,
                                    double[] pinvArrayD,
                                    long[] pinvArrayL,
                                    int primeBaseSize,
                                    SieveParams sieveParams)
        Description copied from interface: PowerFinder
        Find powers and add them to the prime base.
        Specified by:
        addPowers in interface PowerFinder
        sieveParams - basic sieve parameters
        Returns:
        BaseArrays containing powers