Package de.tilman_neumann.jml.partitions
Interface PrimePowers
-
- All Superinterfaces:
Comparable<Mpi>
,Iterable<Integer>
,Mpi
- All Known Implementing Classes:
PrimePowers_DefaultImpl
public interface PrimePowers extends Mpi
Product of primes implemented as an multipartite integer.- Author:
- Tilman Neumann
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BigInteger
getPrime(int index)
Return the prime at the given index.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface de.tilman_neumann.jml.partitions.Mpi
compareTo, complement, div2, firstNonZeroPartIndex, getCardinality, getDim, getElem, maxNextPart, setElem, subtract
-
-
-
-
Method Detail
-
getPrime
BigInteger getPrime(int index)
Return the prime at the given index.- Parameters:
index
-- Returns:
- prime
-
-