Logo Search packages:      
Sourcecode: kbruch version File versions  Download package

unsigned int primenumber::get_first (  ) const

returns the first prime number

Definition at line 99 of file primenumber.cpp.

References prim_vector.

Referenced by isPrimeNumber(), and ratio::reduce().

{
    return *prim_vector.begin();
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index