m4ri
M4RI is a library for fast arithmetic with dense matrices over GF(2)
What XERJ indexed
Snapshot
The whole repository at commit 7349c372c4 (2026-10-24). master is 1 commit ahead.
Selected work

“Allow interrupting OpenMP loops”. 13 files, 496 lines in tests, m4ri, the project root.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-26. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: approach only
linear-algebramatrix-multiplicationmatrix-factorizationc
Example questions
- How does m4ri implement linear-algebra?
- Where does m4ri handle “Allow interrupting OpenMP loops”?
- What does m4ri do in m4ri?
Inside the indexed corpus
- 168 files, 1.1 MB in total, about 6.5 KB per file.
- The selected commit changed 13 of those files (7.7%).
- Languages by size: C 72.3%, HTML 15.4%, M4 7.3%, CSS 3%, Makefile 0.9%.
- On GitHub since 2014-10-16, last push 2026-10-25, 864 commits on master.
- The pin is 1 commit behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported GPL-2.0 for malb/m4ri on 2026-10-31, and the LICENSE file at commit 7349c372c4 was reviewed as GPL-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Volker Braun (@vbraun) has 1 selected repository on the hub.
Using XERJ with m4ri
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones malb/m4ri at the pinned commit and indexes it on your machine.
Search the GitHub repository malb/m4ri with XERJ (https://hub.xerj.org/corpus/malb--m4ri). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/malb/m4ri m4ri && git -C m4ri checkout 7349c372c451806ffa9e3b19eed06831513ddbd7 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./m4ri --url http://127.0.0.1:9200 --prefix m4ri --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: GPL-2.0. Read it for the approach only, do not copy code.
Related
Volker BraunAPI design and specification corporalibsodiumlibhydrogenc-aresfuewwa/Katelamlalejandre/visual-somacupidthecat/cupid-nes
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.