虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

Operator

  • summing two vectors with Operator overloading

    summing two vectors with Operator overloading

    标签: overloading Operator summing vectors

    上传时间: 2017-09-15

    上传用户:tb_6877751

  • a non-sharing smart pointer class that can be used with STL containers such as std::map, vector, lis

    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.

    标签: non-sharing containers pointer vector

    上传时间: 2015-06-15

    上传用户:Late_Li

  • 一种基于二维链表的稀疏矩阵模半板类设计 A template Class of sparse matrix. Key technology: bin,2-m linked matrix. con

    一种基于二维链表的稀疏矩阵模半板类设计 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.

    标签: matrix technology template linked

    上传时间: 2013-12-13

    上传用户:lwwhust

  • What Does the code DO? Sometimes we may desire to hide our file contents from others.One of the poss

    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 Binary Access Read(Say Source File) * Open a temparory file where encrypted data is stored for Binary Access Write(Say Destination File) * Loop through the Source File Byte by Byte * For each byte read from the file, Complement the data. (Using Not Operator (in C we have to use "~" Operator) * Write Complemented Data to Destination File * Delete the Source File * Rename Destination file as Source File(Now Encryption is over)

    标签: Sometimes the contents desire

    上传时间: 2013-12-25

    上传用户:playboys0

  • Thinking in C++ patiently and methodically explores the issues of when and how to use inlines, refer

    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 fabric that includes Eckel’s own philosophy of object and program design. A must for every C++ developer’s bookshelf, Thinking in C++ is the one C++ book you must have if you’re doing serious development with C++.

    标签: methodically and patiently Thinking

    上传时间: 2014-01-03

    上传用户:it男一枚

  • 华东师范大学(面向对象程序设计基于C++)课程全部作业(12次)代码

    华东师范大学(面向对象程序设计基于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 Overloading 9 Define integer type with arbitrary precision 10 Virtual functions 11 Templates 12 Exception handling

    标签: 大学 代码 对象 程序设计

    上传时间: 2016-02-24

    上传用户:baiom

  • the attached utility is a work I ve submitted to the university It shows what a jpeg compression is

    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.

    标签: compression university the submitted

    上传时间: 2014-01-15

    上传用户:Altman

  • /*目的:使一個複數可顯數出來

    /*目的:使一個複數可顯數出來,可做+-/*,還要可以做>>跟<<的功能 題目:定義一個複數的class叫Complex,a(實部)與b(虛部)為double的型態,i表示根號-1, 1.必須包含一個建構子有兩個參數(double型態),能被用來設定物件中的變數為任意值 2.包含一個建構子只有一個參數(double型態),呼叫參數的實部且定義為"實部+0i" 3.包含一個預建構子可把物件初始化為0+0i 4.overload以下的Operator以致於可以正確的執行:+ - * / << >> */

    标签:

    上传时间: 2013-12-27

    上传用户:lindor

  • 1

    1, 表达式一般由操作数(operand),运算符(Operator)和界限符(delimiter)组成。操作数可以有常数,变量或者标识符。运算符分为算术运算符,关系运算符和逻辑运算符。基本界限符有左右括号和表达式结束符号。为了程序简单,仅讨论简单算术表达式的求值问题。这种表达式只含加,减,乘,除和四则运算符,括号以及结束符‘#’。 2, 算法基本思想:  建立两个栈:一个是操作数栈(Stack_nd),用以寄存操作数或运算结果;另一个是运算符栈(Stack_tr),用以寄存运算符和界限符。  依次读入表达式中的字符,若是操作数则压进操作数栈(Stack_nd),若是运算符,则与运算栈(Stack_tr)的栈顶元素比较优先级,根据比较的结果进行相应的操作。 3, 规定算符间的优先级;算符q1与q2至多是下面三种关系之一:  q1<q2 q1的优先权低于q2  q1=q2 q1的优先权等于 q2  q1>q2 q1的优先权高于 q2

    标签:

    上传时间: 2013-12-21

    上传用户:FreeSky

  • GloptiPoly 3: moments, optimization and semidefinite programming. Gloptipoly 3 is intended to so

    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 theoretical viewpoint, the GPM has developments and impact in various areas of mathematics such as algebra, Fourier analysis, functional analysis, Operator theory, probability and statistics, to cite a few. In addition, and despite a rather simple and short formulation, the GPM has a large number of important applications in various fields such as optimization, probability, finance, control, signal processing, chemistry, cristallography, tomography, etc. For an account of various methodologies as well as some of potential applications, the interested reader is referred to [1, 2] and the nice collection of papers [5].

    标签: optimization semidefinite programming GloptiPoly

    上传时间: 2016-06-05

    上传用户:lgnf