APL ConferencePub Date : 2003-06-11DOI: 10.1145/882067.882081
R. Selfridge
{"title":"Bit arrays from row and column sums","authors":"R. Selfridge","doi":"10.1145/882067.882081","DOIUrl":"https://doi.org/10.1145/882067.882081","url":null,"abstract":"A number of fields, especially within ecology, use bit arrays (i.e. matrices with entries either 0 or 1) to study distributions. In particular such an array serves as a presence/absence array to describe the distribution of species (a given row) across islands (a given column). In such an environment one concept is that the total number of species on a given island will stay fixed, as will the total number of islands populated by a given species. Thus a primary constraint is fixed row/column sums.Now we need to create sample bit-matrices that meet these row and column sum constraints. If such matrices are 'properly random' then conclusions are drawn about the actual physical solution. It is not our intent to consider such conclusions, but rather to discuss only the possible ways to generate such bit-matrices and describe a new algorithm for generation.","PeriodicalId":296875,"journal":{"name":"APL Conference","volume":"32 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-06-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121176216","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
APL ConferencePub Date : 2003-06-11DOI: 10.1145/882067.882070
D. Baronet
{"title":"NAVPLANR (NP): flight navigation planning software","authors":"D. Baronet","doi":"10.1145/882067.882070","DOIUrl":"https://doi.org/10.1145/882067.882070","url":null,"abstract":"NP is a program used to help pilots make decisions about flights by providing important navigation information.NP is written in J.This document shows an example of how to take a project and build it from the ground up using J. It does not cover the whole of J but only some of its features.","PeriodicalId":296875,"journal":{"name":"APL Conference","volume":"38 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-06-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125667426","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
APL ConferencePub Date : 2003-06-11DOI: 10.1145/882067.882071
R. Bernecky
{"title":"An SPMD/SIMD parallel tokenizer for APL","authors":"R. Bernecky","doi":"10.1145/882067.882071","DOIUrl":"https://doi.org/10.1145/882067.882071","url":null,"abstract":"We describe a highly parallel (SIMD within SPMD) tokenizer for the APL language, itself written in APL. The tokenizer does not break any new ground in the world of parallel computation, but does serve the didactic purpose of demonstrating that a large amount of parallelism exists in non-numeric computation. We plan to release the APEX APL Compiler, including the tokenizer, under the GNU Public License.","PeriodicalId":296875,"journal":{"name":"APL Conference","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-06-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128651075","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
APL ConferencePub Date : 2003-06-11DOI: 10.1145/882067.882078
Samir Lipovaca, J. Burchfield
{"title":"Finite group tables in APL","authors":"Samir Lipovaca, J. Burchfield","doi":"10.1145/882067.882078","DOIUrl":"https://doi.org/10.1145/882067.882078","url":null,"abstract":"It is known from group theory that multiplication tables for finite groups are Latin squares. These basic Latin squares have proved useful for solving various problems, for example, problems of memory management in parallel computing systems, organizing party games, communications networking, computer imaging, and experimental design. We show how the problem of multiplication tables for a finite group G of order N can be solved using APL. The solution is based on Lagrange's and Cayley's theorems for finite groups: the order of a subgroup of a finite group G is a divisor of the order of the group and every group G of order N is isomorphic with a subgroup of the group of permutations of N objects (symmetric group SN). We demonstrate that using APL interactively offers a powerful, consistent, and simple notation for dealing with the elements of the symmetric group SN. Group tables for the groups of order 4, 6, and 8 are used to illustrate the method. Possible simplifications of the method are outlined.","PeriodicalId":296875,"journal":{"name":"APL Conference","volume":"103 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-06-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123429160","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
APL ConferencePub Date : 2003-06-11DOI: 10.1145/882067.882073
Stephen Bique
{"title":"Useful formulas for multidimensional arrays","authors":"Stephen Bique","doi":"10.1145/882067.882073","DOIUrl":"https://doi.org/10.1145/882067.882073","url":null,"abstract":"Previous work focused on developing a complete yet concise calculus for programming multidimensional arrays that is based mainly on the essential mathematical properties of computations, that permits the expression of mathematical algorithms as in APL, and that balances abstraction and application. Primitives are defined in an architecture-independent way using algebraic notions, mainly constructors, as in the theory of lists, instead of freely defining operations as in APL. Multidimensional arrays are defined so that they possess a single type, which is a primitive concept independent of other data types or an implementation. Traditional notation for arrays is sometimes more of an obstacle than an aid. We review useful formulas and identities that lack many of the indices typically required. We show how the new notation helps to simplify some of the definitions and proofs. We give a couple examples starting from the specification of a problem.","PeriodicalId":296875,"journal":{"name":"APL Conference","volume":"46 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-06-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114962696","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
APL ConferencePub Date : 2003-06-11DOI: 10.1145/882067.882074
Ronald I. Frank
{"title":"An algorithm to compute all full-span sub arrays of a regular array","authors":"Ronald I. Frank","doi":"10.1145/882067.882074","DOIUrl":"https://doi.org/10.1145/882067.882074","url":null,"abstract":"We present an algorithm that explicitly generates all full-span regular sub arrays of a given N dimensional regular array. By explicit, we mean that we generate the N-dimensional indexes of the j-dimensional sub array cells that make up each j-dimensional sub array. The algorithm can be viewed as generating all j-dimensional full span sub arrays for fixed j, for j = 0 to j = N. We first list some lemmas and definitions, and then give the algorithm that is based upon the knowledge gained from a new expansion [1] and [2]. There is an alternate combinatorial argument yielding the same algorithm.First we give an heuristic summary and then a more detailed example use. In the algorithm, we use APL-C-Java order in the indexes, i.e., right-to-left (RTL). However, essentially the same algorithm (except for transpositions) holds for left-to-right (LTR) order as used in FORTRAN. In the exposition, we use mathematical notation, which is LTR.There is a Java 1.4 code and an APL WS available. The Java code requires an interactive input of the dimension of the original array and its shape vector. The APL WS contains FNS that work the same way, and others that can be used as callable sub FNS. An appendix exhibits the APL code that computes this algorithm for a given j.","PeriodicalId":296875,"journal":{"name":"APL Conference","volume":"15 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-06-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"123287091","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
APL ConferencePub Date : 2003-06-11DOI: 10.1145/882067.882079
Georg Reichard
{"title":"INSTRUCTOR: a new technique of guiding the user in simulation software","authors":"Georg Reichard","doi":"10.1145/882067.882079","DOIUrl":"https://doi.org/10.1145/882067.882079","url":null,"abstract":"A new guidance concept is presented, which encourages third parties to provide additional comprehensive information to users of highly complex (e.g. simulation-) software, helping them to flatten the steep learning curve by understanding the impact of decisions made during the input/design process.","PeriodicalId":296875,"journal":{"name":"APL Conference","volume":"24 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-06-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133982186","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
APL ConferencePub Date : 2003-06-11DOI: 10.1145/882067.882072
R. Bernecky, Peter K. Wooster
{"title":"Bitslice: representation without taxation","authors":"R. Bernecky, Peter K. Wooster","doi":"10.1145/882067.882072","DOIUrl":"https://doi.org/10.1145/882067.882072","url":null,"abstract":"We describe bitslice, a high-performance utility for parallel bit-level indexing of array data. We claim that our results demonstrate the importance of bit arrays as a fundamental data type and of being able to view array data at the Boolean array level. We present performance figures that confirm our claims, taken from a large data broadcast application.","PeriodicalId":296875,"journal":{"name":"APL Conference","volume":"27 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-06-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122645558","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
APL ConferencePub Date : 2003-06-11DOI: 10.1145/882067.882068
Linda Alvord, Tama Traberman
{"title":"Simulating ordered GRB color triples using J to create images with gradients in both hue and value","authors":"Linda Alvord, Tama Traberman","doi":"10.1145/882067.882068","DOIUrl":"https://doi.org/10.1145/882067.882068","url":null,"abstract":"This paper proposes a way to connect the properties of color called hue and value. We order colors using J and then simulate a palette of GRB color triples. The new palette arranges the colors in an almost perfect order from dark to light. From the suggested order for all 16, 777, 216 colors, we select a 216-color web palette which orders its colors by both hue and value. Using the GRB palette we create raster images from data arrays. In these images the colors indicate the relative magnitudes of the data. Contour maps follow easily. The proposed model serves as an excellent way to develop arrays in J. The model also demonstrates the process by which we make conjectures, create prototypes and assess their weaknesses and strengths.","PeriodicalId":296875,"journal":{"name":"APL Conference","volume":"38 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-06-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128372802","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
APL ConferencePub Date : 2003-06-11DOI: 10.1145/882067.882080
Kyosuke Saigusa
{"title":"Simulated APL session manager","authors":"Kyosuke Saigusa","doi":"10.1145/882067.882080","DOIUrl":"https://doi.org/10.1145/882067.882080","url":null,"abstract":"Many individuals around us will definitely benefit if they are given chances to use and learn APL without worrying about pre-decision financial or procedural obligations whatsoever. This paper proposes such a tool which can be distributed free without violating any commercial rules or business ethics.This tool is an application package created using \"Workstation APL2 for Multi-platforms Version 2\"; an IBM product announced in May, 2002. According to the IBM license document, free distribution of packaged applications with its run-time facilities is permitted without IBM approval.In its development, I emphasized the aspects of APL2 on the following points:1. Practicality- more business oriented2. Conformity-with the common practice3. Portability-across computing environments4. Support of Japanese Language","PeriodicalId":296875,"journal":{"name":"APL Conference","volume":"24 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2003-06-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133110364","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}