![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++数值计算
文章平均质量分 72
lily854212198
这个作者很懒,什么都没留下…
展开
-
C++中三角函数
为了把现实中的数学公式利用到计算机里面,所以在库中已经实现了很多数学函数的代码,我们直接调用就可以了!用的时候需要加入头文件#include 或者#include using namespace std; 常用函数:abs绝对值函数acos反余弦函数asin反正弦函数atan反正切函数exp e的x次方cos余弦函数sin正弦函数tan正切函数转载 2012-05-12 14:30:40 · 42946 阅读 · 0 评论 -
ublas求矩阵的逆
下面的代码在VS2005和VS2008里面可以编译运行,boost用的是1.35// REMEMBER to update "lu.hpp" header includes from boost-CVS#include #include #include #include #include #include #include #include nam转载 2012-10-07 09:24:22 · 2417 阅读 · 0 评论