diff --git a/d1/dbe/lu__decomposition_8h_source.html b/d1/dbe/lu__decomposition_8h_source.html
index bd7515903..70f9131ac 100644
--- a/d1/dbe/lu__decomposition_8h_source.html
+++ b/d1/dbe/lu__decomposition_8h_source.html
@@ -212,7 +212,6 @@ $(document).ready(function(){initNavTree('d1/dbe/lu__decomposition_8h_source.htm
void test3()
Test function to find maxima for the function in the interval Expected result: .
Definition: brent_method_extrema.cpp:188
-void print(uint32_t N, const bool *isprime)
Definition: sieve_of_eratosthenes.cpp:38
std::vector< int > primes(int max)
Definition: prime_numbers.cpp:12
bool miller_rabin_primality_test(T num, T repeats)
Definition: miller_rabin.cpp:125
@@ -225,7 +224,8 @@ $(document).ready(function(){initNavTree('d1/dbe/lu__decomposition_8h_source.htm
int multiply(int x, int res[], int res_size)
Definition: power_for_huge_numbers.cpp:25
ll ans(ll n)
Definition: matrix_exponentiation.cpp:91
-int main()
Definition: sieve_of_eratosthenes.cpp:50
+int main()
Definition: sieve_of_eratosthenes.cpp:65
+std::vector< bool > sieve(uint32_t N)
Definition: sieve_of_eratosthenes.cpp:26
const char * complex_str(const std::complex< double > &x)
Definition: durand_kerner_roots.cpp:76
void test3()
Test function to find maxima for the function in the interval Expected result: .
Definition: golden_search_extrema.cpp:123
double get_minima(const std::function< double(double)> &f, double lim_a, double lim_b)
Get the real root of a function in the given interval.
Definition: brent_method_extrema.cpp:35
@@ -239,6 +239,7 @@ $(document).ready(function(){initNavTree('d1/dbe/lu__decomposition_8h_source.htm
void power(int x, int n)
Definition: power_for_huge_numbers.cpp:56
void test1()
Test function to find minima for the function in the interval Expected result = 2.
Definition: golden_search_extrema.cpp:78
+bool is_prime(T num)
Definition: check_prime.cpp:22
int main()
Definition: prime_numbers.cpp:26
@@ -274,10 +275,10 @@ $(document).ready(function(){initNavTree('d1/dbe/lu__decomposition_8h_source.htm
Definition: realtime_stats.cpp:72
int main(int argc, char **argv)
Definition: realtime_stats.cpp:158
int sgn(T val)
Definition: false_position.cpp:34
+void print(uint32_t N, const std::vector< bool > &is_prime)
Definition: sieve_of_eratosthenes.cpp:44
Functions associated with LU Decomposition of a square matrix.
-void sieve(uint32_t N, bool *isprime)
Definition: sieve_of_eratosthenes.cpp:21
void test_function(const float *test_data, const int number_of_samples)
Definition: realtime_stats.cpp:118
void SieveOfEratosthenes(int N)
Definition: prime_factorization.cpp:23
@@ -315,6 +316,7 @@ $(document).ready(function(){initNavTree('d1/dbe/lu__decomposition_8h_source.htm
#define MAX_ITERATIONS
Maximum number of iterations to check.
Definition: bisection_method.cpp:22
+void tests()
Definition: sieve_of_eratosthenes.cpp:56
int main()
Definition: string_fibonacci.cpp:81
diff --git a/d4/d86/large__number_8h_source.html b/d4/d86/large__number_8h_source.html
index 428bbedd6..6202e701f 100644
--- a/d4/d86/large__number_8h_source.html
+++ b/d4/d86/large__number_8h_source.html
@@ -406,7 +406,6 @@ $(document).ready(function(){initNavTree('d4/d86/large__number_8h_source.html','
-void print(uint32_t N, const bool *isprime)
Definition: sieve_of_eratosthenes.cpp:38
#define MAX
Definition: fibonacci_fast.cpp:27
void addVertices(unsigned int num=1)
Definition: cycle_check_directed_graph.cpp:118
bool test1()
Definition: large_factorial.cpp:17
@@ -581,6 +580,7 @@ $(document).ready(function(){initNavTree('d4/d86/large__number_8h_source.html','
int main()
Definition: check_prime.cpp:45
bool test2()
Definition: large_factorial.cpp:54
+void print(uint32_t N, const std::vector< bool > &is_prime)
Definition: sieve_of_eratosthenes.cpp:44
Graph(unsigned int vertices, AdjList &&adjList)
Definition: cycle_check_directed_graph.cpp:76
diff --git a/d4/d9c/primes__up__to__billion_8cpp.html b/d4/d9c/primes__up__to__billion_8cpp.html
index 5385690b1..3ec910d11 100644
--- a/d4/d9c/primes__up__to__billion_8cpp.html
+++ b/d4/d9c/primes__up__to__billion_8cpp.html
@@ -123,7 +123,7 @@ Variables
◆ main()
diff --git a/d6/d2c/caesar__cipher_8cpp.html b/d6/d2c/caesar__cipher_8cpp.html
index 66e31e167..3497be542 100644
--- a/d6/d2c/caesar__cipher_8cpp.html
+++ b/d6/d2c/caesar__cipher_8cpp.html
@@ -345,7 +345,6 @@ Here is the call graph for this function:
std::string tolowerRoman(int n)
Definition: decimal_to_roman_numeral.cpp:24
void test_f(const int NUM_DATA)
Definition: shell_sort2.cpp:145
String search algorithms.
Definition: brute_force_string_searching.cpp:13
-void print(uint32_t N, const bool *isprime)
Definition: sieve_of_eratosthenes.cpp:38
#define MAX
Definition: fibonacci_fast.cpp:27
void show_data(T *arr, size_t LEN)
Definition: shell_sort2.cpp:18
@@ -484,6 +483,7 @@ Here is the call graph for this function:
int main(int argc, char **argv)
Definition: qr_eigen_values.cpp:243
double circle(const std::vector< Point > &P)
Definition: smallest_circle.cpp:87
+void print(uint32_t N, const std::vector< bool > &is_prime)
Definition: sieve_of_eratosthenes.cpp:44
static float eq(float y)
Definition: successive_approximation.cpp:12
static void test_int()
Definition: quick_sort_3.cpp:138
Type * struzik_search(Type *array, size_t size, Type key)
Definition: exponential_search.cpp:59
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp.html b/d8/ddf/sieve__of__eratosthenes_8cpp.html
index 0c7399d28..2310fe807 100644
--- a/d8/ddf/sieve__of__eratosthenes_8cpp.html
+++ b/d8/ddf/sieve__of__eratosthenes_8cpp.html
@@ -97,28 +97,33 @@ $(document).ready(function(){initNavTree('d8/ddf/sieve__of__eratosthenes_8cpp.ht
-
Get list of prime numbers using Sieve of Eratosthenes Sieve of Eratosthenes is an algorithm to find the primes that is between 2 to N (as defined in main).
+
Get list of prime numbers using Sieve of Eratosthenes.
More...
-
#include <iostream>
+
#include <cassert>
+#include <iostream>
+#include <vector>
-
Get list of prime numbers using Sieve of Eratosthenes Sieve of Eratosthenes is an algorithm to find the primes that is between 2 to N (as defined in main).
-
Time Complexity : \(O(N \cdot\log N)\)
+
Get list of prime numbers using Sieve of Eratosthenes.
+
Sieve of Eratosthenes is an algorithm that finds all the primes between 2 and N.
+
Time Complexity : \(O(N \cdot\log \log N)\)
Space Complexity : \(O(N)\)
See also primes_up_to_billion.cpp prime_numbers.cpp
@@ -137,26 +142,25 @@ Space Complexity : \(O(N)\)
Main function
-
-
-
◆ print()
+
+
◆ print()
@@ -170,8 +174,8 @@ Here is the call graph for this function:
- const bool *
- isprime
+ const std::vector < bool > &
+ is_prime
@@ -182,81 +186,110 @@ Here is the call graph for this function:
This function prints out the primes to STDOUT
Parameters
- N number of primes to check
- [in] isprime a boolean array of size N identifying if i^th number is prime or not
+ N number of primes to check
+ is_prime a vector of N + 1 booleans identifying if i^th number is a prime or not
-
-
39 for (uint32_t i = 2; i <= N; i++) {
-
-
-
-
-
-
+
+
45 for (uint32_t i = 2; i <= N; i++) {
+
+
+
+
+
+
-
-
◆ sieve()
+
+
◆ sieve()
- void sieve
+ std::vector <bool> sieve
(
uint32_t
- N ,
-
-
-
+ N )
- bool *
- isprime
-
-
-
- )
-
-
This is the function that finds the primes and eliminates the multiples.
Parameters
+This is the function that finds the primes and eliminates the multiples. Contains a common optimization to start eliminating multiples of a prime p starting from p * p since all of the lower multiples have been already eliminated.
Parameters
- N number of primes to check
- [out] isprime a boolean array of size N identifying if i^th number is prime or not
+ N number of primes to check
-
-
-
-
24 for (uint32_t i = 2; i * i <= N; i++) {
-
-
26 for (uint32_t j = (i << 1); j <= N; j = j + i) {
-
-
-
-
-
-
+Returns is_prime a vector of N + 1 booleans identifying if i^th number is a prime or not
+
+
+
+
29 for (uint32_t i = 2; i * i <= N; i++) {
+
+
31 for (uint32_t j = i * i; j <= N; j += i) {
+
+
+
+
+
+
+
+
+
+
+
+
+
◆ tests()
+
+
+
+
+
+ void tests
+ (
+ )
+
+
+
+
+
Test implementations
+
+
+
58 std::vector<bool> ans {
false ,
false ,
true ,
true ,
false ,
true ,
false ,
true ,
false ,
false ,
false };
+
+
+
+
+
-void print(uint32_t N, const bool *isprime)
Definition: sieve_of_eratosthenes.cpp:38
+
+ll ans(ll n)
Definition: matrix_exponentiation.cpp:91
+std::vector< bool > sieve(uint32_t N)
Definition: sieve_of_eratosthenes.cpp:26
+bool is_prime(T num)
Definition: check_prime.cpp:22
-void sieve(uint32_t N, bool *isprime)
Definition: sieve_of_eratosthenes.cpp:21
+void print(uint32_t N, const std::vector< bool > &is_prime)
Definition: sieve_of_eratosthenes.cpp:44
-bool isprime[1000006]
Definition: prime_factorization.cpp:13
+void tests()
Definition: sieve_of_eratosthenes.cpp:56
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp.js b/d8/ddf/sieve__of__eratosthenes_8cpp.js
index ff8e70fda..97b7488fc 100644
--- a/d8/ddf/sieve__of__eratosthenes_8cpp.js
+++ b/d8/ddf/sieve__of__eratosthenes_8cpp.js
@@ -1,6 +1,7 @@
var sieve__of__eratosthenes_8cpp =
[
[ "main", "d8/ddf/sieve__of__eratosthenes_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4", null ],
- [ "print", "d8/ddf/sieve__of__eratosthenes_8cpp.html#ae0de20c22cf2304b1cbe70953d57e7b7", null ],
- [ "sieve", "d8/ddf/sieve__of__eratosthenes_8cpp.html#a1e606c2e5ac180a770ebe0d1706b8ca2", null ]
+ [ "print", "d8/ddf/sieve__of__eratosthenes_8cpp.html#a235843bdf82d2a6cc8596ae8fd3b8df9", null ],
+ [ "sieve", "d8/ddf/sieve__of__eratosthenes_8cpp.html#a60fa6579eab0db3c1c0ab1bf6d651be3", null ],
+ [ "tests", "d8/ddf/sieve__of__eratosthenes_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9", null ]
];
\ No newline at end of file
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp_ae0de20c22cf2304b1cbe70953d57e7b7_cgraph.map b/d8/ddf/sieve__of__eratosthenes_8cpp_a235843bdf82d2a6cc8596ae8fd3b8df9_cgraph.map
similarity index 50%
rename from d8/ddf/sieve__of__eratosthenes_8cpp_ae0de20c22cf2304b1cbe70953d57e7b7_cgraph.map
rename to d8/ddf/sieve__of__eratosthenes_8cpp_a235843bdf82d2a6cc8596ae8fd3b8df9_cgraph.map
index 7a47aaf49..4a57c6f6a 100644
--- a/d8/ddf/sieve__of__eratosthenes_8cpp_ae0de20c22cf2304b1cbe70953d57e7b7_cgraph.map
+++ b/d8/ddf/sieve__of__eratosthenes_8cpp_a235843bdf82d2a6cc8596ae8fd3b8df9_cgraph.map
@@ -1,4 +1,5 @@
-
+
+
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp_a235843bdf82d2a6cc8596ae8fd3b8df9_cgraph.md5 b/d8/ddf/sieve__of__eratosthenes_8cpp_a235843bdf82d2a6cc8596ae8fd3b8df9_cgraph.md5
new file mode 100644
index 000000000..20c6a4d27
--- /dev/null
+++ b/d8/ddf/sieve__of__eratosthenes_8cpp_a235843bdf82d2a6cc8596ae8fd3b8df9_cgraph.md5
@@ -0,0 +1 @@
+2f8c2e90a637c569a4e48c4d25266a85
\ No newline at end of file
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp_a235843bdf82d2a6cc8596ae8fd3b8df9_cgraph.svg b/d8/ddf/sieve__of__eratosthenes_8cpp_a235843bdf82d2a6cc8596ae8fd3b8df9_cgraph.svg
new file mode 100644
index 000000000..bb0184b42
--- /dev/null
+++ b/d8/ddf/sieve__of__eratosthenes_8cpp_a235843bdf82d2a6cc8596ae8fd3b8df9_cgraph.svg
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+print
+
+
+
+Node1
+
+
+print
+
+
+
+
+
+Node2
+
+
+std::endl
+
+
+
+
+
+Node1->Node2
+
+
+
+
+
+Node3
+
+
+is_prime
+
+
+
+
+
+Node1->Node3
+
+
+
+
+
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp_a60fa6579eab0db3c1c0ab1bf6d651be3_cgraph.map b/d8/ddf/sieve__of__eratosthenes_8cpp_a60fa6579eab0db3c1c0ab1bf6d651be3_cgraph.map
new file mode 100644
index 000000000..20cb0be5f
--- /dev/null
+++ b/d8/ddf/sieve__of__eratosthenes_8cpp_a60fa6579eab0db3c1c0ab1bf6d651be3_cgraph.map
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp_a60fa6579eab0db3c1c0ab1bf6d651be3_cgraph.md5 b/d8/ddf/sieve__of__eratosthenes_8cpp_a60fa6579eab0db3c1c0ab1bf6d651be3_cgraph.md5
new file mode 100644
index 000000000..41c0ce2c6
--- /dev/null
+++ b/d8/ddf/sieve__of__eratosthenes_8cpp_a60fa6579eab0db3c1c0ab1bf6d651be3_cgraph.md5
@@ -0,0 +1 @@
+a01e272f9d9a830835656af2290340e0
\ No newline at end of file
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp_a60fa6579eab0db3c1c0ab1bf6d651be3_cgraph.svg b/d8/ddf/sieve__of__eratosthenes_8cpp_a60fa6579eab0db3c1c0ab1bf6d651be3_cgraph.svg
new file mode 100644
index 000000000..487fe9549
--- /dev/null
+++ b/d8/ddf/sieve__of__eratosthenes_8cpp_a60fa6579eab0db3c1c0ab1bf6d651be3_cgraph.svg
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+sieve
+
+
+
+Node1
+
+
+sieve
+
+
+
+
+
+Node2
+
+
+is_prime
+
+
+
+
+
+Node1->Node2
+
+
+
+
+
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp_a88ec9ad42717780d6caaff9d3d6977f9_cgraph.map b/d8/ddf/sieve__of__eratosthenes_8cpp_a88ec9ad42717780d6caaff9d3d6977f9_cgraph.map
new file mode 100644
index 000000000..f3df80168
--- /dev/null
+++ b/d8/ddf/sieve__of__eratosthenes_8cpp_a88ec9ad42717780d6caaff9d3d6977f9_cgraph.map
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp_a88ec9ad42717780d6caaff9d3d6977f9_cgraph.md5 b/d8/ddf/sieve__of__eratosthenes_8cpp_a88ec9ad42717780d6caaff9d3d6977f9_cgraph.md5
new file mode 100644
index 000000000..7cbabae43
--- /dev/null
+++ b/d8/ddf/sieve__of__eratosthenes_8cpp_a88ec9ad42717780d6caaff9d3d6977f9_cgraph.md5
@@ -0,0 +1 @@
+c8a37f929d53cdd8771c77f29ae37f88
\ No newline at end of file
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp_a88ec9ad42717780d6caaff9d3d6977f9_cgraph.svg b/d8/ddf/sieve__of__eratosthenes_8cpp_a88ec9ad42717780d6caaff9d3d6977f9_cgraph.svg
new file mode 100644
index 000000000..87d5b6a50
--- /dev/null
+++ b/d8/ddf/sieve__of__eratosthenes_8cpp_a88ec9ad42717780d6caaff9d3d6977f9_cgraph.svg
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+tests
+
+
+
+Node1
+
+
+tests
+
+
+
+
+
+Node2
+
+
+ans
+
+
+
+
+
+Node1->Node2
+
+
+
+
+
+Node3
+
+
+sieve
+
+
+
+
+
+Node1->Node3
+
+
+
+
+
+Node4
+
+
+is_prime
+
+
+
+
+
+Node3->Node4
+
+
+
+
+
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp_ae0de20c22cf2304b1cbe70953d57e7b7_cgraph.md5 b/d8/ddf/sieve__of__eratosthenes_8cpp_ae0de20c22cf2304b1cbe70953d57e7b7_cgraph.md5
deleted file mode 100644
index 5e3be2959..000000000
--- a/d8/ddf/sieve__of__eratosthenes_8cpp_ae0de20c22cf2304b1cbe70953d57e7b7_cgraph.md5
+++ /dev/null
@@ -1 +0,0 @@
-6b233f604ffd5f19077b3a917535efb3
\ No newline at end of file
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp_ae0de20c22cf2304b1cbe70953d57e7b7_cgraph.svg b/d8/ddf/sieve__of__eratosthenes_8cpp_ae0de20c22cf2304b1cbe70953d57e7b7_cgraph.svg
deleted file mode 100644
index aafd334a7..000000000
--- a/d8/ddf/sieve__of__eratosthenes_8cpp_ae0de20c22cf2304b1cbe70953d57e7b7_cgraph.svg
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
-
-print
-
-
-
-Node1
-
-
-print
-
-
-
-
-
-Node2
-
-
-std::endl
-
-
-
-
-
-Node1->Node2
-
-
-
-
-
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map b/d8/ddf/sieve__of__eratosthenes_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map
index 4cd7f6c79..bd375649a 100644
--- a/d8/ddf/sieve__of__eratosthenes_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map
+++ b/d8/ddf/sieve__of__eratosthenes_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map
@@ -1,6 +1,9 @@
-
-
-
-
+
+
+
+
+
+
+
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 b/d8/ddf/sieve__of__eratosthenes_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5
index 637bd7e09..419977b90 100644
--- a/d8/ddf/sieve__of__eratosthenes_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5
+++ b/d8/ddf/sieve__of__eratosthenes_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5
@@ -1 +1 @@
-ecf5b5d1ed4bad060df4d18414db71ac
\ No newline at end of file
+e2ac51f1772d88e2ca7d3064024667e6
\ No newline at end of file
diff --git a/d8/ddf/sieve__of__eratosthenes_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg b/d8/ddf/sieve__of__eratosthenes_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg
index 423b3cb94..e697ef234 100644
--- a/d8/ddf/sieve__of__eratosthenes_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg
+++ b/d8/ddf/sieve__of__eratosthenes_8cpp_ae66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg
@@ -4,64 +4,127 @@
-
-
+
+
main
-
+
Node1
-
-main
+
+main
Node2
-
-
-print
+
+
+is_prime
Node1->Node2
-
-
-
-
-
-Node4
-
-
-sieve
-
-
-
-
-
-Node1->Node4
-
-
+
+
Node3
-
-
-std::endl
+
+
+print
-
+
-Node2->Node3
-
-
+Node1->Node3
+
+
+
+
+
+Node5
+
+
+sieve
+
+
+
+
+
+Node1->Node5
+
+
+
+
+
+Node6
+
+
+tests
+
+
+
+
+
+Node1->Node6
+
+
+
+
+
+Node3->Node2
+
+
+
+
+
+Node4
+
+
+std::endl
+
+
+
+
+
+Node3->Node4
+
+
+
+
+
+Node5->Node2
+
+
+
+
+
+Node6->Node5
+
+
+
+
+
+Node7
+
+
+ans
+
+
+
+
+
+Node6->Node7
+
+
diff --git a/da/d35/sieve__of__eratosthenes_8cpp__incl.map b/da/d35/sieve__of__eratosthenes_8cpp__incl.map
index 41109c6d6..653bd15b5 100644
--- a/da/d35/sieve__of__eratosthenes_8cpp__incl.map
+++ b/da/d35/sieve__of__eratosthenes_8cpp__incl.map
@@ -1,4 +1,6 @@
-
-
+
+
+
+
diff --git a/da/d35/sieve__of__eratosthenes_8cpp__incl.md5 b/da/d35/sieve__of__eratosthenes_8cpp__incl.md5
index 0c712b49b..e47e21608 100644
--- a/da/d35/sieve__of__eratosthenes_8cpp__incl.md5
+++ b/da/d35/sieve__of__eratosthenes_8cpp__incl.md5
@@ -1 +1 @@
-791cb4e5ff70b85cb6b28271313338ec
\ No newline at end of file
+105fbe458d0099695a2fdcc2aff0a6f7
\ No newline at end of file
diff --git a/da/d35/sieve__of__eratosthenes_8cpp__incl.svg b/da/d35/sieve__of__eratosthenes_8cpp__incl.svg
index b7691454f..51a9a3419 100644
--- a/da/d35/sieve__of__eratosthenes_8cpp__incl.svg
+++ b/da/d35/sieve__of__eratosthenes_8cpp__incl.svg
@@ -4,17 +4,17 @@
-
+
math/sieve_of_eratosthenes.cpp
-
+
Node1
-
-
-math/sieve_of_eratosthenes.cpp
+
+
+math/sieve_of_eratosthenes.cpp
@@ -22,16 +22,46 @@
Node2
-
-iostream
+
+cassert
Node1->Node2
-
-
+
+
+
+
+
+Node3
+
+
+iostream
+
+
+
+
+
+Node1->Node3
+
+
+
+
+
+Node4
+
+
+vector
+
+
+
+
+
+Node1->Node4
+
+
diff --git a/de/d9b/prime__numbers_8cpp.html b/de/d9b/prime__numbers_8cpp.html
index 0490a3eae..8cdb790a0 100644
--- a/de/d9b/prime__numbers_8cpp.html
+++ b/de/d9b/prime__numbers_8cpp.html
@@ -117,7 +117,7 @@ Functions
◆ main()
diff --git a/dir_296d53ceaeaa7e099814a6def439fe8a.html b/dir_296d53ceaeaa7e099814a6def439fe8a.html
index 42927cf61..303373570 100644
--- a/dir_296d53ceaeaa7e099814a6def439fe8a.html
+++ b/dir_296d53ceaeaa7e099814a6def439fe8a.html
@@ -177,7 +177,7 @@ Files
Compute statistics for data entered in rreal-time.
file sieve_of_eratosthenes.cpp
-
Get list of prime numbers using Sieve of Eratosthenes Sieve of Eratosthenes is an algorithm to find the primes that is between 2 to N (as defined in main).
+
Get list of prime numbers using Sieve of Eratosthenes.
file sqrt_double.cpp
Calculate the square root of any positive real number in \(O(\log N)\) time, with precision fixed using bisection method of root-finding.
diff --git a/files.html b/files.html
index 090cd41c1..cccb20823 100644
--- a/files.html
+++ b/files.html
@@ -154,7 +154,7 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); });
prime_numbers.cpp Get list of prime numbers
primes_up_to_billion.cpp Compute prime numbers upto 1 billion
realtime_stats.cpp Compute statistics for data entered in rreal-time
-
sieve_of_eratosthenes.cpp Get list of prime numbers using Sieve of Eratosthenes Sieve of Eratosthenes is an algorithm to find the primes that is between 2 to N (as defined in main)
+
sieve_of_eratosthenes.cpp Get list of prime numbers using Sieve of Eratosthenes
sqrt_double.cpp Calculate the square root of any positive real number in \(O(\log N)\) time, with precision fixed using bisection method of root-finding
string_fibonacci.cpp This Programme returns the Nth fibonacci as a string
sum_of_digits.cpp A C++ Program to find the Sum of Digits of input integer
diff --git a/globals_func_p.html b/globals_func_p.html
index ad17cec51..04cd7fd4a 100644
--- a/globals_func_p.html
+++ b/globals_func_p.html
@@ -134,7 +134,7 @@ $(document).ready(function(){initNavTree('globals_func_p.html',''); initResizabl
:
prime_numbers.cpp
print()
-: sieve_of_eratosthenes.cpp
+: sieve_of_eratosthenes.cpp
printArray()
: heap_sort.cpp
diff --git a/globals_func_s.html b/globals_func_s.html
index 4ab459278..675e8a122 100644
--- a/globals_func_s.html
+++ b/globals_func_s.html
@@ -131,7 +131,7 @@ $(document).ready(function(){initNavTree('globals_func_s.html',''); initResizabl
: primes_up_to_billion.cpp
sieve()
-: sieve_of_eratosthenes.cpp
+: sieve_of_eratosthenes.cpp
SieveOfEratosthenes()
: prime_factorization.cpp
diff --git a/globals_func_t.html b/globals_func_t.html
index 086bc5459..996952db5 100644
--- a/globals_func_t.html
+++ b/globals_func_t.html
@@ -176,12 +176,13 @@ $(document).ready(function(){initNavTree('globals_func_t.html',''); initResizabl
: kohonen_som_trace.cpp
tests()
-: least_common_multiple.cpp
-, miller_rabin.cpp
+: comb_sort.cpp
, insertion_sort.cpp
-, double_factorial.cpp
, complex_numbers.cpp
-, comb_sort.cpp
+, least_common_multiple.cpp
+, miller_rabin.cpp
+, sieve_of_eratosthenes.cpp
+, double_factorial.cpp
TH()
: tower_of_hanoi.cpp
diff --git a/globals_p.html b/globals_p.html
index 6fb47c6a5..32dc86274 100644
--- a/globals_p.html
+++ b/globals_p.html
@@ -146,7 +146,7 @@ $(document).ready(function(){initNavTree('globals_p.html',''); initResizable();
: prime_numbers.cpp
print()
-: sieve_of_eratosthenes.cpp
+: sieve_of_eratosthenes.cpp
printArray()
: heap_sort.cpp
diff --git a/globals_s.html b/globals_s.html
index 7caba8b09..722e40c25 100644
--- a/globals_s.html
+++ b/globals_s.html
@@ -128,7 +128,7 @@ $(document).ready(function(){initNavTree('globals_s.html',''); initResizable();
: pascal_triangle.cpp
sieve()
-: sieve_of_eratosthenes.cpp
+: sieve_of_eratosthenes.cpp
Sieve()
: primes_up_to_billion.cpp
diff --git a/globals_t.html b/globals_t.html
index 826612a11..ba5593d33 100644
--- a/globals_t.html
+++ b/globals_t.html
@@ -179,12 +179,13 @@ $(document).ready(function(){initNavTree('globals_t.html',''); initResizable();
: brute_force_string_searching.cpp
tests()
-: comb_sort.cpp
+: least_common_multiple.cpp
+, complex_numbers.cpp
+, miller_rabin.cpp
, insertion_sort.cpp
, double_factorial.cpp
-, least_common_multiple.cpp
-, miller_rabin.cpp
-, complex_numbers.cpp
+, comb_sort.cpp
+, sieve_of_eratosthenes.cpp
TH()
: tower_of_hanoi.cpp
diff --git a/navtreedata.js b/navtreedata.js
index 98dd56f56..5b28cee16 100644
--- a/navtreedata.js
+++ b/navtreedata.js
@@ -109,8 +109,8 @@ var NAVTREEINDEX =
"annotated.html",
"d4/da0/gcd__iterative__euclidean_8cpp.html",
"d7/d77/class_edge.html",
-"da/df2/durand__kerner__roots_8cpp.html#a1440a7779ac56f47a3f355ce4a8c7da0",
-"de/d75/qr__eigen__values_8cpp.html#a0283886819c7c140a023582b7269e2d0"
+"da/df2/durand__kerner__roots_8cpp.html#a0283886819c7c140a023582b7269e2d0",
+"de/d75/qr__eigen__values_8cpp.html"
];
var SYNCONMSG = 'click to disable panel synchronisation';
diff --git a/navtreeindex2.js b/navtreeindex2.js
index 386ab918d..889468d36 100644
--- a/navtreeindex2.js
+++ b/navtreeindex2.js
@@ -85,8 +85,9 @@ var NAVTREEINDEX2 =
"d8/dc8/struct_point.html#afa38be143ae800e6ad69ce8ed4df62d8":[7,0,25,4],
"d8/dcc/namespacestd.html":[6,0,8],
"d8/ddf/sieve__of__eratosthenes_8cpp.html":[8,0,6,27],
-"d8/ddf/sieve__of__eratosthenes_8cpp.html#a1e606c2e5ac180a770ebe0d1706b8ca2":[8,0,6,27,2],
-"d8/ddf/sieve__of__eratosthenes_8cpp.html#ae0de20c22cf2304b1cbe70953d57e7b7":[8,0,6,27,1],
+"d8/ddf/sieve__of__eratosthenes_8cpp.html#a235843bdf82d2a6cc8596ae8fd3b8df9":[8,0,6,27,1],
+"d8/ddf/sieve__of__eratosthenes_8cpp.html#a60fa6579eab0db3c1c0ab1bf6d651be3":[8,0,6,27,2],
+"d8/ddf/sieve__of__eratosthenes_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9":[8,0,6,27,3],
"d8/ddf/sieve__of__eratosthenes_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4":[8,0,6,27,0],
"d8/dee/avltree_8cpp.html":[8,0,1,1],
"d8/dee/avltree_8cpp.html#a1ecfaaea49d452772dbb2b28133e36e0":[8,0,1,1,2],
@@ -212,9 +213,9 @@ var NAVTREEINDEX2 =
"da/d9a/class_graph.html#a61943646676002a5e75f7b6493c25713":[7,0,13,32],
"da/d9a/class_graph.html#a6afcd41564ea00294a4c089414979ca1":[7,0,13,40],
"da/d9a/class_graph.html#a6cb6fbec4ea7cfdfda368f2c468a757d":[7,0,13,20],
-"da/d9a/class_graph.html#a6dc4dd4ce49c4052ad2a5d27523881f4":[7,0,13,13],
-"da/d9a/class_graph.html#a6dc4dd4ce49c4052ad2a5d27523881f4":[7,0,13,15],
"da/d9a/class_graph.html#a6dc4dd4ce49c4052ad2a5d27523881f4":[7,0,13,14],
+"da/d9a/class_graph.html#a6dc4dd4ce49c4052ad2a5d27523881f4":[7,0,13,15],
+"da/d9a/class_graph.html#a6dc4dd4ce49c4052ad2a5d27523881f4":[7,0,13,13],
"da/d9a/class_graph.html#a73268574e2528b8e760191113ef6d1eb":[7,0,13,27],
"da/d9a/class_graph.html#a8c95e00effaea0cd9404dd74cd802ae3":[7,0,13,8],
"da/d9a/class_graph.html#a8dcb5ce0b4a6f65827f5055d9d53a3f1":[7,0,13,21],
@@ -248,6 +249,5 @@ var NAVTREEINDEX2 =
"da/de7/decimal__to__hexadecimal_8cpp.html":[8,0,8,2],
"da/de7/decimal__to__hexadecimal_8cpp.html#a840291bc02cba5474a4cb46a9b9566fe":[8,0,8,2,0],
"da/df2/durand__kerner__roots_8cpp.html":[8,0,7,2],
-"da/df2/durand__kerner__roots_8cpp.html#a024b8bc4755863315456d573a6732377":[8,0,7,2,2],
-"da/df2/durand__kerner__roots_8cpp.html#a0283886819c7c140a023582b7269e2d0":[8,0,7,2,8]
+"da/df2/durand__kerner__roots_8cpp.html#a024b8bc4755863315456d573a6732377":[8,0,7,2,2]
};
diff --git a/navtreeindex3.js b/navtreeindex3.js
index e3c9c2e3b..133bf918e 100644
--- a/navtreeindex3.js
+++ b/navtreeindex3.js
@@ -1,5 +1,6 @@
var NAVTREEINDEX3 =
{
+"da/df2/durand__kerner__roots_8cpp.html#a0283886819c7c140a023582b7269e2d0":[8,0,7,2,8],
"da/df2/durand__kerner__roots_8cpp.html#a1440a7779ac56f47a3f355ce4a8c7da0":[8,0,7,2,7],
"da/df2/durand__kerner__roots_8cpp.html#a212979f5fc9dcf0a420e90b9b21d780a":[8,0,7,2,1],
"da/df2/durand__kerner__roots_8cpp.html#a3bada3e58ad8d1b00918db2ffe83a740":[8,0,7,2,3],
@@ -173,8 +174,8 @@ var NAVTREEINDEX3 =
"dd/d2f/class_trie.html#afd8b79959009b554e98ea7128b2886f2":[7,0,36,3],
"dd/d3b/struct_entry.html":[7,0,11],
"dd/d3b/struct_entry.html#acef39096ad1bc616755a4c120a713cea":[7,0,11,3],
-"dd/d3b/struct_entry.html#aeda5da9d6e79cb91d566e85af94fc372":[7,0,11,0],
"dd/d3b/struct_entry.html#aeda5da9d6e79cb91d566e85af94fc372":[7,0,11,2],
+"dd/d3b/struct_entry.html#aeda5da9d6e79cb91d566e85af94fc372":[7,0,11,0],
"dd/d3b/struct_entry.html#aeda5da9d6e79cb91d566e85af94fc372":[7,0,11,1],
"dd/d4f/class_solution.html":[7,0,31],
"dd/d4f/class_solution.html#a0a92d4ba2a822ae87e4c8a7c321024c0":[7,0,31,7],
@@ -248,6 +249,5 @@ var NAVTREEINDEX3 =
"de/d6a/knuth__morris__pratt_8cpp.html":[8,0,13,1],
"de/d6a/knuth__morris__pratt_8cpp.html#a26a58225ce7d3fa9d4c2f5349a65ed93":[8,0,13,1,1],
"de/d6a/knuth__morris__pratt_8cpp.html#aa422aab133d4ed5e5d6022a7f701271f":[8,0,13,1,0],
-"de/d6a/knuth__morris__pratt_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4":[8,0,13,1,2],
-"de/d75/qr__eigen__values_8cpp.html":[8,0,7,14]
+"de/d6a/knuth__morris__pratt_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4":[8,0,13,1,2]
};
diff --git a/navtreeindex4.js b/navtreeindex4.js
index 0d2a539b1..35bba347e 100644
--- a/navtreeindex4.js
+++ b/navtreeindex4.js
@@ -1,5 +1,6 @@
var NAVTREEINDEX4 =
{
+"de/d75/qr__eigen__values_8cpp.html":[8,0,7,14],
"de/d75/qr__eigen__values_8cpp.html#a0283886819c7c140a023582b7269e2d0":[8,0,7,14,6],
"de/d75/qr__eigen__values_8cpp.html#a1440a7779ac56f47a3f355ce4a8c7da0":[8,0,7,14,5],
"de/d75/qr__eigen__values_8cpp.html#a33cb0a68c36aa26fd599c7c66da86ed7":[8,0,7,14,1],
@@ -74,8 +75,8 @@ var NAVTREEINDEX4 =
"functions_func.html":[7,2,1],
"functions_rela.html":[7,2,3],
"functions_vars.html":[7,2,2],
-"globals.html":[8,1,0,0],
"globals.html":[8,1,0],
+"globals.html":[8,1,0,0],
"globals_a.html":[8,1,0,1],
"globals_b.html":[8,1,0,2],
"globals_c.html":[8,1,0,3],
diff --git a/search/all_10.js b/search/all_10.js
index ac800403b..6c7027080 100644
--- a/search/all_10.js
+++ b/search/all_10.js
@@ -67,7 +67,7 @@ var searchData=
['prime_5fnumbers_2ecpp_1217',['prime_numbers.cpp',['../de/d9b/prime__numbers_8cpp.html',1,'']]],
['primes_1218',['primes',['../de/d9b/prime__numbers_8cpp.html#a3b91f208e8365c95a295cfe3e67df5c3',1,'prime_numbers.cpp']]],
['primes_5fup_5fto_5fbillion_2ecpp_1219',['primes_up_to_billion.cpp',['../d4/d9c/primes__up__to__billion_8cpp.html',1,'']]],
- ['print_1220',['print',['../d8/ddf/sieve__of__eratosthenes_8cpp.html#ae0de20c22cf2304b1cbe70953d57e7b7',1,'sieve_of_eratosthenes.cpp']]],
+ ['print_1220',['print',['../d8/ddf/sieve__of__eratosthenes_8cpp.html#a235843bdf82d2a6cc8596ae8fd3b8df9',1,'sieve_of_eratosthenes.cpp']]],
['printarray_1221',['printArray',['../d2/d52/heap__sort_8cpp.html#a9ed3e1510afdf3edd06cf2b68769a767',1,'heap_sort.cpp']]],
['printf_1222',['printf',['http://en.cppreference.com/w/cpp/io/c/fprintf.html',0,'std']]],
['priority_5fqueue_1223',['priority_queue',['http://en.cppreference.com/w/cpp/container/priority_queue.html',0,'std::priority_queue< T >'],['http://en.cppreference.com/w/cpp/container/priority_queue/priority_queue.html',0,'std::priority_queue::priority_queue()']]],
diff --git a/search/all_13.js b/search/all_13.js
index f30b004a9..828d10ed8 100644
--- a/search/all_13.js
+++ b/search/all_13.js
@@ -80,7 +80,7 @@ var searchData=
['shrink_5fto_5ffit_1442',['shrink_to_fit',['http://en.cppreference.com/w/cpp/container/vector/shrink_to_fit.html',0,'std::vector::shrink_to_fit()'],['http://en.cppreference.com/w/cpp/string/basic_string/shrink_to_fit.html',0,'std::string::shrink_to_fit()'],['http://en.cppreference.com/w/cpp/container/deque/shrink_to_fit.html',0,'std::deque::shrink_to_fit()'],['http://en.cppreference.com/w/cpp/string/basic_string/shrink_to_fit.html',0,'std::basic_string::shrink_to_fit()'],['http://en.cppreference.com/w/cpp/string/basic_string/shrink_to_fit.html',0,'std::wstring::shrink_to_fit()'],['http://en.cppreference.com/w/cpp/string/basic_string/shrink_to_fit.html',0,'std::u16string::shrink_to_fit()'],['http://en.cppreference.com/w/cpp/string/basic_string/shrink_to_fit.html',0,'std::u32string::shrink_to_fit()']]],
['shuffle_1443',['shuffle',['http://en.cppreference.com/w/cpp/algorithm/random_shuffle.html',0,'std::shuffle()'],['../d5/d91/namespacesorting.html#aedfb88e2d6fff1871f038221fe5870fe',1,'sorting::shuffle()']]],
['shuffle_5forder_5fengine_1444',['shuffle_order_engine',['http://en.cppreference.com/w/cpp/numeric/random/shuffle_order_engine.html',0,'std::shuffle_order_engine'],['http://en.cppreference.com/w/cpp/numeric/random/shuffle_order_engine/shuffle_order_engine.html',0,'std::shuffle_order_engine::shuffle_order_engine()']]],
- ['sieve_1445',['sieve',['../d8/ddf/sieve__of__eratosthenes_8cpp.html#a1e606c2e5ac180a770ebe0d1706b8ca2',1,'sieve(uint32_t N, bool *isprime): sieve_of_eratosthenes.cpp'],['../d4/d9c/primes__up__to__billion_8cpp.html#a031cada84819ed6426f58e4f7e81261c',1,'Sieve(int64_t n): primes_up_to_billion.cpp']]],
+ ['sieve_1445',['sieve',['../d8/ddf/sieve__of__eratosthenes_8cpp.html#a60fa6579eab0db3c1c0ab1bf6d651be3',1,'sieve(uint32_t N): sieve_of_eratosthenes.cpp'],['../d4/d9c/primes__up__to__billion_8cpp.html#a031cada84819ed6426f58e4f7e81261c',1,'Sieve(int64_t n): primes_up_to_billion.cpp']]],
['sieve_5fof_5feratosthenes_2ecpp_1446',['sieve_of_eratosthenes.cpp',['../d8/ddf/sieve__of__eratosthenes_8cpp.html',1,'']]],
['sieveoferatosthenes_1447',['SieveOfEratosthenes',['../db/d0d/prime__factorization_8cpp.html#affe577b9bce8f604f5e2f861c63c7099',1,'prime_factorization.cpp']]],
['sig_5fatomic_5ft_1448',['sig_atomic_t',['http://en.cppreference.com/w/cpp/utility/program/sig_atomic_t.html',0,'std']]],
diff --git a/search/all_14.js b/search/all_14.js
index 02ed7beab..6827d666e 100644
--- a/search/all_14.js
+++ b/search/all_14.js
@@ -29,7 +29,7 @@ var searchData=
['test_5fint_1604',['test_int',['../d3/d4c/quick__sort__3_8cpp.html#a07e5c62de28aeddea986890ce7ac1bda',1,'test_int(): quick_sort_3.cpp'],['../d4/d7a/shell__sort2_8cpp.html#a895b313cb2671e8f712040460325573e',1,'test_int(const int NUM_DATA): shell_sort2.cpp']]],
['test_5flamniscate_1605',['test_lamniscate',['../d9/d49/kohonen__som__trace_8cpp.html#a412b7afa156306b1f8788643c91a1c60',1,'kohonen_som_trace.cpp']]],
['test_5fset_1606',['test_set',['../d3/d7d/brute__force__string__searching_8cpp.html#ae2abaa9caa13fff35e45edca00bee123',1,'brute_force_string_searching.cpp']]],
- ['tests_1607',['tests',['../d5/d67/complex__numbers_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): complex_numbers.cpp'],['../d7/d89/double__factorial_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): double_factorial.cpp'],['../d4/d21/least__common__multiple_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): least_common_multiple.cpp'],['../d6/d42/miller__rabin_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): miller_rabin.cpp'],['../d9/dfd/comb__sort_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): comb_sort.cpp'],['../dd/d0d/insertion__sort_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): insertion_sort.cpp']]],
+ ['tests_1607',['tests',['../d5/d67/complex__numbers_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): complex_numbers.cpp'],['../d7/d89/double__factorial_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): double_factorial.cpp'],['../d4/d21/least__common__multiple_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): least_common_multiple.cpp'],['../d6/d42/miller__rabin_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): miller_rabin.cpp'],['../d8/ddf/sieve__of__eratosthenes_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): sieve_of_eratosthenes.cpp'],['../d9/dfd/comb__sort_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): comb_sort.cpp'],['../dd/d0d/insertion__sort_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): insertion_sort.cpp']]],
['text_5fsearch_2ecpp_1608',['text_search.cpp',['../dc/db5/text__search_8cpp.html',1,'']]],
['tgamma_1609',['tgamma',['http://en.cppreference.com/w/cpp/numeric/math/tgamma.html',0,'std']]],
['th_1610',['TH',['../db/d3c/tower__of__hanoi_8cpp.html#ab037f72a5eac476535a6cfbbcb965417',1,'tower_of_hanoi.cpp']]],
diff --git a/search/functions_10.js b/search/functions_10.js
index f295d691a..19b05a332 100644
--- a/search/functions_10.js
+++ b/search/functions_10.js
@@ -47,7 +47,7 @@ var searchData=
['prev_5fpermutation_3502',['prev_permutation',['http://en.cppreference.com/w/cpp/algorithm/prev_permutation.html',0,'std']]],
['prime_5ffactorization_3503',['prime_factorization',['../db/d0d/prime__factorization_8cpp.html#a0ece0145fb29a5cf48378c23dde2da46',1,'prime_factorization.cpp']]],
['primes_3504',['primes',['../de/d9b/prime__numbers_8cpp.html#a3b91f208e8365c95a295cfe3e67df5c3',1,'prime_numbers.cpp']]],
- ['print_3505',['print',['../d8/ddf/sieve__of__eratosthenes_8cpp.html#ae0de20c22cf2304b1cbe70953d57e7b7',1,'sieve_of_eratosthenes.cpp']]],
+ ['print_3505',['print',['../d8/ddf/sieve__of__eratosthenes_8cpp.html#a235843bdf82d2a6cc8596ae8fd3b8df9',1,'sieve_of_eratosthenes.cpp']]],
['printarray_3506',['printArray',['../d2/d52/heap__sort_8cpp.html#a9ed3e1510afdf3edd06cf2b68769a767',1,'heap_sort.cpp']]],
['printf_3507',['printf',['http://en.cppreference.com/w/cpp/io/c/fprintf.html',0,'std']]],
['priority_5fqueue_3508',['priority_queue',['http://en.cppreference.com/w/cpp/container/priority_queue/priority_queue.html',0,'std::priority_queue']]],
diff --git a/search/functions_13.js b/search/functions_13.js
index cbd38b166..d736a9294 100644
--- a/search/functions_13.js
+++ b/search/functions_13.js
@@ -72,7 +72,7 @@ var searchData=
['shrink_5fto_5ffit_3680',['shrink_to_fit',['http://en.cppreference.com/w/cpp/container/vector/shrink_to_fit.html',0,'std::vector::shrink_to_fit()'],['http://en.cppreference.com/w/cpp/string/basic_string/shrink_to_fit.html',0,'std::string::shrink_to_fit()'],['http://en.cppreference.com/w/cpp/container/deque/shrink_to_fit.html',0,'std::deque::shrink_to_fit()'],['http://en.cppreference.com/w/cpp/string/basic_string/shrink_to_fit.html',0,'std::basic_string::shrink_to_fit()'],['http://en.cppreference.com/w/cpp/string/basic_string/shrink_to_fit.html',0,'std::wstring::shrink_to_fit()'],['http://en.cppreference.com/w/cpp/string/basic_string/shrink_to_fit.html',0,'std::u16string::shrink_to_fit()'],['http://en.cppreference.com/w/cpp/string/basic_string/shrink_to_fit.html',0,'std::u32string::shrink_to_fit()']]],
['shuffle_3681',['shuffle',['http://en.cppreference.com/w/cpp/algorithm/random_shuffle.html',0,'std::shuffle()'],['../d5/d91/namespacesorting.html#aedfb88e2d6fff1871f038221fe5870fe',1,'sorting::shuffle()']]],
['shuffle_5forder_5fengine_3682',['shuffle_order_engine',['http://en.cppreference.com/w/cpp/numeric/random/shuffle_order_engine/shuffle_order_engine.html',0,'std::shuffle_order_engine']]],
- ['sieve_3683',['sieve',['../d8/ddf/sieve__of__eratosthenes_8cpp.html#a1e606c2e5ac180a770ebe0d1706b8ca2',1,'sieve(uint32_t N, bool *isprime): sieve_of_eratosthenes.cpp'],['../d4/d9c/primes__up__to__billion_8cpp.html#a031cada84819ed6426f58e4f7e81261c',1,'Sieve(int64_t n): primes_up_to_billion.cpp']]],
+ ['sieve_3683',['sieve',['../d8/ddf/sieve__of__eratosthenes_8cpp.html#a60fa6579eab0db3c1c0ab1bf6d651be3',1,'sieve(uint32_t N): sieve_of_eratosthenes.cpp'],['../d4/d9c/primes__up__to__billion_8cpp.html#a031cada84819ed6426f58e4f7e81261c',1,'Sieve(int64_t n): primes_up_to_billion.cpp']]],
['sieveoferatosthenes_3684',['SieveOfEratosthenes',['../db/d0d/prime__factorization_8cpp.html#affe577b9bce8f604f5e2f861c63c7099',1,'prime_factorization.cpp']]],
['signal_3685',['signal',['http://en.cppreference.com/w/cpp/utility/program/signal.html',0,'std']]],
['signaling_5fnan_3686',['signaling_NaN',['http://en.cppreference.com/w/cpp/types/numeric_limits/signaling_NaN.html',0,'std::numeric_limits']]],
diff --git a/search/functions_14.js b/search/functions_14.js
index 86298d6bc..53eeb8694 100644
--- a/search/functions_14.js
+++ b/search/functions_14.js
@@ -24,7 +24,7 @@ var searchData=
['test_5ffunction_3805',['test_function',['../d0/d08/realtime__stats_8cpp.html#aa54c915581fcc495489175a4386d59fd',1,'realtime_stats.cpp']]],
['test_5fint_3806',['test_int',['../d3/d4c/quick__sort__3_8cpp.html#a07e5c62de28aeddea986890ce7ac1bda',1,'test_int(): quick_sort_3.cpp'],['../d4/d7a/shell__sort2_8cpp.html#a895b313cb2671e8f712040460325573e',1,'test_int(const int NUM_DATA): shell_sort2.cpp']]],
['test_5flamniscate_3807',['test_lamniscate',['../d9/d49/kohonen__som__trace_8cpp.html#a412b7afa156306b1f8788643c91a1c60',1,'kohonen_som_trace.cpp']]],
- ['tests_3808',['tests',['../d5/d67/complex__numbers_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): complex_numbers.cpp'],['../d7/d89/double__factorial_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): double_factorial.cpp'],['../d4/d21/least__common__multiple_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): least_common_multiple.cpp'],['../d6/d42/miller__rabin_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): miller_rabin.cpp'],['../d9/dfd/comb__sort_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): comb_sort.cpp'],['../dd/d0d/insertion__sort_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): insertion_sort.cpp']]],
+ ['tests_3808',['tests',['../d5/d67/complex__numbers_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): complex_numbers.cpp'],['../d7/d89/double__factorial_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): double_factorial.cpp'],['../d4/d21/least__common__multiple_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): least_common_multiple.cpp'],['../d6/d42/miller__rabin_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): miller_rabin.cpp'],['../d8/ddf/sieve__of__eratosthenes_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): sieve_of_eratosthenes.cpp'],['../d9/dfd/comb__sort_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): comb_sort.cpp'],['../dd/d0d/insertion__sort_8cpp.html#a88ec9ad42717780d6caaff9d3d6977f9',1,'tests(): insertion_sort.cpp']]],
['tgamma_3809',['tgamma',['http://en.cppreference.com/w/cpp/numeric/math/tgamma.html',0,'std']]],
['th_3810',['TH',['../db/d3c/tower__of__hanoi_8cpp.html#ab037f72a5eac476535a6cfbbcb965417',1,'tower_of_hanoi.cpp']]],
['thousands_5fsep_3811',['thousands_sep',['http://en.cppreference.com/w/cpp/locale/moneypunct/thousands_sep.html',0,'std::moneypunct_byname::thousands_sep()'],['http://en.cppreference.com/w/cpp/locale/moneypunct/thousands_sep.html',0,'std::moneypunct::thousands_sep()'],['http://en.cppreference.com/w/cpp/locale/numpunct/thousands_sep.html',0,'std::numpunct_byname::thousands_sep()'],['http://en.cppreference.com/w/cpp/locale/numpunct/thousands_sep.html',0,'std::numpunct::thousands_sep()']]],