New functionality in blockops, a Mata library for efficient operations on block matrices
Daniel C. Schneider
Additional contact information
Daniel C. Schneider: MPIDR, Rostock
German Stata Conference 2026 from Stata Users Group
Abstract:
In Schneider (2025), a new Mata library called blockops was introduced. The library serves two main purposes. First, it provides a simple approach for working with a particular class of sparse matrices: submatrices consisting entirely of zeros are represented by null pointers and are excluded from arithmetic operations. Second, it allows the application of a built-in (official) Mata library, or user-defined functions to each submatrix, in a manner similar to, for example, R’s apply() family of functions. This presentation revisits the core ideas underlying blockops and then outlines recent developments. Key efficiency concerns have been addressed, and numerous new methods have been added to the library’s central object, which represents a block matrix. The practical usefulness of the extended functionality is illustrated through several examples.
Date: 2026-08-24
References: Add references at CitEc
Citations:
Downloads: (external link)
http://repec.org/dsug2026/Germany26_Schneider.pdf
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:boc:dsug26:08
Access Statistics for this paper
More papers in German Stata Conference 2026 from Stata Users Group Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().