diff --git a/math/fxt/Makefile b/math/fxt/Makefile index 0c5325cafac32..bbe0d258fb429 100644 --- a/math/fxt/Makefile +++ b/math/fxt/Makefile @@ -1,5 +1,5 @@ PORTNAME= fxt -PORTVERSION= 2023.12.22 +PORTVERSION= 2024.01.14 CATEGORIES= math MASTER_SITES= https://www.jjj.de/fxt/ diff --git a/math/fxt/distinfo b/math/fxt/distinfo index 9198518accc40..d52e29e053f27 100644 --- a/math/fxt/distinfo +++ b/math/fxt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1703495789 -SHA256 (fxt-2023.12.22.tar.gz) = d413332920a6b48ca7e1dc0fedd9781c05415d564509b4705547992caec437fa -SIZE (fxt-2023.12.22.tar.gz) = 1866147 +TIMESTAMP = 1708448932 +SHA256 (fxt-2024.01.14.tar.gz) = b9ccc9f34985ae882bda999fa6028a3b354bcc335df450262b784ced6df13d44 +SIZE (fxt-2024.01.14.tar.gz) = 1565150 diff --git a/math/fxt/files/patch-src-walsh-square-wave-transform.cc b/math/fxt/files/patch-src-walsh-square-wave-transform.cc new file mode 100644 index 0000000000000..9b4a60129dc5a --- /dev/null +++ b/math/fxt/files/patch-src-walsh-square-wave-transform.cc @@ -0,0 +1,11 @@ +--- src/walsh/square-wave-transform.cc.orig 2023-12-24 11:20:28 UTC ++++ src/walsh/square-wave-transform.cc +@@ -44,7 +44,7 @@ void + swt_normalize(double *f, ulong n) + // Normalization for the square wave transform. + { +- constexpr double s2 = sqrt(0.5); ++ double s2 = sqrt(0.5); + if ( n <= 2 ) + { + if ( n == 2 ) diff --git a/math/fxt/pkg-plist b/math/fxt/pkg-plist index 7519fb4fd525e..37465b9fbb9a1 100644 --- a/math/fxt/pkg-plist +++ b/math/fxt/pkg-plist @@ -16,7 +16,6 @@ include/fxt/aux0/sincos.h include/fxt/aux0/sumdiff.h include/fxt/aux0/swap.h include/fxt/aux0/tex-line.h -include/fxt/aux0/version.h include/fxt/aux1-all.h include/fxt/aux1/arith1.h include/fxt/aux1/bytescan.h @@ -232,7 +231,7 @@ include/fxt/comb/composition-nz-weakly-unimodal.h include/fxt/comb/composition-nz.h include/fxt/comb/composition-rank.h include/fxt/comb/composition-unimodal.h -include/fxt/comb/cyclic-perm.h +include/fxt/comb/cyclic-perm-gray.h include/fxt/comb/cyclic-words.h include/fxt/comb/debruijn.h include/fxt/comb/delta2gray.h @@ -293,6 +292,9 @@ include/fxt/comb/kperm-lex.h include/fxt/comb/ksubset-gray.h include/fxt/comb/ksubset-lex.h include/fxt/comb/ksubset-rec.h +include/fxt/comb/ksubset-twoclose-list-rec.h +include/fxt/comb/ksubset-twoclose-list.h +include/fxt/comb/ksubset-twoclose-rec.h include/fxt/comb/ksubset-twoclose.h include/fxt/comb/lex-compare.h include/fxt/comb/lindenmayer-system.h @@ -304,6 +306,8 @@ include/fxt/comb/max-subrange-sum.h include/fxt/comb/mixedradix-aux.h include/fxt/comb/mixedradix-endo-gray.h include/fxt/comb/mixedradix-endo.h +include/fxt/comb/mixedradix-fixed-content-lex.h +include/fxt/comb/mixedradix-fixed-content.h include/fxt/comb/mixedradix-gray.h include/fxt/comb/mixedradix-gslex-alt.h include/fxt/comb/mixedradix-gslex.h @@ -316,7 +320,6 @@ include/fxt/comb/mixedradix-rev.h include/fxt/comb/mixedradix-sl-gray-compare.h include/fxt/comb/mixedradix-sl-gray-rank.h include/fxt/comb/mixedradix-sl-gray.h -include/fxt/comb/mixedradix-sod-lex.h include/fxt/comb/mixedradix-subset-lex-rank.h include/fxt/comb/mixedradix-subset-lex.h include/fxt/comb/mixedradix-subset-lexrev.h @@ -404,11 +407,13 @@ include/fxt/comb/perm-rot.h include/fxt/comb/perm-st-gray.h include/fxt/comb/perm-st-pref.h include/fxt/comb/perm-st.h +include/fxt/comb/perm-star-inv.h include/fxt/comb/perm-star-swaps.h include/fxt/comb/perm-star.h include/fxt/comb/perm-trotter-lg.h include/fxt/comb/perm-trotter.h include/fxt/comb/perm1-prefix-cond.h +include/fxt/comb/perm1-topsort.h include/fxt/comb/print-arrangement-rgs-perm.h include/fxt/comb/print-catalan-path-aa.h include/fxt/comb/print-catalan-step-rgs-aa.h @@ -434,13 +439,14 @@ include/fxt/comb/setpart-ck-rgs.h include/fxt/comb/setpart-noncrossing-ll.h include/fxt/comb/setpart-noncrossing-rgs.h include/fxt/comb/setpart-p-rgs-lex.h -include/fxt/comb/setpart-rgs-fixed-content.h +include/fxt/comb/setpart-rgs-fixed-content-vec.h include/fxt/comb/setpart-rgs-gray.h include/fxt/comb/setpart-rgs-lex.h include/fxt/comb/setpart-rgs-subset-lex.h include/fxt/comb/setpart-s-zero-map-rgs.h include/fxt/comb/setpart-zero-map-rgs.h include/fxt/comb/setpart.h +include/fxt/comb/signed-perm-gray.h include/fxt/comb/signed-perm.h include/fxt/comb/skew-binary.h include/fxt/comb/smooth-rfact-rgs.h @@ -451,12 +457,14 @@ include/fxt/comb/subset-gray-delta.h include/fxt/comb/subset-gray.h include/fxt/comb/subset-lex-compare.h include/fxt/comb/subset-lex.h +include/fxt/comb/subset-sl-gray.h include/fxt/comb/test-gray.h include/fxt/comb/tree-lev-seq-aux.h include/fxt/comb/tree-lev-seq.h -include/fxt/comb/weakly-unimodal-rgs-lex.h +include/fxt/comb/weakly-unimodal-map-lex.h include/fxt/comb/wfl-hilbert.h include/fxt/comb/word-stats.h +include/fxt/comb/young-tab-fixed-shape.h include/fxt/comb/young-tab-rgs-descents.h include/fxt/comb/young-tab-rgs-subset-lex.h include/fxt/comb/young-tab-rgs.h @@ -859,6 +867,8 @@ lib/libfxt.a %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/ascent-rgs-stats-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/ascent-rgs-subset-lex-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/ascent-rgs-subset-lex-out.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/attic/combination-lam-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/attic/combination-lam-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/attic/dyck-pref2-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/attic/dyck-pref2-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/attic/mixedradix-gray2-demo.cc @@ -949,8 +959,6 @@ lib/libfxt.a %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/combination-enup-rec-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/combination-gray-rec-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/combination-gray-rec-out.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/combination-lam-demo.cc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/combination-lam-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/combination-lex-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/combination-lex-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/combination-mod-demo.cc @@ -1037,8 +1045,8 @@ lib/libfxt.a %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/composition-unimodal-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/conference-quadres-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/conference-quadres-out.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/cyclic-perm-demo.cc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/cyclic-perm-out.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/cyclic-perm-gray-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/cyclic-perm-gray-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/debruijn-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/debruijn-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/descent-rgs-demo.cc @@ -1108,7 +1116,13 @@ lib/libfxt.a %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/ksubset-rec-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/ksubset-rec-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/ksubset-twoclose-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/ksubset-twoclose-list-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/ksubset-twoclose-list-out.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/ksubset-twoclose-list-rec-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/ksubset-twoclose-list-rec-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/ksubset-twoclose-out.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/ksubset-twoclose-rec-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/ksubset-twoclose-rec-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/lyndon-factorization-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/lyndon-factorization-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/lyndon-words-demo.cc @@ -1124,6 +1138,10 @@ lib/libfxt.a %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-endo-gray-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-endo-gray-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-endo-out.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-fixed-content-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-fixed-content-lex-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-fixed-content-lex-out.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-fixed-content-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-gray-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-gray-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-gslex-alt-demo.cc @@ -1147,8 +1165,6 @@ lib/libfxt.a %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-sl-gray-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-sl-gray-rec-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-sl-gray-rec-out.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-sod-lex-demo.cc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-sod-lex-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-subset-lex-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-subset-lex-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/mixedradix-subset-lexrev-demo.cc @@ -1381,6 +1397,8 @@ lib/libfxt.a %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/perm-trotter-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/perm1-prefix-cond-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/perm1-prefix-cond-out.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/perm1-topsort-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/perm1-topsort-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/perm2fact-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/perm2fact-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/rgs-fincr-demo.cc @@ -1419,8 +1437,8 @@ lib/libfxt.a %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/setpart-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/setpart-p-rgs-lex-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/setpart-p-rgs-lex-out.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/setpart-rgs-fixed-content-demo.cc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/setpart-rgs-fixed-content-out.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/setpart-rgs-fixed-content-vec-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/setpart-rgs-fixed-content-vec-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/setpart-rgs-gray-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/setpart-rgs-gray-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/setpart-rgs-lex-demo.cc @@ -1434,6 +1452,8 @@ lib/libfxt.a %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/shift-subsets-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/shift-subsets-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/signed-perm-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/signed-perm-gray-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/signed-perm-gray-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/signed-perm-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/skew-binary-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/skew-binary-out.txt @@ -1457,12 +1477,14 @@ lib/libfxt.a %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/subset-gray-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/subset-lex-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/subset-lex-out.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/subset-sl-gray-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/subset-sl-gray-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/tree-lev-seq-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/tree-lev-seq-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/tree-lev-seq-stats-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/tree-lev-seq-stats-out.txt -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/weakly-unimodal-rgs-lex-demo.cc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/weakly-unimodal-rgs-lex-out.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/weakly-unimodal-map-lex-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/weakly-unimodal-map-lex-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/wfl-hilbert-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/wfl-hilbert-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/comb/young-tab-rgs-demo.cc @@ -1503,6 +1525,8 @@ lib/libfxt.a %%PORTEXAMPLES%%%%EXAMPLESDIR%%/fft/mers-haar-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/fft/mers-walsh-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/fft/mers-walsh-out.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fft/square-wave-basis-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fft/square-wave-basis-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/fft/walsh-basis-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/fft/walsh-basis-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/fft/walsh-bench.cc @@ -1762,6 +1786,8 @@ lib/libfxt.a %%PORTEXAMPLES%%%%EXAMPLESDIR%%/seq/A278479-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/seq/A309807-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/seq/A309807-out.txt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/seq/A368948-demo.cc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/seq/A368948-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sort/equivclass-bitstring-demo.cc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sort/equivclass-bitstring-out.txt %%PORTEXAMPLES%%%%EXAMPLESDIR%%/sort/equivclass-bracelets-demo.cc