On a vectorized basic linear algebra package for prototyping codes in MATLAB
Alexej Moskovka, Talal Rahman, Jan Valdman, Jon Eivind Vatne

TL;DR
This paper presents a vectorized basic linear algebra package for MATLAB that enhances code readability, structure, and speed in numerical computations, especially for finite element methods, by separating mathematical and vectorization parts.
Contribution
It introduces a formal multi-linear algebra framework for a vectorized linear algebra package in MATLAB, improving code clarity and performance.
Findings
The package enables faster computations through benchmarking.
It maintains code structure and readability in complex numerical methods.
Examples include finite element computations and geometric calculations.
Abstract
When writing high-performance code for numerical computation in a scripting language like MATLAB, it is crucial to have the operations in a large for-loop vectorized. If not, the code becomes too slow to use, even for a moderately large problem. However, in the process of vectorizing, the code often loses its original structure and becomes less readable. This is particularly true in the case of a finite element implementation, even though finite element methods are inherently structured. A basic remedy to this is the separation of the vectorization part from the mathematics part of the code, which is easily achieved through building the code on top of the basic linear algebra subprograms that are already vectorized codes, an idea that has been used in a series of papers over the last fifteen years, developing codes that are fast and still structured and readable. We discuss the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEmbedded Systems Design Techniques · Parallel Computing and Optimization Techniques · Spacecraft Design and Technology
