搜索资源列表
利用复数的输出方法将结果输出
- 1. 定义一个复数类Complex,该类有代表实部与虚部的成员变量,有两个构造函数Complex()与Complex(int x,int y)分别完成将成员变量初始化为0及给定值,另有计算复数的加减法及输出复数的三个方法,编程序利用该类完成2+3i与6-8i相加,12+9i与20-8i相减,并利用复数的输出方法将结果输出。,Define a complex number class Complex, the class is represented real and imaginary part
readYUV
- 可以读取YUV图像的Y,U,V的值,为下一步转化为RGB做好准备-You can read YUV image Y, U, V value, converted to RGB for the next step to prepare
shuxuejianmo_5.rar
- (回归分析) 考察温度x对产量y的影响,测得下列10组数据: 求y关于x的线性回归方程,检验回归效果是否显著,并预测x=42℃时产量的估值及预测区间(置信度95 ) ,(Regression analysis) x on the output of the temperature study of the impact of y, measured the following 10 sets of data: for y on x of the linear regression
yichuansuanfa
- 遗传算法求解函数y=x^2 在区间0-30的最大值-Genetic Algorithm for function y = x ^ 2 in the range of 0-30 maximum
firstGTK
- 一个基于GTK+的单词数值计算器,1、 按照规则计算单词的值,如果 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 26个字母(全部用大写)的值分别为 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26,如: WINJACK这个单词的值就为:W+I+N+J+A+C+K=23+9+14+1+3+11=71% HARDWORK=H+A+R+D+W+O+
shunxu
- (1)编写顺序结构.asm文件实现y=10x,并能够计算在x=15时的值 (2)编写顺序结构.asm文件实现数据段和附加段两个数据值的交换 -(1) the preparation of the order of the structure. Asm file to achieve y = 10x, and can be calculated in the x = 15 at the time of value (2) the preparation of the order of th
3
- windows xp 的DOS批命令中接受一个键盘输入的字符(... ? C语言,如何给下面代码加一个是否继续计算Y/N? ? 运行时please input the name:,然后直接是are you s... ? 输入Y?N?后的值为? -windows xp batch of DOS command to accept a keyboard input characters (...? C language, how to add the following code
GA
- 遗传算法,包含选择,交叉,变异等操作,可求出Y=sin(x)在0-2π的最大值和最小值-Genetic algorithm, including selection, crossover and mutation operation, etc., can be obtained Y = sin (x) at the 0-2π Maximum and minimum
matlabtext2
- 考察温度x对产量y的影响,测得下列10组数据:求y关于x的线性回归方程,检验回归效果是否显著,并预测x=42℃时产量的估值及预测区间(置信度95 ) 示例包含在内-X on the output of the temperature study of the impact of y, measured the following 10 sets of data: for y on x of the linear regression equation to test whether the
Circles
- 使用applet產生五個同心圓,圓與圓間距相同且每個圓使用不同的顏色,執行時經由參數輸入圓心x,y的座標值、最小圓的半徑及間距。-Applet generated using five concentric circles, round and round the same pitch circle and each using a different color, the implementation of input parameters through the center of a ci
math
- 矩阵运算:求逆、转置、相乘等,然后通过矩阵运算求多项式纠正的值,多项式如:X=a0+a1*x+a2*y+a3*x*x+a4*x*y+a5*y*y Y=b0+b1*x+b2*y+b3*x*x+b4*x*y+b5-Matrix operations: inversion, transpose, multiply, etc., and then through the matrix for computing the value of correct polynomial, polynomial
lagrange
- 1.n个节点分段Lagrange插值多项式; 2.使用格式y=lagrange(x0,y0,x,k); 3.输入项x0为n维插值节点向量,y0为n维被插函数值向量; 4.x为m维插值点向量,k为分段插值多项式次数,不超过3,缺省为k=1; 5.输出y为插值点x处的函数值;- 1.n a sub-node Lagrange interpolation polynomial 2. The use of the format y = lagrange (x0, y0,
doolittle
- 1.n个节点分段Lagrange插值多项式; 2.使用格式y=lagrange(x0,y0,x,k); 3.输入项x0为n维插值节点向量,y0为n维被插函数值向量; 4.x为m维插值点向量,k为分段插值多项式次数,不超过3,缺省为k=1; 5.输出y为插值点x处的函数值;- 1.n a sub-node Lagrange interpolation polynomial 2. The use of the format y = lagrange (x0, y0,
yi_chuan_suanfa
- 一个遗传算法算Y=X*X在1到31范围的最大值-A genetic algorithm calculation Y = X* X in the 1-31 range of the maximum
SpaceAdventure
- 此代码是我自己写的,游戏完全基于矢量图形,所有对象都使用计算X和Y 的速率值的算法来移动,每个矢量图形都有一个内建的边界矩形来进行冲突检测-This code can be run under the java virtual machine, the game completely vector-based graphics, all objects are used calculate the rate of X and Y value of the algorithm to move, e
exer5
- 回归分析 考察温度x对产量y的影响 测得下列10组数据 求y关于x的线性回归方程 检验回归效果是否显著 并预测x=42℃时产量的估值及预测区间-Regression analysis, study the temperature on the yield y of x measured by the following 10 sets of data demand y on x, the linear regression equation of the regression effect is
MASM
- 实现(16X+Y-9)/4的算术运算.其中X调用20H中的值,Y调用13H中的值.-To achieve (16X+ Y-9)/4 of the arithmetic operations. Where X is called the value 20H in, Y is called the value 13H.
DEBUG
- 一、 实验内容 DEBUG的应用及表达式计算 二、 实验目的及要求 要求:试编制一程序,计算下列公式的值,将商存放在Z单元,余数放在R单元内中.X,Y,Z,R,W分别为存放16位带符号数单元的地址.计算过程中中间结果和最后结果在16位二进制数范围内. 三目的: 1、熟悉DEBUG的应用(利用DEBUG观察寄存器和内存单元的值及指令执行的结果,直接汇编指令,单步调试,编辑数据等)。 2、掌握汇编表达式的表示方法。 3、掌握80X86的编程结构。 4、学习汇编
ode45
- 解常微分方程的Matlab程序 字符串ypfun是用以表示f(t, y)的M文件名, tspan=[t0, tfinal]表示自变量初值t0和终值tf y0表示初值向量y0,可选参数options为用odeset设置精度等参数。 输出列向量tout表示节点,输出矩阵yout 表示数值解,每一列对应y的一个分量。若无输出参数,则作出图形。-Solution of ordinary differential equations of the Matlab program is
SinWmk
- 余弦波是渐变的,当ωt+φ的取值变化量很小时,Y的变化量也是很微小的。余弦波的这一特性保证了嵌入水印后相邻字符灰度值差别不大,人眼无法识别,从而保证了水印的不可见性和图像质量。-Cosine wave is gradual, and when ωt+ φ values variation is very small, Y amount of change is very small. Cosine waves This feature ensures that watermarked gray