Font Size: a A A

Design And Implementation Of Matrix Library Based On Generative Programming

Posted on:2009-08-30Degree:MasterType:Thesis
Country:ChinaCandidate:H TianFull Text:PDF
GTID:2178360242984437Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
In this file, author use generative programming ideology to solve some problem in Object-Orient design(ex. design-intention-loss, performance-loss and low-expansibility). This file realise a matrix computing library using the ideology, solve the performance bottleneck in traditional Object-Orient matrix library used in high-performance computing.Generative programming use domain analysis method to do soma domain-optimization, before final software product out, after the optimization, generator will compose components to get goal module or complete product. This file analysis matrix domain and get feature model, and then realize all components, finally apply template metaprogramming technique in C++, design and realize a generator that can compose components automatically to get goal matrix-type.Successful experiment declare four respects, first it separate question space and solution space, that make it posibble to change two space absolutely. Second, we can describe system specification on higher lever, user needn't to assign all detail of goal matrix, just describe declaration feature to get matrix. Three, less redundance, parameter-difference allow avoid codes that overlapping in most sentences.Four, high performance,the library rearch C code performance write in pure-hand by using plenty of inline functions. Five, good expansibility, a component changing will not affect others, so we can expanse the library easily.Generative programming forecast a great blueprint about next generation software development, it is a big step to all programmer's dream, that is guide ideology industrialized software developmentAt first, this file make a simply presentation about crucial technique used in this library, and then start from analysis programmer's requirement , design the struct of library. In the rear of the file , to detailed expound how to realize all parts of library and technique detail. Finally, the file give a summary about library, and further work to perfect the library.
Keywords/Search Tags:C++, Generative Programming, Template MetaProgramming
PDF Full Text Request
Related items