Description: /*目的:使一個複數可顯數出來,可做+-/*,還要可以做>>跟<<的功能
題目:定義一個複數的class叫Complex,a(實部)與b(虛部)為double的型態,i表示根號-1,
1.必須包含一個建構子有兩個參數(double型態),能被用來設定物件中的變數為任意值
2.包含一個建構子只有一個參數(double型態),呼叫參數的實部且定義為"實部+0i"
3.包含一個預建構子可把物件初始化為0+0i
4.overload以下的operator以致於可以正確的執行:+ - * / << >>
*/-/* Purpose: To make a plural number may be significantly out of 2B !-/*, can also can be done>> with <<the function of the subject: the definition of the class is called a plural Complex, a (real part) and b (virtual Department) for the double type, i said kan-1,1 No.. must contain a sub-construct two parameters (double type), can be used to set object variables for arbitrary value of 2. contains a sub-construct There is only one parameter (double type), call parameters and the real part is defined as the real part of+ 0i 3. contains a pre-construction sub-object can be initialized to 0+ 0i4.overload below so operator can correct the implementation of:+-*/<<>>* / Platform: |
Size: 3072 |
Author:Mjuos Joun Bill |
Hits:
Description: 家电维修管理系统 E语言开发
“家电维修管理系统”软件。这是专为家电维修行业定制的集维修、元件管理、元件销售、店面日常工作记录及维修售后服务管理为一体的专业软件。软件的最大特点,紧紧围绕家电维修行业的实际需要。元器件管理采用表格和图形结构,直观方便,界面亲切友好。采用了图形模式实现大量复杂枯燥的经营分析,使管理分析乐趣无穷。是个人和老板公司 的好助手-Appliance maintenance management system E language development appliance maintenance management system software. This is specifically for the home appliance maintenance industry set customized maintenance, components management and component sales, record store day-to-day management and maintenance of after-sales service into a professional software. The most important feature of the software, tightly around the appliance repair industry, the actual needs. Components management structure of the use of tables and graphics, intuitive convenient, cordial and friendly interface. Using graphics mode to achieve a large number of complex boring business analysis, management analysis to make fun, as usual. Individuals and companies is a good assistant boss Platform: |
Size: 1502208 |
Author:red |
Hits:
Description: FFT,即为快速傅氏变换,是离散傅氏变换的快速算法,它是根据离散傅氏变换的奇、偶、虚、实等特性,对离散傅立叶变换的算法进行改进获得的。它对傅氏变换的理论并没有新的发现,但是对于在计算机系统或者说数字系统中应用离散傅立叶变换,可以说是进了一大步。 设x(n)为N项的复数序列,由DFT变换,任一X(m)的计算都需要N次复数乘法和N-1次复数加法,而一次复数乘法等于四次实数乘法和两次实数加法, -FFT, fast Fourier transform which is a discrete fast Fourier transform algorithm, which is the discrete Fourier transform of the odd and even, true, false, such as characteristics of the Discrete Fourier Transform algorithm obtained. Fourier transform theory it is not a new discovery, but in the computer system or the application of digital systems Discrete Fourier Transform, can be said to be a big step. Set x (n) for N sequences of the plural, by the DFT transform, either X (m) requires the calculation of complex multiplication and N times N-1 times the plural adder, and a complex multiplication is equivalent to four times the number of multiplication and two real addition, Platform: |
Size: 1024 |
Author:常虎 |
Hits:
Description: 倒立摆是一种复杂、时变、非线性、强耦合、自然不稳定的高阶系统,许多抽象的控制理论概念都可以通过倒立摆实验直观的表现出来。基于人工神经网络BP算法的倒立摆小车实验仿真训练模型,其倒立摆BP网络为4输入3层结构。输入层分别为小车的位移和速度、摆杆偏离铅垂线的角度和角速度。隐含层单元数16个。输出层设置为1个输出单元。输入层采用Tansig函数,隐含层采用Logsig函数,输出层采用Purelin函数。用Matlab 6.5数值计算软件对模型进行学习训练,并与线性反馈控制逻辑算法对比,表明倒立摆控制BP算法精度高、收敛快,在非线性控制、鲁棒控制等领域具有良好的应用前景。 -Inverted pendulum is a complex, time-varying, nonlinear, strong coupling, the natural instability of the high-end systems, many of the abstract concept of control theory to pass through the inverted pendulum experiment demonstrated intuitive. Based on artificial neural network BP algorithm inverted pendulum experiment simulation training model car, the Inverted Pendulum BP network input 3-layer structure of 4. Input layer, respectively, for the car s displacement and speed of deviation from the plumb line placed under the angle and angular velocity. Hidden layer unit number 16. Output layer is set to an output unit. Tansig function using input layer, hidden layer Logsig function used, the output layer Purelin function. Numerical calculation using Matlab 6.5 software for learning and training model, and linear feedback control logic algorithm comparison, show that the inverted pendulum control of BP algorithm and high precision, fast convergence in nonlinear control, robust control and Platform: |
Size: 217088 |
Author:月到风来AA |
Hits:
Description: 这是VB编程RS232串口(COM口)控制的D/A(数模转换)转换板的上位机演示程序。通过电脑串口(或其他具有串口的单片机、PLC、DSP)发个简单的可视ASCII指令,便可以方便地控制8个数模转换通道输出设定的电压值。比如,电脑串口输出字符串"C2V2660"到本控制板,则控制板将控制2号通道输出2.66V电压;电脑串口输出字符串"C6V3060"到本控制板,则控制板将控制6号通道输出3.06V电压.指令非常简单,完全不需了解复杂的硬件及时序控制。-This is a VB programming RS232 serial port (COM port) control D/A (digital-analog conversion) conversion board host computer demonstration program. Via the computer serial port (or other serial port of the microcontroller, PLC, DSP) made a simple visual ASCII commands, they can easily control the number of eight-channel DAC output set voltage. For example, the computer serial output string " C2V2660" to this control panel, then the control board will control 2-channel output 2.66V voltage computer serial output string " C6V3060" to this control panel, then the control board will control the 6 channel output voltage is 3.06V. instruction is very simple, completely without understanding of complex hardware and timing control. Platform: |
Size: 1024 |
Author:李兰 |
Hits:
Description: makefile关系到了整个工程的编译规则。一个工程中的源文件不计数,其按类型、功能、模块分别放在若干个目录中,makefile定义了一系列的规则来指定,哪些文件需要先编译,哪些文件需要后编译,哪些文件需要重新编译,甚至于进行更复杂的功能操作。-related to the makefile to compile the whole project and the rules. A project in the source file does not count, its by type, function, modules were placed in a number of directory, makefile defines a set of rules to specify which files need to compile, after which files need to compile, which files need to re- compilation, and even more complex functions. Platform: |
Size: 425984 |
Author: |
Hits:
Description: 曼德勃羅集合
從數學上來講,曼德布洛特集合是一個複數的集合。一個給定的複數c或者屬於曼德布洛特集合M,或者不是。-From the Mandelbrot set mathematically speaking, the Mandelbrot set is a collection of complex numbers. A given complex number c or of Mandelbrot set M, or not. Platform: |
Size: 29696 |
Author:kontakt |
Hits:
Description: 文件中包含时间触发嵌入式系统设计模式 8051系列微控制器开发可靠应用的英文原版,中文翻译版和C++实例。本书前所未有地提出一整套软件模式,为开发嵌入式软件系统提供帮助。书中讨论了基于广为使用的8051系列微控制器进行设计并应用软件 的方法。此外还重点关注了其可靠性。本书从简单系列复杂系统。列举了大量详尽的的实例。-File contains a time-triggered embedded system design 8051 series micro-controller development and reliable application of the English original, the Chinese translation version and C++ examples. This book made an unprecedented set of software model for the development of embedded software systems to help. The book was discussed based on the widely used 8051 series micro-controller design and application methods. In addition, its focus on the reliability of. This book from a simple series of complex systems. Listed a large number of detailed examples. Platform: |
Size: 39577600 |
Author:小洋 |
Hits:
Description: SqlHelper源码及使用实例
SqlHelper是非常方便的数据库操作函数,功能强大,使用起来非常简单,免去很多复杂的数据库操作的代码,在多层应用及面向对象开发中都有很多应用
SqlHelper源码带有详细的说明,示例中有51aspx原始的示例Sql语句
主要包括以下操作:
简单SQL语句(ExcuteSql)
带参数的简单SQL语句(ExcuteSQLParm)
简单存储过程 (ExcuteProc)
带参数的存储过程(ExcuteProcParm)
只返回一个字段 (ExcuteScalar)
返回数据集(ExcuteReader)
数据库中有示例数据及存储过程updateTable\updateTableByParm,大家可以自行修改测试,转载请保留51aspx作者信息,谢谢!
1.修改ExcuteSQLParm,加入传多个参数的例子
2.对执行SQL加入了错误捕获,当执行出错时,显示SQL语句,方便调试
VS2005+SQL2005 -SqlHelper source and use cases
SqlHelper is very convenient database operations functions, powerful, easy to use, remove a number of complex database operations of the code, in multi-tier application and have a lot of object-oriented application development
SqlHelper source with a detailed description of the sample in the original sample Sql statement 51aspx
Include the following:
Simple SQL statement (ExcuteSql)
Simple SQL statement with parameter (ExcuteSQLParm)
Simple stored procedure (ExcuteProc)
Stored procedure with parameters (ExcuteProcParm)
Returns only one field (ExcuteScalar)
Return data set (ExcuteReader)
Database with sample data and stored procedures updateTable \ updateTableByParm, we can modify test, reproduced Keep 51aspx of information, thank you!
1. Modify ExcuteSQLParm, adding examples of pass multiple parameters
2. On the implementation of the SQL error trapping added that when implementation of the error, the display SQL stateme Platform: |
Size: 167936 |
Author:周游 |
Hits:
Description: 单击“产生数字”或“开始新游
戏”后软件将随机产生一个无重
复
的4位数,使用者在对应输入框
内输入猜测的一组无重复4位数
,单击“确认数字后”软件就会根
据这个数字给出几A几B,其中A
前面的数字表示位置正确的数的
个数,而B前的数字表示数字正
确而位置不对的数的个数。
如:正确答案为 5234,而
猜的人猜 5346,则是 1A2B,其
中有一个5的位置对了,记为1A
,而3和4这两个数字对了,而位
置没对,因此记为 2B,合起来
就是 1A2B。接着猜的人再根据
出题者的几A几B继续猜,直到
猜中(即 4A0B)为止。
注意事项:请在5 分钟之内完成,且
输入次数不得超过50 次不然
算失败
本产品纯属智利游戏,仅供娱乐-Click the "generation number " or "start a new tour
Play "after the software will randomly generate a non-re-
Complex
4-digit, the user input box in the corresponding
Enter a group of non-repetition guess 4-digit
, Click "confirm figures, " the software will root
According to this figure shows a few A few B, where A
The numbers indicate the correct position in front of the number of
The number of digits before the number of B is
The number of correct and incorrect number of locations.
Such as: The correct answer is 5234, and
Guess who guess 5346, it is 1A2B, its
There is a 5 position of a, denoted 1A
, While 3 and 4 of these two figures, while the bit
Did not set right, so remember to 2B, together
Is 1A2B. Then, according to people who guess
A few questions were a few B keep guessing until
Guess (that is, 4A0B) so far.
Note: Please be completed within 5 minutes, and
Enter no more than 50 times or else
Operator failure
This product is pure Platform: |
Size: 393216 |
Author:夏寂然 |
Hits:
Description: makefile关系到了整个工程的编译规则。一个工程中的源文件不计数,其按类型、功能、模块分别放在若干个目录中,makefile定义了一系列的规则来指定,哪些文件需要先编译,哪些文件需要后编译,哪些文件需要重新编译,甚至于进行更复杂的功能操作,因为makefile就像一个Shell脚本一样,其中也可以执行操作系统的命令。 makefile带来的好处就是——“自动化编译”,一旦写好,只需要一个make命令,整个工程完全自动编译,极大的提高了软件开发的效率。make是一个命令工具,是一个解释makefile中指令的命令工具,一般来说,大多数的IDE都有这个命令,比如:Delphi的make,Visual C++的nmake,Linux下GNU的make。可见,makefile都成为了一种在工程方面的编译方法。-related to the makefile build rules for the whole project. A project source file does not count, its by type, function, respectively, on the number of modules directory, makefile defines a set of rules to specify which files need to be compiled, after which files need to compile, which files need to re- compilation, and even more complex functional operation, because the same makefile as a Shell script, which also can perform operating system commands. the benefits of makefile is- "Automatic compiler", once written, just need a make command to automatically compile the whole project completely, greatly improving the efficiency of software development. make is a command tool is a makefile in order to explain the command tool, in general, most of the IDE has this command, for example: Delphi to make, Visual C++ for nmake, Linux under the GNU s make. Visible, makefile become a compilation methods in engineering.
Platform: |
Size: 432128 |
Author:mall |
Hits:
Description: FoxPro2.5提供功能齐全的命令集,其总数超过二百条,可以用来编写程序,解决单条命令无法解决的较复杂的数据处理问题。-FoxPro2.5 provides full-featured command set, the total number of over two hundred, can be used to write programs to solve a single command can not solve the more complex data processing problems. Platform: |
Size: 133120 |
Author:lyls |
Hits:
Description: 家电维修管理系统”软件。这是专为家电维修行业定制的集维修、元件管理、元件销售、店面日常工作记录及维修售后服务管理为一体的专业软件。软件的最大特点,紧紧围绕家电维修行业的实际需要。元器件管理采用表格和图形结构,直观方便,界面亲切友好。采用了图形模式实现大量复杂枯燥的经营分析,使管理分析乐趣无穷。是个人和老板公司 的好助手。
-Appliance maintenance management system" software. It is designed for appliance repair industry custom set of maintenance, component management, component sales, stores daily work records and maintenance service management as one of professional software. Software has been characterized by tightly around the appliance repair industry s real needs. Tabular and graphical component management structure, easy and intuitive, friendly interface. Using the graphics mode to achieve a large number of complex boring business analysis, management analysis to make fun. Is a personal assistant and the boss s good.
"Appliance maintenance management system" you have the maintenance staff salaries and performance management, margin accounts. She gives you a more complete accounting system, monthly reports, daily report, historical reports, and a variety of integrated query and statistical reporting capabilities, to maximize your management efficiency.
Software supp Platform: |
Size: 251904 |
Author:微蜂窝 |
Hits:
Description: 个人原创代码:编写Java Application程序,定义一个复数(z=x+iy)类Complex,包含:
两个属性:实部x和虚部y
默认构造函数 Complex(),设置x=0,y=0
构造函数:Complex(int i,int j)
显示复数的方法:showComp()将其显示为如: 5+8i或5-8i 的形式。
求两个复数的和的方法:(参数是两个复数类对象,返回值是复数类对象)public Complex addComp(Complex C1,Complex C2)
求两个复数的差的方法:(参数是两个复数类对象,返回值是复数类对象)public Complex subComp(Complex C1,Complex C2)
求两个复数的乘积的方法:(参数是两个复数类对象,返回值是复数类对象,新复数实部=两复数实部乘积-两复数虚部乘积,新复数虚部=两复数实部与虚部交叉乘积之和,)public Complex multiComp(Complex C1,Complex C2)
比较两个复数是否相等的方法(参数是两个复数类对象,返回值是boolean类型)public boolean equalComp(Complex C1,Complex C2)
在Application中测试该类的方法,实部x和虚部y可由main方法参数提供输入。-Personal original code: using java application procedures, the definition of a complex number (z = x+ iy), Complex, including:
Two properties: the real part x and imaginary Ministry y
Default constructor Complex, (), set x = 0, y = 0
Constructor: Complex, (int i, int j)
The complex method: showComp () to display: 5+8 i or 5-8i form is displayed.
Seek two complex methods: (parameter two complex class object, the return value is a complex class object) public Complex addComp (Complex C1, Complex C2)
Seek two complex methods: (argument two complex class object, the return value is the plural class object) public Complex subComp (Complex C1, Complex C2)
Seeking the product of two complex numbers: (parameters are two complex class object, the return value is a complex class object, new plural = two of the real part of the complex product of the real part- two complex product of the imaginary part of the new complex imaginary part = two complex real and imaginary parts of the cros Platform: |
Size: 1024 |
Author:李瑞 |
Hits:
Description: The coefficient of a term may be any number from a specified set. If that set is the set of real numbers, we speak of "polynomials over the reals". Other common kinds of polynomials are polynomials with integer coefficients, polynomials with complex coefficients, and polynomials with coefficients that are integers modulo of some prime number p. In most of the examples in this section, the coefficients are integers. Platform: |
Size: 60416 |
Author:Alan |
Hits:
Description: 使用快速ica算法得到了独立分量分解,在设定独立分量个数后,可将复杂数据进行分量分解-To use rapid ica algorithm independent component decomposition of the complex data set independent of the number of components, component decomposition Platform: |
Size: 1024 |
Author: |
Hits:
Description: 分形学中关于Julia Set (茱莉亚集)的C++代码,可以通过复数 c 的初值,显示出不同的图案-Fractal theory Julia Set (Julia Set) C++ code, by the initial value of the complex number c, shows a different pattern Platform: |
Size: 93184 |
Author:佚名 |
Hits:
Description: 最小二乘是由方程式近似的数据点的一组的方式,让你预测中间值,或计算的数据的一些措施。您可能已经通过绘制通过数目的数据点图上绘制的直线近似的趋势线。最小二乘这不只是“装修”,但在数学的方式,最大限度地减少错误,从而导致。我的单元延伸最小二乘从仅仅是一种直线拟合到高阶多项式为更复杂的数据(其中可能有一平方律拟合的物理原因,例如),或更好的匹配的数据。-Least-squares is a way of approximating a set of data points by an equation, allowing you to predict intermediate values or calculate some measure of the data. You may have approximated a trend-line by drawing a straight line through a number of data points plotted on a graph. Least-squares does just this "fitting" but in a mathematical way that minimises the errors that result. My unit extends least-squares from just a straight-line fit into higher order polynomials for more complex data (where there may be a physical reason for a square-law fit, for example) or for a better match to the data. Platform: |
Size: 222208 |
Author:liu |
Hits:
Description: 本文提出了一种复杂条件下基于子空间梯度方向直方图跟踪的方法,通过大量样本的离线训练构建目标的投影子
空间,并用梯度方向直方图在子空间的投影作为新的目标描述特征.为了满足实时性的要求,采用积分直方图方法
提高粒子特征的计算速度;然后结合粒子滤波方法在子空间中计箅粒子与训练样本集之间的相似度,进而估计目标
的运动参数.实验结果表明,该方法能够在光照变化、噪声干扰、模糊、目标姿态和尺度改变,以及部分遮捎等恶劣条
件下实现准确跟踪,比传统的跟踪方法具有更高的跟踪精度和跟踪鲁棒性,能够满足地面侦察任务在多种复杂条件下对感兴趣目标进行准确跟踪的需求.-This paper presents a complex condition gradient orientation histogram based on subspace tracking methods, through a large number of samples offline training build target subspace projection and gradient orientation histogram in subspace projection as a new target descriptive characteristics. In order to meet the requirements of real-time, using integral histogram method improves the computing speed of the particle characteristics then combined with particle filter in subspace meter grate particles and the similarity between the training sample set, and then estimate the target motion parameters. Experimental results show that this method can change in the light, noise, blur, target attitude and scale changes, and take along some cover in bad condition for accurate tracking, than the traditional tracking method has higher tracking accuracy and robustness to meet the ground reconnaissance missions in a variety of complex conditions accurately track targets of interest requirements. Platform: |
Size: 555008 |
Author:wenping |
Hits:
Description: Hibernate基本概念
1)Hibernate是什么,有什么作用和好处
Hibernate是一个数据库访问框架,用于实现对数据库的增删改查操作。使用Hibernate框架可以简化数据库访问操作,要程序员将更多的经历放在业务层编写上。
原有JDBC操作数据库存在一些问题,主要有以下几个方面
a)需要编写大量复杂的SQL语句
b)需要设置大量的SQL参数或者将ResultSet取值封装成实体对象
c)当数据库移值时,需要修改部分SQL语句和操作
使用Hibernate框架可以解决以上问题。
2)Hibernate实现原理
设计原理:ORM(Object Relation Mapping)对象关系映射。意思是将程序中的实体对象和关系数据库表中的一行记录进行映射。这样在程序中使用该工具就可以将一个对象写入数据表,或者将数据表记录自动封装成一个对象返回。
可以这样理解,利用Hibernate可以将user对象直接更新到数据表中;查询时可以将数据表记录以user对象形式返回。中间的JDBC+SQL操作对程序员来说不用关心,在Hibernate底层封装好了。
同类框架还有一些,比如iBATIS,JPA等。-Hibernate basic concepts
1) Hibernate is, what role and benefits
Hibernate is a database access framework for the realization of the database CRUD operations. Using Hibernate framework can simplify database access operations, to more experienced programmers will be placed on the preparation of the business layer.
Original database JDBC operations there are some problems, mainly in the following aspects
a) the need to write a lot of complex SQL statements
b) the need to set a large number of SQL parameters or values will be packaged into a solid object ResultSet
c) When the database shift values , you need to modify some SQL statements and operations
Using Hibernate framework Platform: |
Size: 41984 |
Author:说法 |
Hits: