[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/190271.190312acmconferencesArticle/Chapter ViewAbstractPublication PagesaplConference Proceedingsconference-collections
Article
Free access

Applying matrix divide in APL and J

Published: 01 August 1994 Publication History

Abstract

This paper shows two generalisations of the APL2 domino function. Domino has two roles, first the solution of non-degenerate systems of linear equations, and secondly the estimation of linear least squares fits. There is an inherent duality between these, since the first consists of finding a series of x-values to fit a set of fixed c's (coefficients), whereas the second consists of finding a series of c's to fit a set of fixed x- and y-values. This duality is exploited in extending both roles of domino using Newton-Raphson iteration to find roots of non-linear systems on the one hand, and to perform non-linear curve fitting on the other. The nature of the problem is such that it is natural to write APL2 solutions using operators rather than functions, and in each case a corresponding J solution is given. Further simple idioms involving domino give the consequent fitted values and Analysis of Variance calculations. The paper concludes with a compact tool-kit showing in parallel columns both the APL2 and J codes needed to achieve these extensions. The brevity of the J code speaks for itself.

References

[1]
Eusebi, E.V. "Operators for Recursion," APL85 Conference Proceedings. APL Quote Quad, vol. 15, no. 4, May 1985.
[2]
Iverson, K.E. "Calculus," Iverson Software, Inc., 33 Major Street, Toronto MSS 2K9, 1993.
[3]
Mansour, S.M. "Using Defined Operators and Function Arrays to Solve Non-Linear Equations in APL2," APL93 Conference Proceedings. APL Quote Quad, vol. 24, no. I, August 1993.
[4]
Neidinger,R.J. "An APL Approach to Differential Calculus Yields a Powerful Fool," APL89 Conference Proceedings. APL Quote Quad, vol. 19, no. 4, August 1989.

Cited By

View all

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
APL '94: Proceedings of the international conference on APL : the language and its applications: the language and its applications
August 1994
234 pages
ISBN:0897916751
DOI:10.1145/190271

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 August 1994

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

APL94
Sponsor:
APL94: International Conference on APL
September 11 - 15, 1994
Antwerp, Belgium

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)65
  • Downloads (Last 6 weeks)18
Reflects downloads up to 01 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (1994)Analysing time-series in APLACM SIGAPL APL Quote Quad10.1145/190468.19031125:1(205-210)Online publication date: 1-Aug-1994
  • (1994)Analysing time-series in APLProceedings of the international conference on APL : the language and its applications: the language and its applications10.1145/190271.190311(205-210)Online publication date: 1-Aug-1994
  • (1998)Teaching classical calculation methodsACM SIGAPL APL Quote Quad10.1145/327600.32769529:3(179-188)Online publication date: 27-Jul-1998
  • (1998)Teaching classical calculation methodsProceedings of the APL98 conference on Array Processing Languages10.1145/327559.327695(179-188)Online publication date: 27-Jul-1998
  • (1995)The role of composition in computer programmingACM SIGAPL APL Quote Quad10.1145/206944.20698525:4(116-133)Online publication date: 8-Jun-1995
  • (1995)The role of composition in computer programmingProceedings of the international conference on Applied programming languages10.1145/206913.206985(116-133)Online publication date: 8-Jun-1995

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media