《Java 应用与开发》课程讲义 - 王晓东
java 11.3 Applet Applet 也称 Java 小程序,在支持 Java 的浏览器环境中运行,通常用于在网页中实 现嵌入图片、播放声音等多媒体功能,或添加其他的客户端处理逻辑(如网络计算器)。 严格的说,Applet 是能够嵌入到 HTML 页面中,且可以通过 Web 浏览器下载并执 行的一种 Java 程序。 目前,该项技术在新项目中已经很少使用。 11.3.1 Applet 合和进程控制块三 部分组成。程序用于描述进程要完成的功能,是控制进程执行的指令集;数据集合是 程序在执行时所需要的数据和工作区;进程控制块 (Program Control Block,简称 PCB), 包含进程的描述信息和控制信息,是进程存在的唯一标志。 进程具有的特征: 动态性 进程是程序的一次执行过程,是临时的,有生命期的,是动态产生,动态消亡 的; 并发性 任何进程都可以同其他进程一起并发执行;0 码力 | 330 页 | 6.54 MB | 1 年前3MoonBit月兔编程语言 现代编程思想 第十二课 案例:自动微分
⽜顿迭代法 11 微分 微分被应⽤于机器学习领域 利⽤梯度下降求局部极值 ⽜顿迭代法求函数解: 我们今天研究简单的函数组合 例: 12 微分 函数微分的⼏种⽅式 ⼿动微分:纯天然计算器 缺点:对于复杂表达式容易出错 数值微分: 缺点:计算机⽆法精准表达⼩数,且绝对值越⼤,越不精准 符号微分: Mul(Const(2), Var(1)) -> Const(2) 缺点:计算 : N, y : N) -> N { 3. if x.value() < y.value() { x } else { y } 4. } 13 微分 函数微分的⼏种⽅式 ⼿动微分:纯天然计算器 缺点:对于复杂表达式容易出错 数值微分: 缺点:计算机⽆法精准表达⼩数,且绝对值越⼤,越不精准 符号微分: Mul(Const(2), Var(1)) -> Const(2) 缺点:计算0 码力 | 30 页 | 3.24 MB | 1 年前32.1.3 如何用Go模拟CPU
000,000KB DDR3 呜呜 App内存不足 外卖下不了单 计算机的演化历史 • 一部偷懒的历史 • 硬件“计算机”时代 • 不擅长计算和记忆的人使用工具帮助计算:算盘,计算尺,手摇计算器 • 硬件计算机改进支持的算法,需要变更或重新发明整个硬件,比如让算 盘支持对数 计算机的演化历史 • 改硬件太麻烦了,还慢 • 继电器计算机 • 1937年贝尔实验室:model k •0 码力 | 42 页 | 7.10 MB | 1 年前3Java 应用与开发 - Java GUI 编程
Applet,昔日的互联网野心! Applet 也称 Java 小程序,在支持 Java 的浏览器环境中运行, 通常用于在网页中实现嵌入图片、播放声音等多媒体功能,或添 加其他的客户端处理逻辑(如网络计算器)。 严格的说,Applet 是能够嵌入到 HTML 页面中,且可以通过 Web 浏览器下载并执行的一种 Java 程序。 目前,该项技术在新项目中已经很少使用。 大纲 GUI 组件及布局 GUI0 码力 | 73 页 | 876.31 KB | 1 年前3Computer Programming with the Nim Programming Language
(Computer-Aided Design) program has a PCB (Printed Circuit Board) mode, in which the user can create new PCB pads by entering the pad data in a text entry widget. A PCB pad is a rectangular-shaped copper all sorts of connection problems, e.g., connecting electrical signals on a printed circuit board (PCB) or a schematic, or connecting the electric power supply, water supply, or Internet cable between other point, like points drawn on a sheet of paper or the electric signal and power supply paths on a PCB. The latter case is in principle O(n^2) because for a set of n points, there are (n-1) other points0 码力 | 865 页 | 7.45 MB | 1 年前3Computer Programming with the Nim Programming Language
(Computer-Aided Design) program has a PCB (Printed Circuit Board) mode, in which the user can create new PCB pads by entering the pad data in a text entry widget. A PCB pad is a rectangular-shaped copper all sorts of connection problems, e.g., connecting electrical signals on a printed circuit board (PCB) or a schematic, or connecting the electric power supply, water supply, or Internet cable between other point, like points drawn on a sheet of paper or the electric signal and power supply paths on a PCB. The latter case is in principle O(n^2) because for a set of n points, there are (n-1) other points0 码力 | 784 页 | 2.13 MB | 1 年前3Computer Programming with the Nim Programming Language
(Computer-Aided Design) program has a PCB (Printed Circuit Board) mode, in which the user can create new PCB pads by entering the pad data in a text entry widget. A PCB pad is a rectangu lar-shaped copper all sorts of connection prob lems, e.g., connecting electrical signals on a printed circuit board (PCB) or a schematic, or connect ing the electric power supply, water supply, or Internet cable between other point, like points drawn on a sheet of paper or the electric signal and power supply paths on a PCB. The latter case is in principle O(n^2) because for a set of n points, there are (n-1) other points0 码力 | 512 页 | 3.54 MB | 1 年前3Computer Programming with the Nim Programming Language
(Computer-Aided Design) program has a PCB (Printed Circuit Board) mode, in which the user can cre ate new PCB pads by entering the pad data in a text entry widget. A PCB pad is a rectangular-shaped copper all sorts of connection problems, e.g., connecting electrical signals on a printed circuit board (PCB) or a schematic, or connecting the electric power supply, water supply, or Internet cable between point, like points drawn on a sheet of paper or the electric signal and power sup ply paths on a PCB. The latter case is in principle O(n^2) because for a set of n points, there are (n-1) other points0 码力 | 508 页 | 3.50 MB | 1 年前3Computer Programming with the Nim Programming Language
(Computer-Aided Design) program has a PCB (Printed Circuit Board) mode, in which the user can create new PCB pads by entering the pad data in a text entry widget. A PCB pad is a rectangu lar-shaped copper all sorts of connection prob lems, e.g., connecting electrical signals on a printed circuit board (PCB) or a schematic, or connect ing the electric power supply, water supply, or Internet cable between other point, like points drawn on a sheet of paper or the electric signal and power supply paths on a PCB. The latter case is in principle O(n^2) because for a set of n points, there are (n-1) other points0 码力 | 512 页 | 3.53 MB | 1 年前3Computer Programming with the Nim Programming Language
(Computer-Aided Design) program has a PCB (Printed Circuit Board) mode, in which the user can cre ate new PCB pads by entering the pad data in a text entry widget. A PCB pad is a rectangular-shaped copper all sorts of connection problems, e.g., connecting electrical signals on a printed circuit board (PCB) or a schematic, or connecting the electric power supply, water supply, or Internet cable between point, like points drawn on a sheet of paper or the electric signal and power sup ply paths on a PCB. The latter case is in principle O(n^2) because for a set of n points, there are (n-1) other points0 码力 | 508 页 | 3.54 MB | 1 年前3
共 58 条
- 1
- 2
- 3
- 4
- 5
- 6