84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
编写程序时,循环过程中有一矩阵公式,使用matlab写时,是可以参与运算的,最后得出的迭代结果也是会变化的,但是用C++编写时,发现得出的结果每一次基本没有发生变化,然后该矩阵中都是分数或者是0,分母都很大,但是C++的精度不是要比matlab的精度要好一些吗?为什么此时的结果会基本不变呢?
光阴似箭催人老,日月如移越少年。
Are you using int, float or double? At least post some code
Are you using int, float or double? At least post some code