Module reikna::prime_count [] [src]

Module for working with the prime-counting function.

This module has functions for computing the value of the prime-counting function for both single and multiple values.

Constants

PI_SYMBOL

Constant string of the uppercase Pi symbol, often used to represent the prime-counting function.

Functions

prime_count

Return the number of prime numbers less than or equal to x.

prime_count_all

Calculate the value of the prime-counting function for each value in data, and return a new Vec<u64> of the results.