首页 | 本学科首页   官方微博 | 高级检索  
     

基于VC++复数模板实现一般复矩阵的奇异值分解运算
引用本文:杨绍麟,柯亨玉,吴世才.基于VC++复数模板实现一般复矩阵的奇异值分解运算[J].计算机工程与应用,2001,37(1):20-22.
作者姓名:杨绍麟  柯亨玉  吴世才
作者单位:武汉大学电子信息学学院
基金项目:国家863高科技计划资助项目!(项目编号:818-01-02)
摘    要:Visual C++以其方便的可视化集成编程环境,高效的代码实现功能,强大的基内库以及兼有低级语言可控制硬件操作的优点,成为一般工程项目的首选软件开发平台。涉及信号处理的实际工程常常需要处理复的数字信号,因此Visual C++下如何实现复数运算是工程技术中软件开发必须面对的问题。该文详细阐述了VisualC++中利用复数模板实现复数运算的方法,给出了一些基本复数运算的实现代码;并基于该方法实现了算法已知的一般复矩阵的奇异值分解(CSVD)运算,很好地满足了实际工程信号处理软件模块的需要,证明了该方法的正确性。发现了 Visual C++5.0和Visual C++6.0一个声明的复数模板函数在其标准C++库中没有具体实现,通过编写同名模板函数解决了这一问题。

关 键 词:Visual  C++  模板类  模板函数  复矩阵  奇异值分解
修稿时间:2000年9月1日

Complex Number Operation Using Complex Template in Visual C++
Yang Shaolin,KE Hengyu,WU Shicai.Complex Number Operation Using Complex Template in Visual C++[J].Computer Engineering and Applications,2001,37(1):20-22.
Authors:Yang Shaolin  KE Hengyu  WU Shicai
Abstract: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.
Keywords:Visual C++  Template Class  Template Function  Complex Matrix  Singular Value Decomposition(SVD)
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号