Package org.openscience.cdk.math
Class Primes
java.lang.Object
org.openscience.cdk.math.Primes
Deprecated.
- Author:
- Oliver Horlacher <oliver.horlacher@therastrat.com>
- Source code:
- main
- Belongs to CDK module:
- standard
- Keywords:
- prime numbers
- Created on:
- 2002-02-26
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
getPrimeAt
(int index) Deprecated.Returns the i-th prime number in the sequence of all prime numbers below 19700.
-
Constructor Details
-
Primes
public Primes()Deprecated.
-
-
Method Details
-
getPrimeAt
public static int getPrimeAt(int index) Deprecated.Returns the i-th prime number in the sequence of all prime numbers below 19700. The first in the sequence (n=0) is the prime number 2.
-