Skip to content

Commit

Permalink
Add vecuniq, setbinop, sumset
Browse files Browse the repository at this point in the history
  • Loading branch information
danaj committed Aug 25, 2024
1 parent 7ed2214 commit af2d43c
Show file tree
Hide file tree
Showing 16 changed files with 728 additions and 36 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ Revision history for Perl module Math::Prime::Util
- frobenius_number(...) Frobenius number of a set
- vecmex(...) least non-negative value not in list
- vecpmex(...) least positive value not in list
- vecuniq(...) remove duplicates from list of integers
- setbinop {...} \@A[,\@B] apply op to cross product of set(s)
- sumset(\@A[,\@B]) new set from a+b {a:A,b:B}

[FIXES]

Expand Down
4 changes: 4 additions & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ constants.h
ds_bitmask126.h
ds_pagelist32.h
ds_pagelist64.h
ds_iset.h
ds_iset.c
entropy.h
entropy.c
factor.h
Expand Down Expand Up @@ -235,7 +237,9 @@ t/26-powerfree.t
t/26-powerful.t
t/26-powersum.t
t/26-practical.t
t/26-setbinop.t
t/26-smooth.t
t/26-sumset.t
t/26-vec.t
t/26-zeckendorf.t
t/27-bernfrac.t
Expand Down
1 change: 1 addition & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ WriteMakefile1(
'entropy.o ' .
'csprng.o ' .
'chacha.o ' .
'ds_iset.o ' .
'XS.o',
LIBS => ['-lm'],

Expand Down
Loading

0 comments on commit af2d43c

Please sign in to comment.