期刊文献+

基于VC++复数模板实现一般复矩阵的奇异值分解运算

Complex Number Operation Using Complex Template in Visual C++
下载PDF
导出
摘要 Visual C++以其方便的可视化集成编程环境,高效的代码实现功能,强大的基内库以及兼有低级语言可控制硬件操作的优点,成为一般工程项目的首选软件开发平台。涉及信号处理的实际工程常常需要处理复的数字信号,因此Visual C++下如何实现复数运算是工程技术中软件开发必须面对的问题。该文详细阐述了VisualC++中利用复数模板实现复数运算的方法,给出了一些基本复数运算的实现代码;并基于该方法实现了算法已知的一般复矩阵的奇异值分解(CSVD)运算,很好地满足了实际工程信号处理软件模块的需要,证明了该方法的正确性。发现了 Visual C++5.0和Visual C++6.0一个声明的复数模板函数在其标准C++库中没有具体实现,通过编写同名模板函数解决了这一问题。 Visual C++ is often the first option for engineering projects' software development platform,because of its convenient Integrated Development Environment (IDE),high-efficient code implement capacity, comprehensive Microsoft Foundation Class Library (MFC),as well as advantages of controlling hardware operation which is characteristics of low level languages such as MASM. Processing complex digital signals is often a must in engineering projects involved with signal processing. So that how to realize complex numbers operation in Visual C++ appears in software development of actual engineering project. Method of complex number operation based on complex template of Visual C++ is investigated in detail in this paper,a set of source codes of basic complex number operation are given out;And its application on Singular Value Decomposition (SVD)of a general complex matrix,which meets the requirement arising in software development of signal processing module of our project very well and is illustrated for the validity of the method,is given out. At the same time,the loss of implement of a template function in Standard C++ Library is detected out,although it is declared in the std namespace of Visual C++5.0 and Visual C++6.0. The problem is solved through writing one template function of the same name by hand.
出处 《计算机工程与应用》 CSCD 北大核心 2001年第1期20-22,共3页 Computer Engineering and Applications
基金 国家863高科技计划资助项目!(项目编号:818-01-02)
关键词 VC++ 软件开发 复数模板 复矩阵 奇异值分解 Visual C++,Template Class,Template Function,Complex Matrix,Singular Value Decomposition(SVD)
  • 相关文献

参考文献1

  • 1[1]David J,Kruglinski.Programming Visual C++.fifth edition,Microsoft Press,1998

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部