2012年5月2日

摘要: 上一篇的源码进行优化,将cosx运算提取出来,变成矩阵形式。#include"stdafx.h"#include<string.h>#include<iostream>#include<math.h>usingnamespacestd;#definePI3.1415926int_tmain(intargc,_TCHAR*argv[]){doubledInput[]={0.0,1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0};intiFactor[]={1,1,1,1,0,0,0,0,0,0};doubledOut[ 阅读全文

posted @ 2012-05-02 10:36 我不是牛人 阅读(417) 评论(0) 推荐(0) 编辑