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

Expectati<b>On</b>-Maximizati<b>On</b>

  • java实现大整数运算

    在包 hugeinteger 中创建功能类 HugeInteger,该类用来存放和操作一个不超过 40 位的大整数。 (1) 定义一个构造函数,用来对大整数进行初始化。参数为一个字符串。 (2) 定义 input 成员函数,实现大整数的重新赋值。参数为一个字符串,无返回 值。 (3) 定义 output 成员函数,将大整数输出到屏幕上。无参数无返回值。 (4) 定义 add 成员函数,实现两个大整数的加法。参数为一个 HugeInteger 对 象,无返回值,例如: HugeInteger A = new HugeInteger("12345"); HugeInteger B = new HugeInteger("1234"); A.add(B); 此时,A 为 13579,B 为 1234。 (5) 定义 sub 成员函数,实现两个大整数的减法。参数和返回值同 add 函数。 (6) 定义若干大整数关系运算的成员函数,包括 isEqualTo(等于,=)、 isNotEqualTo(不等于,≠)、isGreaterThan(大于,>)、isLessThan(小 于,<)、isGreaterThanOrEqualTo(大于等于,≥)和 isLessThanOrEqualTo (小于等于,≤)。这些函数的参数为一个 HugeInteger 对象,返回值为一个 布尔类型,表示关系运算的结果,例如: HugeInteger A = new HugeInteger("12345"); HugeInteger B = new HugeInteger("1234"); 那么此时 A.isGreaterThan(B)的结果应当为 True,表示 12345>1234。

    标签: java 整数 运算

    上传时间: 2019-06-01

    上传用户:idealist

  • (网盘)树莓派制作智能小车资料69.69GB

    小车资料 - 0树莓派教程2016-0804 - 0树莓派入门套件A光盘.rar - 2.87GB(网盘)B套餐资料.rar - 507.56MBC盘.rar - 1.31GBB套餐资料.rar - 1.87GBB盘.rar - 2.35GBA盘.rar - 2.07GB40118树莓派实战指南(教学视频与源代码).rar - 3.01GB微雪5寸显示器config - 0树莓派详细资料 - 0视频教程 - 0RaspberryPi配件安装视频.mp4 - 13.49MB6、树莓派小车系列之按键控制小车.mp4 - 197.46MB

    标签: 树莓派 智能小车

    上传时间: 2022-06-05

    上传用户:

  • (网盘)朱老师物联网大讲堂-全部视频

    |- 我的虚拟机和ubuntu下载 - 0 B|- 腾讯课堂公开课 - 0 B|- 工具软件 - 0 B|- X210光盘资料 - 0 B|- 4.C语言专题精讲篇 - 0 B|- 2.uboot和linux内核移植 - 0 B|- 1.ARM裸机全集 - 0 B|- 0.基础预科 - 0 B|- 专用播放器第一代-已不用,请下载第二代.rar - 18.10 MB|- 专用播放器-《朱老师物联网大讲堂》收费视频.rar - 18.10 MB|- 朱老师物联网大讲堂高级课程专用播放器-第二代.rar - 28.10 MB

    标签: 物联网

    上传时间: 2022-06-06

    上传用户:

  • (网盘)300本Python电子书

    |- 数据科学速查表 - 0 B|- 迁移学习实战 - 0 B|- 零起点Python机器学习快速入门 - 0 B|- 《深度学习入门:基于Python的理论与实现》高清中文版PDF+源代码 - 0 B|- 《Python生物信息学数据管理》中文版PDF+英文版PDF+源代码 - 0 B|- 《Python深度学习》2018中文版pdf+英文版pdf+源代码 - 0 B|- 《Python编程:从入门到实践》中文版+源代码 - 0 B|- stanford machine learning - 0 B|- Python语言程序设计2018版电子教案 - 0 B|- Python网络编程第三版 (原版+中文版+源代码) - 0 B|- Python机器学习实践指南(中文版带书签)、原书代码、数据集 - 0 B|- python官方文档 - 0 B|- Python编程(第4版 套装上下册) - 0 B|- PyQt5快速开发与实战(pdf+源码) - 0 B|- linux - 0 B|- 征服PYTHON-语言基础与典型应用.pdf - 67.40 MB|- 与孩子一起学编程_中文版_详细书签.pdf - 69.10 MB|- 用Python做科学计算.pdf - 6.10 MB|- 用Python写网络爬虫.pdf - 9.90 MB|- 用Python进行自然语言处理(中文翻译NLTK).pdf - 4.40 MB|- 像计算机科学家那样思考 Python中文版第二版.pdf - 712.00 kB|- 网络爬虫-Python和数据分析.pdf - 6.90 MB|- 图解机器学习.pdf - 59.40 MB|- 凸优化.pdf - 5.70 MB|- 数据挖掘导论.pdf - 2.50 MB|- 数据科学入门.pdf - 13.30 MB|- 数据结构与算法__Python语言描述_裘宗燕编著_北京:机械工业出版社_,_2016.01_P346.pdf - 74.30 MB|- 神经网络与深度学习.pdf - 92.60 MB|- 深入Python3...

    标签: python

    上传时间: 2022-06-06

    上传用户:

  • (网盘)Arduino iot学习套餐

    |- 9.配套数据手册 - 0 B|- 8.面包板接线软件 - 0 B|- 7.物联网实验 - 0 B|- 6.图形化编程 - 0 B|- 5.实验接线图 - 0 B|- 4.视频教程 - 0 B|- 3.案例程序 - 0 B|- 2.开发环境 - 0 B|- 10.辅助软件 - 0 B|- 1.学前先看 - 0 B|- CLB.ico - 17.00 kB|- Autorun.inf - 23 B

    标签: arduino iot

    上传时间: 2022-06-06

    上传用户:

  • 基于微网的光伏变流器系统设计

    光伏发电是未来新能源发电重要方向之一,而光伏变流器是光伏发电系统的核心。介绍一种基于微网理念的光伏变流器设计。以该变流器为核心的光伏发电系统可以看做一个小型的微网系统。该系统能根据外部电网情况,工作于并网模式和离网模式。介绍了该系统的各个组成部件的设计以及变流器主电路部分器件的选型。最后,由实验样机进行测试。试验结果验证了电路拓扑结构及控制方案的可行性,也说明了系统参数设计方法的正确性。 Abstract:  Solar Photovoltaic generation is an important direction of new energy power generation in the future,while photovoltaic converter is the core of photovoltaic generation system. This paper deals with a study on photovoltaic inverter based on the concept of microgrid. This paper describes a system whose core component is the photovoltaic inverter,can work on grid-connected mode or run independently according to the external situation. The paper simply describes the main components of the system. At last,the prototype was produced and tested. Test result has proved feasibility of circuit topology structure and controlling scheme and shown correctness of system parameters.Key words: PV inverter; microgrid; off-grid; storage battery

    标签: 光伏 变流器 系统设计

    上传时间: 2014-12-24

    上传用户:Shaikh

  • 欧姆龙plc编程软件使用手册

    欧姆龙plc编程软件CX-Programmer使用手册 第一章安装和启动 1. 安装 1-1. 安装CX-Programmer 1-2. 在线注册 2. 打开新工程和设置设备型号 3. 打开新工程和设置设备型号 4. 主窗口 4-1.兼容SYSWIN软件的按键分配 4-2. 段 4-3.删除和显示其他窗口 5.创建程序 5-1.常开接点的输入 5-2.线圈的输入 5-3.符号注释的编辑 5-4.条注释的输入 5-5.常闭接点的输入 5-6.元素注释的输入 5-7.上升沿微分接点的输入 5-8.下降沿微分接点的输入 5-9.向上垂线的输入 5-10.向下垂线的输入 5-11.高级指令的输入1 - 字符串的输入 5-12.高级指令的输入1 - 有用的功能 5-13.辅助继电器的输入- 1.0 秒时钟脉冲位 5-14.高级指令的输入2 – 微分指令的输入 5-15.或逻辑的条输入 5-16.高级指令的输入3 – 通过功能号来输入 5-17.定时器指令的输入 5-18.计数器指令的输入 5-19.条的编辑…复制和粘贴 5-20. END指令的输入 第二章在线/调试 1. 程序错误检查(编译) 2. 进入在线 3. 监视 4. 监视- 2 同时监视程序中多处位置 5. 监视- 3 以十六进制数监视 6. 监视- 4 查看窗口 7. 监视- 5 查看窗口的当前值修改和二进制数监视 8. 查看窗口的有用功能 9. 监视- 6 监视窗口- 2 10.监视- 7 以短条形式显示 11.监视- 8 微分监视 12.强制为On/Off 13.强制-on/off 位的显示列表 14.修改定时器的设定值 15.修改定时器的当前值 16.查找功能- 1 通过地址引用工具查找 17.查找功能- 2 梯形图的折回查找 18.查找功能- 3 通过注释的关键字来查找 19.查找功能- 4 进入条注释 20.查找功能- 5 查找位地址 21.在线编辑 实用的功能 相关资料: 欧姆龙PLC编程软件CX-Programmer7.1 简体中文版  

    标签: plc 欧姆龙 使用手册 编程软件

    上传时间: 2013-10-25

    上传用户:84425894

  • Emulating a synchronous serial

    The C500 microcontroller family usually provides only one on-chip synchronous serialchannel (SSC). If a second SSC is required, an emulation of the missing interface mayhelp to avoid an external hardware solution with additional electronic components.The solution presented in this paper and in the attached source files emulates the mostimportant SSC functions by using optimized SW routines with a performance up to 25KBaud in Slave Mode with half duplex transmission and an overhead less than 60% atSAB C513 with 12 MHz. Due to the implementation in C this performance is not the limitof the chip. A pure implementation in assembler will result in a strong reduction of theCPU load and therefore increase the maximum speed of the interface. In addition,microcontrollers like the SAB C505 will speed up the interface by a factor of two becauseof an optimized architecture compared with the SAB C513.Moreover, this solution lays stress on using as few on-chip hardware resources aspossible. A more excessive consumption of those resources will result in a highermaximum speed of the emulated interface.Due to the restricted performance of an 8 bit microcontroller a pin compatible solution isprovided only; the internal register based programming interface is replaced by a set ofsubroutine calls.The attached source files also contain a test shell, which demonstrates how to exchangeinformation between an on-chip HW-SSC and the emulated SW-SSC via 5 external wiresin different operation modes. It is based on the SAB C513 (Siemens 8 bit microcontroller).A table with load measurements is presented to give an indication for the fraction of CPUperformance required by software for emulating the SSC.

    标签: synchronous Emulating serial

    上传时间: 2014-01-31

    上传用户:z1191176801

  • Reading and Writing iButtons v

    Abstract: This application note explains the hardware of different types of 1-Wire® interfaces and software examples adapted to this hardware with a focus on serial ports. Depending on the types of iButtons required for a project and the type of computer to be used, the most economical interface is easily found. The hardware examples shown are basically two different types: 5V general interface and 12V RS-232 interface. Within the 5V group a common printed circuit board could be used for all circuits described. The variations can be achieved by different populations of components. The same principal is used for the 12V RS-232 interface. The population determines if it is a Read all or a Read/Write all type of interface. There are other possible circuit implementations to create a 1-Wire interface. The circuits described in this application note cover many different configurations. For a custom application, one of the described options can be adapted to meet individual needs.

    标签: iButtons Reading Writing and

    上传时间: 2013-10-29

    上传用户:long14578

  • 用C51写的普通拼音输入法源程序代码

    用C51写的普通拼音输入法源程序代码:原作使用了一个二维数组用以查表,我认为这样比较的浪费空间,而且每个字表的索引地址要手工输入,效率不高。所以我用结构体将其改写了一下。就是大家现在看到的这个。  因为代码比较的大,共有6,000多汉字,这样就得要12,000 byte来存放GB内码,所以也是没办法的.编译结果约为3000h,因为大部分是索引表,代码优化几乎无效。    在Keil C里仿真芯片选用的是华邦的W77E58,它有32k ROM, 256B on-chip RAM, 1K on-chip SRAM (用DPTR1指针寻址,相当于有1K的片上xdata)。条件有限,没有上片试验,仿真而已。  打算将其移植到AVR上,但CodeAVRC与IAR EC++在结构体、指针的定义使用上似乎与C51不太一样,现在还未搞定。还希望在这方面有经验的网友能给予指导。 #include<stdio.h> char * py_ime(char *); void main(void){ while(1)    {     char input_string[]="yI";     xdata char chinese_string[255];     sprintf(chinese_string,"%s",py_ime(input_string));    }}

    标签: C51 拼音输入法 代码 源程序

    上传时间: 2013-10-30

    上传用户:cainaifa