Package org.drip.numerical.common
Class PrimeFactorCount
java.lang.Object
org.drip.numerical.common.PrimeFactorCount
public class PrimeFactorCount
extends java.lang.Object
PrimeFactorCount contains a Prime Factor and its Count in a Composite Number.
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Numerical Quadrature, Differentiation, Eigenization, Linear Algebra, and Utilities
- Package = Primitives/Array Manipulate Format Display Utilities
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description PrimeFactorCount(int primeFactor, int count)
PrimeFactorCount Constructor -
Method Summary
Modifier and Type Method Description int
count()
Retrieve the Count of the Prime Factorint
primeFactor()
Retrieve the Prime FactorMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PrimeFactorCount
public PrimeFactorCount(int primeFactor, int count) throws java.lang.ExceptionPrimeFactorCount Constructor- Parameters:
primeFactor
- Prime Factorcount
- Count of the Prime Factor- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
primeFactor
public int primeFactor()Retrieve the Prime Factor- Returns:
- The Prime Factor
-
count
public int count()Retrieve the Count of the Prime Factor- Returns:
- The Count of the Prime Factor
-