NTL库的介绍与vs2012上的编译使用,及NTL.lib编译不成功的错误

本文介绍了如何在Visual Studio 2012上编译和使用NTL库,包括解决编译错误的步骤,以及配置测试工程的方法。在编译过程中遇到的问题在于'bool'字符的错误,修复后成功链接库。测试运行的程序速度较慢,建议参考官方例子进行更多实验。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


最近需要用到NTL库,故对该库进行了一些研究。

官方网址在下:

http://www.shoup.net/ntl/

 NTL: A Library for doing Number Theory

NTL is a high-performance, portable C++ library providing data structures and algorithms for manipulating signed, arbitrary length integers, and for vectors, matrices, and polynomials over the integers and over finite fields.

On modern platforms supporting C++11, NTL can be compiled in thread safe and exception safe modes.

If you are interested in contributing to the development of NTL, please contact me (see contact info below). I have a few projects in mind, and would be happy to discuss other ideas as well. 

大概就是说NTL是一个便携高性能的库,提供任意长度整数的结构和算法,以及有限域上的向量、矩阵、多项式计算。

现在已经到了9.7.0版本。

参考http://blog.youkuaiyun.com/xw13106209/article/details/6269651进行编译。由于版本的不同,我给出我编译时的一张截图。

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值