From e39e6d41a71ac9ca812c9d73be7850bcae91fae6 Mon Sep 17 00:00:00 2001 From: Seb James Date: Wed, 21 Jan 2026 10:32:18 +0000 Subject: [PATCH 1/7] The API for bootstrap functions changed (namespaced now, not in a class) --- examples/bootstrap.cpp | 6 +++--- maths | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/bootstrap.cpp b/examples/bootstrap.cpp index 36c956fc..5b11cffc 100644 --- a/examples/bootstrap.cpp +++ b/examples/bootstrap.cpp @@ -36,7 +36,7 @@ int main() // Invoke the bootstrap to compute the standard error of the mean unsigned int num_resamples = conf.get("num_resamples", 1024); - double eom = sm::bootstrap::error_of_mean (dist, num_resamples); + double eom = sm::bootstrap::error_of_mean (dist, num_resamples); std::cout << "The bootstrapped, standard error of the mean is " << eom << std::endl; // Graph the distribution, with labels @@ -74,10 +74,10 @@ int main() sm::rand_normal rnorm2 (dist2_mean, dist2_sigma); sm::vvec dist2; dist2.set_from (rnorm2.get(dist2_n)); - double eom2 = sm::bootstrap::error_of_mean (dist2, num_resamples); + double eom2 = sm::bootstrap::error_of_mean (dist2, num_resamples); std::cout << "Bootstrapped error of mean of dist2 is " << eom2 << std::endl; - sm::vec asl = sm::bootstrap::ttest_equalityofmeans (dist, dist2, num_resamples); + sm::vec asl = sm::bootstrap::ttest_equalityofmeans (dist, dist2, num_resamples); std::cout << "Achieved significance level: " << asl[0] << " (with minasl: " << asl[1] << ")\n"; sm::histo h2(dist2, 100); diff --git a/maths b/maths index 0acb70ea..470fe22e 160000 --- a/maths +++ b/maths @@ -1 +1 @@ -Subproject commit 0acb70ea154f031751f9921bc4581e65242f4261 +Subproject commit 470fe22edf6800d17503de673337aee2b1157d85 From ac7314a355a1d555150fa5bf55345f4ebc4029d5 Mon Sep 17 00:00:00 2001 From: Seb James Date: Wed, 21 Jan 2026 10:41:46 +0000 Subject: [PATCH 2/7] An update in maths --- maths | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maths b/maths index 470fe22e..c5f7fc15 160000 --- a/maths +++ b/maths @@ -1 +1 @@ -Subproject commit 470fe22edf6800d17503de673337aee2b1157d85 +Subproject commit c5f7fc15c8d129349ac1da5422ac95f51eac8fd6 From 52e4ed5dd66905cc3d98bee063d44c2d3f9a5ed8 Mon Sep 17 00:00:00 2001 From: Seb James Date: Wed, 21 Jan 2026 10:48:33 +0000 Subject: [PATCH 3/7] Completes docs in maths --- maths | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maths b/maths index c5f7fc15..6ddafef4 160000 --- a/maths +++ b/maths @@ -1 +1 @@ -Subproject commit c5f7fc15c8d129349ac1da5422ac95f51eac8fd6 +Subproject commit 6ddafef4bf082e8ab7bb96921976a4696fe4521f From d437f6e9dd486e4b4f952dec51f33c0cebdbe9b7 Mon Sep 17 00:00:00 2001 From: Seb James Date: Wed, 21 Jan 2026 11:40:02 +0000 Subject: [PATCH 4/7] Another change in maths --- maths | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maths b/maths index 6ddafef4..be65c690 160000 --- a/maths +++ b/maths @@ -1 +1 @@ -Subproject commit 6ddafef4bf082e8ab7bb96921976a4696fe4521f +Subproject commit be65c6900c130be15575ad9fafc59c6711715ad6 From 0787ce41a4cd52fa08e169ad0d0f0615d64688fd Mon Sep 17 00:00:00 2001 From: Seb James Date: Wed, 21 Jan 2026 12:02:26 +0000 Subject: [PATCH 5/7] Very tiny change in maths --- maths | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maths b/maths index be65c690..a4c674e3 160000 --- a/maths +++ b/maths @@ -1 +1 @@ -Subproject commit be65c6900c130be15575ad9fafc59c6711715ad6 +Subproject commit a4c674e3e6f8f73c1dc1ab3ed46c70d235fdde81 From 7e37eff9e0f0afbbb24d936007004f80913250b1 Mon Sep 17 00:00:00 2001 From: Seb James Date: Wed, 21 Jan 2026 12:17:56 +0000 Subject: [PATCH 6/7] More maths changes --- maths | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maths b/maths index a4c674e3..11e580c6 160000 --- a/maths +++ b/maths @@ -1 +1 @@ -Subproject commit a4c674e3e6f8f73c1dc1ab3ed46c70d235fdde81 +Subproject commit 11e580c6884addc64bbfcfdfdcf3ea73f735f8be From 1f6f81186454458a709df2ec80e9082f168f6bc8 Mon Sep 17 00:00:00 2001 From: Seb James Date: Wed, 21 Jan 2026 13:26:14 +0000 Subject: [PATCH 7/7] The maths code is now in main --- maths | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maths b/maths index 11e580c6..534fc8a0 160000 --- a/maths +++ b/maths @@ -1 +1 @@ -Subproject commit 11e580c6884addc64bbfcfdfdcf3ea73f735f8be +Subproject commit 534fc8a07ab12374c0befcf280878f265b3b0203