Formulae and Tables
Norman D. Thomson
Additional contact information
Norman D. Thomson: IBM (United kingdom) Laboratories Ltd.
Chapter Chapter 5 in APL Programs for the Mathematics Classroom, 1989, pp 55-64 from Springer
Abstract:
Abstract In using APL to do straightforward evaluations of arithmetic formulae, the input expression is usually so close to the algebraic statement of the formula that it scarcely merits formal description as a program. One of the considerable advantages of APL over other programming languages is that where only one algebraic quantity is involved in the formula this can often be generalized to a vector, or indeed a higher order array, to give multiple evaluations with no change in APL input. Here are some examples : Area of a circle oR⋆2 Volume of a sphere o4× (R⋆3) ÷ 3 Conversion from Centigrade to Fahrenheit 32+1.8×C If conversion of a range of Centigrade degrees to Fahrenheit were required at 10 degree intervals, use $${\text{32 }} + {\text{ 1}}.{\text{8x}}C \leftarrow 0,{\text{ 1}}0{\text{x}}\wr {\text{1}}0$$ When more than one variable is involved in the formula, outer products can be used to obtain simultaneous evaluations.
Date: 1989
References: Add references at CitEc
Citations:
There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:spr:sprchp:978-1-4612-3668-9_5
Ordering information: This item can be ordered from
http://www.springer.com/9781461236689
DOI: 10.1007/978-1-4612-3668-9_5
Access Statistics for this chapter
More chapters in Springer Books from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().