Patents
US 6,895,574 B2#8430769 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for automatically producing efficient code for computing derivatives

12Forward Citations (#8430769 Global)
0.6/yrCitation Velocity (#13839033 Global)
2.28Citation PageRank (#11792110 Global)
7Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

One embodiment of the present invention provides a system that automatically computes a derivative of a numerical expression within a digital computer system. The system operates by receiving a representation of the numerical expression, wherein the numerical expression includes one or more independent variables. Next, the system forms an expression tree for the derivative of the numerical expression with respect to an independent variable, wherein the expression tree makes use of temporary variables to form results of sub-expressions for computing the derivative. While forming this expression tree, the system seeks to introduce only temporary variables and associated sub-expressions as necessary to eliminate repeated common sub-expressions, thereby substantially minimizing the number of temporary variables. The system subsequently uses this expression tree to compute the derivative of the numerical expression during a computation.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 12.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for automatically generating code to compute a derivative of a numerical expression within a digital computer system, comprising: receiving a representation of the numerical expression within the digital computer system, wherein the numerical expression includes one or more independent variables; storing the representation in a computer memory; forming an expression tree for the derivative of the numerical expression with respect to an independent variable, wherein the expression tree makes use of temporary variables to form results of sub-expressions for computing the derivative of t

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (2)

  • Neidinger, R. An Efficient Method for the Numerical Evaluation of Partial Derivatives . . . , 1992, ACM, p. 159-173.*
  • Wengert, R. A Simple Automatic Derivative Evaluation Program.