5. On Automatic Differentiation of Computer Programs

出处
期刊:Society for Industrial and Applied Mathematics eBooks [Society for Industrial and Applied Mathematics]
卷期号:: 153-167 被引量:4
标识
DOI:10.1137/1.9780898718690.ch5
摘要

Using the techniques presented in Chapter 3, one can program the algebraic sensitivity analysis in optimal sizing and shape design problems with a reasonable amount of work. In the papers [HM92], [MT94], and [TMH98], algebraic sensitivity analysis was performed by hand for quite complicated shape optimization problems. However, full hand coding of derivatives requires a lot of time. This is not acceptable when solving industrial design problems.Automatic differentiation (AD) is a technique for augmenting computer programs with derivative computations [Gri89]. It exploits the fact that every computer program executes a sequence of elementary arithmetic operations. By applying the chain rule of differential calculus repeatedly to these operations, accurate derivatives of arbitrary order can be computed automatically.AD is now under active study and is used in many applications in engineering [BCG+92], [MMRS96] and mathematical physics [KL91], [IG00].5.1 Introduction to automatic differentiation of programsAD of computer programs is still sometimes confused with finite difference approximations of derivatives or symbolic differentiation of a single expression using packages like Mathematica [Wol99].It is always possible to approximate partial derivatives of a smooth function f : ℝn → ℝ by using simple divided difference approximations such as the forward difference approximation∂ƒ(x0)∂xi≈ƒ(x0+δe(i))−ƒ(x0)δ.5.1Here e(i) is the ith unit vector and δ > 0 is the step length. It is well known that this approach leads to the first order approximation of the partial derivatives. Computation of approximate derivatives in this way has the advantage that one needs f only as a "black box." There are, however, two disadvantages to this approach: first, the accuracy of this approximation is difficult to estimate.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
Orange应助maowei采纳,获得10
1秒前
1秒前
一碗晚月完成签到,获得积分10
1秒前
2秒前
bkagyin应助你还要猫怎样采纳,获得10
2秒前
2秒前
97_完成签到,获得积分10
2秒前
2秒前
jojo完成签到,获得积分10
3秒前
在水一方应助02采纳,获得10
3秒前
彩色傲菡完成签到,获得积分10
4秒前
5秒前
科研通AI6.2应助米月莹采纳,获得10
5秒前
sun完成签到,获得积分10
5秒前
熊大发布了新的文献求助10
5秒前
泡泡完成签到 ,获得积分20
5秒前
小明发布了新的文献求助10
6秒前
7秒前
小小发布了新的文献求助10
7秒前
7秒前
8秒前
8秒前
小编一枚完成签到 ,获得积分10
8秒前
无花果应助maowei采纳,获得10
9秒前
11完成签到,获得积分10
9秒前
年轻的钢笔完成签到 ,获得积分10
9秒前
9秒前
禾绘完成签到,获得积分10
9秒前
10秒前
flybird完成签到 ,获得积分10
10秒前
10秒前
10秒前
11秒前
PJT-8450发布了新的文献求助10
11秒前
今后应助eve采纳,获得10
12秒前
南苏发布了新的文献求助10
12秒前
王思聪完成签到,获得积分10
13秒前
lhd完成签到 ,获得积分10
13秒前
14秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
An Introduction to Foreign Language Learning and Teaching 750
China Pluperfect I: Epistemology of Past and Outside in Chinese Art 520
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
What is the Future of Psychotherapy in Digital Age? Technology, AI Bots, and Psychotherapy after Covid 444
Synthesis of P-Chiral Phosphine Ligands and Their Applications in Asymmetric Catalysis 400
Management and the Arts 310
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7629705
求助须知:如何正确求助?哪些是违规求助? 9204069
关于积分的说明 19736982
捐赠科研通 7199182
什么是DOI,文献DOI怎么找? 3274314
关于科研通互助平台的介绍 2436445
邀请新用户注册赠送积分活动 2270480