节点文献
通用矩阵与矢量模板类的分析与应用
Analysis and Application of Versatile Matrix and Vector Template Class
【摘要】 基于面向对象技术定义了矩阵和矢量两种模板类,利用运算符重载实现了矩阵、矢量和数之间的常规运算,对于具有不同特性的矩阵,采用了节省的贮存方式,并实现了不同贮存方式下矩阵相互之间的计算,表明所建立的模板类具有通用性,所开发的代码可重复利用率高,而且易于维护和扩充
【Abstract】 Matrix and vector template classes are defined based upon object oriented technology(OOT).The conventional computation among matrix,vector and number is realized by overriding operators.According to the property of matrix,the scanty reserve way of object data is used,and the computation between matrixes with different reserve way is realized.The template classes is versatile,the program codes can be effectively reused,maintained and extended.
【关键词】 模板类;
矩阵;
矢量;
面向对象技术;
【Key words】 template class; matrix; vector; object oriented technology(OOT);
【Key words】 template class; matrix; vector; object oriented technology(OOT);
【基金】 国家自然科学基金
- 【文献出处】 湖南大学学报(自然科学版) ,JOURNAL OF HUNAN UNIVERSITY(NATURNAL SCIENCE) , 编辑部邮箱 ,1999年05期
- 【分类号】TP311
- 【被引频次】11
- 【下载频次】75