A simple solver for linear equations containing nonlinear operators

作者: NORMAN RAMSEY

DOI: 10.1002/(SICI)1097-024X(199604)26:4<467::AID-SPE17>3.0.CO;2-M

关键词:

摘要: This paper presents a simple equation solver. The solver finds solutions for sets of linear equations extended with several nonlinear operators, including integer division and modulus, sign extension, bit slicing. uses new technique called balancing, which can eliminate some operators from set before applying Gaussian elimination. solver's principal advantages are its simplicity ability to handle functions more than one variable. is part an application generator that provides encoding decoding machine instructions based on equational specifications. presented not as pseudo code but literate program, guarantees the shown in same actually used. Using real exposes detail using pseudocode, literate-programming techniques help manage detail. should benefit readers who want implement their own solvers here.

参考文章(11)
Madge T. Griswold, Ralph E. Griswold, The Icon programming language ,(1983)
David A. Ladd, J. Christopher Ramming, Two Application languages in software production VHLLS'94 Proceedings of the USENIX 1994 Very High Level Languages Symposium Proceedings on USENIX 1994 Very High Level Languages Symposium Proceedings. pp. 10- 10 ,(1994)
N. Ramsey, Literate programming simplified IEEE Software. ,vol. 11, pp. 97- 105 ,(1994) , 10.1109/52.311070
Christoph M. Hoffmann, Michael J. O'Donnell, Programming with Equations ACM Transactions on Programming Languages and Systems. ,vol. 4, pp. 83- 112 ,(1982) , 10.1145/357153.357158
Kenneth Steiglitz, Christos H. Papadimitriou, Combinatorial Optimization: Algorithms and Complexity ,(1981)
Emanuel Derman, Christopher J. Van Wyk, A simple equation solver and its application to financial modelling Software - Practice and Experience. ,vol. 14, pp. 1169- 1181 ,(1984) , 10.1002/SPE.4380141208
Christopher J. Van Wyk, Arithmetic equality constraints as C++ statements Software - Practice and Experience. ,vol. 22, pp. 467- 494 ,(1992) , 10.1002/SPE.4380220604
Ivan E. Sutherland, Sketchpad Proceedings of the May 21-23, 1963, spring joint computer conference on - AFIPS '63 (Spring). pp. 329- 346 ,(1963) , 10.1145/1461551.1461591
William Pugh, A practical algorithm for exact array dependence analysis Communications of the ACM. ,vol. 35, pp. 102- 114 ,(1992) , 10.1145/135226.135233
Donald Ervin Knuth, Literate Programming ,(1984)