OKlibrary  0.2.1.6
OKlib::Combinatorics::Hypergraphs::Generators::First_prime_numbers< UInt > Class Template Reference

Functor for computing the first n prime numbers as a std::vector. More...

#include <GreenTao.hpp>

List of all members.

Public Types

typedef UInt uint_type
typedef std::vector< uint_typerange_type

Public Member Functions

range_type operator() (uint_type n) const

Detailed Description

template<typename UInt = unsigned long>
class OKlib::Combinatorics::Hypergraphs::Generators::First_prime_numbers< UInt >

Functor for computing the first n prime numbers as a std::vector.

Todo:
Move to module Structures/NumberTheory

Definition at line 38 of file GreenTao.hpp.


Member Typedef Documentation

template<typename UInt = unsigned long>
typedef std::vector<uint_type> OKlib::Combinatorics::Hypergraphs::Generators::First_prime_numbers< UInt >::range_type

Definition at line 40 of file GreenTao.hpp.

template<typename UInt = unsigned long>
typedef UInt OKlib::Combinatorics::Hypergraphs::Generators::First_prime_numbers< UInt >::uint_type

Definition at line 39 of file GreenTao.hpp.


Member Function Documentation

template<typename UInt = unsigned long>
range_type OKlib::Combinatorics::Hypergraphs::Generators::First_prime_numbers< UInt >::operator() ( uint_type  n) const [inline]

Definition at line 41 of file GreenTao.hpp.


The documentation for this class was generated from the following file: