pkgsrc/math/ntl/buildlink3.mk
agc 18df049659 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.
2013-05-18 18:32:19 +00:00

15 lines
348 B
Makefile

# $NetBSD: buildlink3.mk,v 1.9 2013/05/18 18:32:19 agc Exp $
BUILDLINK_TREE+= ntl
.if !defined(NTL_BUILDLINK3_MK)
NTL_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ntl+= ntl>=6.0.0
BUILDLINK_ABI_DEPENDS.ntl+= ntl>=6.0.0
BUILDLINK_PKGSRCDIR.ntl?= ../../math/ntl
.include "../../devel/gmp/buildlink3.mk"
.endif # NTL_BUILDLINK3_MK
BUILDLINK_TREE+= -ntl