Skip to content

Commit

Permalink
math/fxt: Update to 2024.01.14
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Feb 21, 2024
1 parent 4b6f944 commit d30efc9
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 19 deletions.
2 changes: 1 addition & 1 deletion 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/

Expand Down
6 changes: 3 additions & 3 deletions 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
11 changes: 11 additions & 0 deletions 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 )
56 changes: 41 additions & 15 deletions math/fxt/pkg-plist
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d30efc9

Please sign in to comment.