Class IndexArgs

    • Constructor Detail

      • IndexArgs

        public IndexArgs()
    • Method Detail

      • hasWildcard

        public boolean hasWildcard()
        Does one of the index args have a wildcard?
        Returns:
      • isAllWildcards

        public boolean isAllWildcards()
        If one (except the zero-th element, which is the actual stem) is all wildcards.
        Returns:
      • count

        public int count()
        Only works if there are no wildcards! This counts the number of indices that will be computed.
        Returns:
      • argSize

        public int argSize​(IndexArg indexArg)
      • createSourceIndices

        public ArrayList<IndexList> createSourceIndices()
         indexArgs are [a1,a2,a3,a4,a5,...,ak] with sizes [n1,n2,n3,n4,n5,...,nk]
         nu = n1*n2*...*nk
         Each iteration has nu passes.
         each period is nu1= nu/n1, nu2 = nu/(nu1*n2), nu3 = nu/(nu2*n3),...
         
        Returns:
      • createTargetIndices

        public ArrayList<IndexList> createTargetIndices()
        These are the indices for the result.
        Returns: