首页> 中文期刊> 《计算机工程与应用》 >基于VC++复数模板实现一般复矩阵的奇异值分解运算

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

         

摘要

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.%Visual C++以其方便的可视化集成编程环境,高效的代码实现功能,强大的基内库以及兼有低级语言可控制硬件操作的优点,成为一般工程项目的首选软件开发平台。涉及信号处理的实际工程常常需要处理复的数字信号,因此Visual C++下如何实现复数运算是工程技术中软件开发必须面对的问题。该文详细阐述了Visual C++中利用复数模板实现复数运算的方法,给出了一些基本复数运算的实现代码;并基于该方法实现了算法已知的一般复矩阵的奇异值分解(CSVD)运算,很好地满足了实际工程信号处理软件模块的需要,证明了该方法的正确性。发现了Visual C++5.0和Visual C++6.0一个声明的复数模板函数在其标准C++库中没有具体实现,通过编写同名模板函数解决了这一问题。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号