a non-sharing smart pointer class that can be used with STL containers such as std::map, vector, list, set, and deque. The smart pointer has an assignment operator and greater than operator that call the target object s operator.
一种基于二维链表的稀疏矩阵模半板类设计
A template Class of sparse matrix.
Key technology: bin,2-m linked matrix.
constructors: 1.normal constuctor 2.copy constuctor. 3.assignment constructor.
Basic operator: 1. addition(sub) of two matrix
2. inverse of a matrix.
3. multiply of two matrix.
etc ...
What Does the code DO? Sometimes we may desire to hide our file contents from others.One of the possible way is encrypting these files.Here a simple encryption technique is used(In VB - The same technique can be implemented in "c" also.) Program flow Explained * Open the File to be encrypted for Bin ...
Thinking in C++ patiently and methodically explores the issues of when and how to use inlines, references, operator overloading, inheritance and dynamic objects, as well as advanced topics such as the proper use of templates, exceptions and multiple inheritance. The entire effort is woven in a fabri ...
华东师范大学(面向对象程序设计基于C++)课程全部作业(12次)代码,包含一个大整数类。(包含作业内容)
1 How to use VC++ & IBM Visual Age (XL) C++
2 Pointers, Arrays and Structures
3 Operators & Statements
4 Functions
5 Use of classes in STL
6 Define concrete classes
7 Data abstraction
8 Operator Overloadi ...
the attached utility is a work I ve submitted to the university
It shows what a jpeg compression is all about.
the function implements the DCT transform, using a matrix operator.
note that matlab has a function for the DCT and iDCT transforms
that might be more efficient.
GloptiPoly 3: moments, optimization and
semidefinite programming.
Gloptipoly 3 is intended to solve, or at least approximate, the Generalized Problem of
Moments (GPM), an infinite-dimensional optimization problem which can be viewed as
an extension of the classical problem of moments [8]. From a th ...