pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/ntl



Module Name:    pkgsrc
Committed By:   agc
Date:           Sat May 18 18:32:19 UTC 2013

Modified Files:
        pkgsrc/math/ntl: Makefile buildlink3.mk distinfo
        pkgsrc/math/ntl/patches: patch-aa

Log Message:
Update math/ntl to version 6.0.0

Differences from previous version (5.5.2):

        2013.02.15: Changes between NTL 5.5.2 and 6.0

        Replaced the old template-like macros for vectors, matrices, and pairs
        with true template classes:  Vec<T>, Mat<T>, and Pair<S,T>.  For
        backwards compatibilty, all the names that were used in previous
        versions (e.g., vec_ZZ_p, mat_ZZ_p) have been replaced with
        appropriate typedefs.

        For many years, I resisted the temptation of using templates, because
        compiler support was very inconsistent.  But that no longer seems to
        be the case.

        This change, while rather sweeping, should create very few, if any,
        incompatibilities with existing software.  The biggest issue would be
        for software that uses the old template-like macros:  such macro
        invocations can simply be replaced with appropriate typedefs.

        Made the conversion interface more complete and uniform.  Also, using
        template notation, one can and should now write conv<ZZ>(a) instead of
        to_ZZ(a) (for backward compatibility, all the old names to_XXX are
        still there, but many new conversions are not available under these
        old names).  There are many new conversions provided.  Moreover,
        whenever there is a conversion from a ring R to a ring S, there is a
        corresponding, coefficiet-wise conversion from the polynomial ring
        R[X] to the polynomial ring R[X].

        In addition, using the template mechanism, there are generic
        conversions for vectors and matrices.  For example, if there is a
        conversion from S to T, then there is automatically a corresponding
        component-wise conversion from Vec<S> to Vec<T>.

        Introduced a more general mechanism for accessing GF2's in packed
        structures via indexing (see the class ref_GF2 in the GF2 module).
        Employed ideas from David Harvey to make the single-precision FFT
        faster (about twice as fast in many cases).  This speeds up many
        higher-level operations.

        Fixed all known bugs.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/math/ntl/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/math/ntl/buildlink3.mk
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/ntl/distinfo
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/ntl/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index