本書由知名的C++專家Matthew H.Austern執筆,引導你進入泛型編程思維模型,并將你帶往此一模型的最重要成品:C++ Standard TEMPLATE Library(STL)。本書揭示STL的奧秘,告訴你STL不僅僅是一組方便運用的容器類(container classes)。對于泛型組件和可交互作用的組件而言,STL是一個具備擴充能力的框架(framework)、 《泛型編程與STL》闡述了泛型編程的中心思想:concepts、modeling、refinement,并為你展示這些思想如何導出STL的基礎概念:iterators、containers、function objects。循此路線,你可以把STL想像為一個由concepts(而非明確之functions或classes)組成的程序庫:、你將學習其正式結構并因此獲得其潛在威力所帶來的完整優勢。本書使你能夠: ●以你自己的“可移植組件”及“可交互作用之泛型組件”擴充STL; ●產生一些算法,讓它們和它們所處理之型別(types)及數據結構徹底劃清界線; ●撰寫更精致、更高效、更有效力的代碼,可跨平臺重復使用。
上傳時間: 2014-01-06
上傳用戶:Avoid98
This book systematically introduced the Standard C Library and the C++ library, C++ Standard TEMPLATE Library.The features are presented both in alphabetic order and by category.
標簽: Standard systematically introduced the
上傳時間: 2015-11-14
上傳用戶:semi1981
We propose a novel approach for head tracking, which combines particle filters with Isomap. The particle filter works on the low-dimensional embedding of training images. It indexes into the Isomap with its state variables to find the closest TEMPLATE for each particle. The most weighted particle approximates the location of head. We develop a synthetic video sequence to test our technique. The results we get show that the tracker tracks the head which changes position, poses and lighting conditions.
標簽: approach combines particle tracking
上傳時間: 2016-01-02
上傳用戶:yy541071797
《C++標準程序庫》本書不僅對每一個程序庫組件提供范圍廣泛的說明,也對繁復的觀念提供清楚明亮的解釋,并描述高效運用這些組件時需要的實際編程細節,提出一個又一個的范例程序。本書是一本包含最新資料的完整書籍。反映出被ANSI/ISO C++語言標準規格書納入C++標準程序庫的最新組成。更明確地說,本書將焦點放在標準模板庫(Standard TEMPLATE Library)身上,檢驗其中的容器(containers)
上傳時間: 2016-02-27
上傳用戶:qiaoyue
26.編寫一個具有如下樣式的類模板tmplt,用于實現所謂的反序輸出問題,其中使用了類型參數T(使所處理的元素類型可變化)以及普通參數n(元素個數也可變化): TEMPLATE <class T, int n> class tmplt { T arr[n] // n個T類型的數據存放于數組arr之中 public: void dataIn() //從鍵盤輸入n個T類型數據放入arr數組中 void reverseOut() //將arr數組中的數據按輸入的相反順序輸出 } 而后編制主函數,將類模板實例化為某個具體的類并說明類對象,之后通過對象調用其負責輸入數據的成員函數,再通過對象調用另一成員函數按反序輸出那些輸入數據。
上傳時間: 2014-01-07
上傳用戶:xiaoxiang
File name: main.c ** Last modified Date: 2006-09-26 ** Last Version: 1.0 ** Descriptions: The main() function example TEMPLATE ** **------------------------------------------------------------------------------------------------------ ** Created by: ** Created date: 2006-09-16 ** Version: 1.0 ** Descriptions: The original version ** **------------------------------------------------------------------------------------------------------ ** Modified by: Driver IC:ili9320 18BIT ** Modified date: vcs320240-2006-0 ** Version: ** Descriptions:
標簽: Last Descriptions modified Version
上傳時間: 2016-04-01
上傳用戶:R50974
多項式曲線擬合 任意介數 Purpose - Least-squares curve fit of arbitrary order working in C++ Builder 2007 as a TEMPLATE class, using vector<FloatType> parameters. Added a method to handle some EMathError exceptions. If do NOT want to use this just call PolyFit2 directly. usage: Call PolyFit by something like this. CPolyFit<double> PolyFitObj double correlation_coefficiant = PolyFitObj.PolyFit(X, Y, A) where X and Y are vectors of doubles which must have the same size and A is a vector of doubles which must be the same size as the number of coefficients required. returns: The correlation coefficient or -1 on failure. produces: A vector (A) which holds the coefficients.
標簽: Least-squares arbitrary Purpose Builder
上傳時間: 2013-12-18
上傳用戶:宋桃子
程序設計當中經常會出現使用同種數據結構的不同實例的情況。例如:在一個程序中 可以使用多個隊列、樹、圖等結構來組織數據。同種結構的不同實例,也許只在數據元素 的類型或數量上略有差異,如果對每個實例都重新定義,則非常麻煩且容易出錯。那么能 否對同種類型數據結構僅定義一次呢?答案是肯定的,C++提供的類模板(Class TEMPLATE )就可以實現該功能。
上傳時間: 2014-01-19
上傳用戶:zl5712176
This m file models a DPSK UWB system using a delay in one leg of the mixer, correlation receiver low pass filter combination requiring no TEMPLATE for synching. Various waveforms are displayed throughout the system to allow the user to observe operation of the system.
標簽: correlation receiver models system
上傳時間: 2013-12-25
上傳用戶:yyyyyyyyyy
c++二、通過將其元素插入到雙向鏈表中的方法對數組A進行排序。算法對鏈表的當前操作位置進行維護,當需要插入表項時,若新元素比當前位置值要大,則往前移動;若小則往后移動。編寫函數DoubleSort實現上述排序算法。 TEMPLATE <class T> void DoubliSort( T a[], int n)
上傳時間: 2013-12-03
上傳用戶:gundamwzc