This software calculates a normalized version of the classical spectral test for
linear congruential pseudorandom number generators (LCGs), where the shortest
vector is replaced by an approximation obtained with the Lenstra-Lenstra-Lovasz
basis reduction algorithm, which can be calculated in polynomial time. The code
is able to test in up to 24 dimensions, and includes an example of how to use
the test to search for good LCG parameters.
===> The following configuration options are available for lll_spect-1.0_4:
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
math: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Alessando Sagratini <ale_sagra@hotmail.com>
* Alex Dupre <ale@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Amarendra Godbole <amarendra.godbole@gmail.com>
* Anders Nordby <anders@FreeBSD.org>
* Andreas Fehlner (fehlner@gmx.de)
* Andrew L. Neporada <andrew@chg.ru>
* Andrey <gugu@zoo.rambler.ru>
* Andrey Zakhvatov
(Only the first 15 lines of the commit message are shown above )
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
math/lll_spect: fix build
Add USES=compiler:c++11-lang to fix build:
/usr/local/include/NTL/vector.h: In copy constructor 'NTL::Vec<T>::Vec(const
NTL::Vec<T>&)':
/usr/local/include/NTL/vector.h:239: error: there are no arguments to
'AllocateTo' that depend on a template parameter, so a declaration of
'AllocateTo' must be available
/usr/local/include/NTL/vector.h:241: error: there are no arguments to
'AdjustLength' that depend on a template parameter, so a declaration of
'AdjustLength' must be available
/usr/local/include/NTL/vector.h: At global scope:
/usr/local/include/NTL/vector.h:242: error: expected unqualified-id at end of
input
/usr/local/include/NTL/vector.h:242: error: expected `}' at end of input
Approved by: mentors (implicite approval)
Fix ports that confused the meaning of WRKDIR and WRKSRC.
PR: 204056
Submitted by: mat
Reviewed by: bapt
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D2735
Add lll_spect , LLL-spectral test of linear congruential random number
generators.
PR: ports/144023
Submitted by: bf <bf1783 at gmail.com>
Feature safe: yes