Class SolutionArrays


  • public class SolutionArrays
    extends BaseArrays
    Passive data structure bundling primes/powers and their smallest x-solutions. Having a structure with several arrays of the same size is faster than having an array of a structure, because the former permits to exploit AVX/SSE mechanisms in Java 8.
    Author:
    Tilman Neumann
    • Field Detail

      • x1Array

        public int[] x1Array
      • x2Array

        public int[] x2Array
    • Constructor Detail

      • SolutionArrays

        public SolutionArrays​(int solutionsCount,
                              int qCount)
        Full constructor, allocates all arrays.
        Parameters:
        solutionsCount -
        qCount -