Method for array shape inferencing for a class of functions in MATLAB
Abstract
A method for inferring the shape and dimension of arrays for high-level, array-based languages such as MATLAB is presented. The method uses the algebraic properties that underlie MATLAB's shape semantics and infers the shape that the program expression assumes. In one embodiment, a shape-tuple of the result of a program expression is inferred by creating a shape-tuple expression comprising the shape-tuples of the operands and the shape-tuple operator.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 17.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for inferring, prior to run-time, an array shape of a result of a program expression of a high-level array-based language, the method comprising: arranging an extent for each array dimension of each operand of the program expression of the high-level array-based language when the size of at least one of said each operand is unknown into an input shape-tuple of said each operand; identifying a program operator associated with said each operand in the program expression; mapping the program operator to an associated shape-tuple operator, wherein the shape-tuple oper
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 17 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (5)
- Bouet et al., Shape Representation for Image Retrieval, ACM, 1999.
- DeRose et al., "Techniques for the translation of MATLAB programs into Fortran 90," Mar. 1999,ACM Transactions on Programming Languages and Systems (TOPLAS), vol. 21 Issue 2 , pages.
- Haldar et al., match Virtual machine: An Adaptive Runtime System to execute MATLAB in Parallel, IEEE, 2000.
- Joisha et al., "Handling Context-Sensitive Syntactic Issues in the Design of a Front-End for a MATLAT Compiler," APL conference, 4/20.
- Menon et al. "A Case for Source-Level Transformations in MATLAB," Dec. 1999, ACM, vol. 35 Issue 1, pp. 53-65.