发明名称 Method and apparatus for automatically producing efficient code for computing derivatives
摘要 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.
申请公布号 US6895574(B2) 申请公布日期 2005.05.17
申请号 US20010895902 申请日期 2001.06.28
申请人 SUN MICROSYSTEMS, INC. 发明人 WALSTER G. WILLIAM
分类号 G06F9/45;G06F17/10;G06J1/00;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址