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

Double

  • //=== === === === === === === === === === === === === === = //函数说明 //函数名称:PolyFit //函数功能:最小二乘法曲线拟

    //=== === === === === === === === === === === === === === = //函数说明 //函数名称:PolyFit //函数功能:最小二乘法曲线拟合 //使用方法:Double *x ---- 存放n个数据点的X坐标 // Double *y ---- 存放n个数据点的Y坐标 // int n -------- 给定数据点个数 // Double *a ---- 返回m-1次拟合多项式的m个系数 // int m -------- 拟合多项式的项数,即拟合多项式的最高次为m-1。要求m<=n,且 // m<=20。若m>n或m>20,则本函数自动按m=min{n,20}处理 // Double *dt --- dt[0]返回拟合多项式与各数据点误差的平方和;dt[1]返回拟合多 // 项式与各数据点的误差绝对值之和;dt[2]返回拟合多项式与各数据 // 点误差绝对值的最大值 //注意事项:拟合多项式的形式为 y = b0 + b1*(x-Xavr)...

    标签: PolyFit 函数 最小二乘法

    上传时间: 2015-07-19

    上传用户:waizhang

  • The Valgrind distribution has multiple tools. The most popular is the memory checking tool (called M

    The Valgrind distribution has multiple tools. The most popular is the memory checking tool (called Memcheck) which can detect many common memory errors such as: * touching memory you shouldn t (eg. overrunning heap block boundaries) * using values before they have been initialized * incorrect freeing of memory, such as Double-freeing heap blocks * memory leaks.

    标签: distribution The Valgrind checking

    上传时间: 2014-01-14

    上传用户:xc216

  • Address book helps you look up your addresses from the system tray. It is quite useful in that way

    Address book helps you look up your addresses from the system tray. It is quite useful in that way 慶ause it stays out of the way and is easily accessible when needed. Double clicking on any URL will start the default web browser and take you to that URL. Double clicking on the phone number will dial that number. Every column supports sorting and can be customized to your needs. Preview will display the notes associated with each record. This program can also import Comma Separated Values (*csv) text files of Outlook Express.

    标签: addresses Address system useful

    上传时间: 2014-07-08

    上传用户:lyy1234

  • 1.功能 用高斯方法计算n重积分(C语言) 2.参数说明 int n : 积分重数 int js[n] : js[k]表示第k层积分区间所划分的子区间 void (*ss)() : 指向

    1.功能 用高斯方法计算n重积分(C语言) 2.参数说明 int n : 积分重数 int js[n] : js[k]表示第k层积分区间所划分的子区间 void (*ss)() : 指向计算各层积分上、下限的函数名(用户自编) Double (*f)() : 指向计算被积函数值的函数名(用户自编) Double gaus() : 函数返回积分值 3.文件说明 gaus.c为函数程序 gaus0.c为主函数程序

    标签: int js void 积分

    上传时间: 2014-01-05

    上传用户:731140412

  • 很多嵌入式系统

    很多嵌入式系统,特别是应用于图像处理与高速数据采集等场合的嵌入式系统,都需要高速缓存大量的数据。DDR(Double Data Rate,双数据速率)SDRAM由于其速度快、容量大,而且价格便宜,因此能够很好地满足上述场合对大量数据缓存的需求。但DDR SDRAM的接口不能直接与现今的微处理器和DSP的存储器接口相连,需要在其间插入控制器实现微处理器或DSP对存储器的控制。

    标签: 嵌入式系统

    上传时间: 2015-09-18

    上传用户:zjf3110

  • 三次样条插值程序。编译运行本程序后

    三次样条插值程序。编译运行本程序后,程序会弹出窗口及问句:“input the number of intervals:”,输入插值的次数即可,程序将得到的次数保存在变量int n中。如果输入的插值次数正确(n>=2),程序会显示下一语句:"input the value of the variable:",此时输入插值点即可,程序将得到的插值点保存在变量Double v中。若插值点正确(v>=0&&v<=6),则程序将输出插值结果。

    标签: 程序 三次样条 插值 编译

    上传时间: 2014-01-16

    上传用户:Avoid98

  • 实现一个类

    实现一个类,描述二维平面的直线Line。 描述属性:私有属性  直线所通过的点:Point p;  直线的斜率:Double m 实现方法:  直线的构建;  返回直线的两个属性;  返回直线在Y轴上的截距:yIntercept ;  判断两条直线是否相等;  显示直线的内容:y = mx + b  isParallelTo(Line line2),判断本直线与直线line2是否平行;  isPeroendicularTo(Line line2),判断本直线与直线line2是否垂直;  translate(Double dx, Double dy),将直线向右移动dx单位,向上移动dy单位;  rarate(Double ta),将直线沿逆时针方向旋转ta度

    标签:

    上传时间: 2015-10-24

    上传用户:Divine

  • 问题描述:编写一个JAVA程序

    问题描述:编写一个JAVA程序,用面向对象设计的方法编写一个电话卡的类。包括卡号、密码、余额、拨入号码等 b)基本要求:类的属性有卡号、密码、余额、拨入号码,电话卡的常用操作可以用连接电话方法、返回余额方法与通电话方法来实现。 c)方法功能描述: 构造方法(PhoneCard(卡号,密码,余额,拨入号码))可以完成属性值初始化赋值,并判断余额,余额为负就退出系统,请在构造方法中将初始时的连接置为false即表示没有连接。 卡号long cardNumber 密码private int password,余额Double balance,拨入号码string connectNumber boolean connected(一个布尔类型变量表示电话卡连接状态,初始时默认没有连接,值为false,当调用连接电话方法()后,在判断卡号和密码相匹配后值置为true) 连接电话方法(performConnection(卡号,密码))可以完成检查卡号和密码,它是只有在卡号和密码相匹配时才连接 返回余额方法(getBalance())得到电话卡的余额 通电话方法(performDial())是模拟通过过程中,余额会不断减少,每调用此方法,电话卡的余额减少0。5元,打一次电话调用一次

    标签: JAVA 编写 程序

    上传时间: 2014-01-20

    上传用户:1109003457

  • % 文件名:randlsbget.m % 程序员:余波 % 编写时间:2007.6.25 % 函数功能: 本函数将完成提取隐秘于上的秘密信息 % 输入格式举例:result=( scover.

    % 文件名:randlsbget.m % 程序员:余波 % 编写时间:2007.6.25 % 函数功能: 本函数将完成提取隐秘于上的秘密信息 % 输入格式举例:result=( scover.jpg ,56, secret.txt ,2001) % 参数说明: % output是信息隐藏后的图象 % len_total是秘密信息的长度 % goalfile是提取出的秘密信息文件 % key是随机间隔函数的密钥 % result是提取的信息 function result=randlsbget(output,len_total,goalfile,key) ste_cover=imread(output) ste_cover=Double(ste_cover) % 判断嵌入信息量是否过大 [m,n]=size(ste_cover) frr=fopen(goalfile, a ) % p作为信息嵌入位计数器将信息序列写回文本文件 p=1 % 调用随机间隔函数选取像素点 [row,col]=randinterval(ste_cover,len_toal,key) for i=:len_toal if bitand(ste_cover(row(i),col(i)),1)==1 fwrite(frr,1, bit1 ) result(p,1) else fwrite(frr,0, bit1 ) result(p,1)=0 end if p==len_total break end p=p+1 end fclose(frr)

    标签: randlsbget result scover 2007

    上传时间: 2015-11-10

    上传用户:yzhl1988

  • 双曲线回归方程 HyperbolaRegress.cs 注意!该模型要求a与b的值要大于0!使用该模型时应注意验证这个限制条件。我在实现模型时未加入任何出错流程控制。X不能为0。 方程模型为

    双曲线回归方程 HyperbolaRegress.cs 注意!该模型要求a与b的值要大于0!使用该模型时应注意验证这个限制条件。我在实现模型时未加入任何出错流程控制。X不能为0。 方程模型为 public override Double[] buildFormula() 得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是b,a。 public override Double forecast(Double x) 预测函数,根据模型得到预测结果。 public override Double computeR2()

    标签: HyperbolaRegress 模型 方程 cs

    上传时间: 2014-11-29

    上传用户:youke111