Home
Scholarly Works
Gaussian Elimination: A case study in efficient...
Conference

Gaussian Elimination: A case study in efficient genericity with MetaOCaml

Abstract

The Gaussian Elimination algorithm is in fact an algorithm family — common implementations contain at least six (mostly independent) “design choices”. A generic implementation can easily be parametrized by all these design choices, but this usually leads to slow and bloated code. Using MetaOCaml’s staging facilities, we show how we can produce a natural and type-safe implementation of Gaussian Elimination which exposes its design choices at code-generation time, so that these choices can effectively be specialized away, and where the resulting code is quite efficient.

Authors

Carette J

Volume

62

Pagination

pp. 3-24

Publisher

Elsevier

Publication Date

September 1, 2006

DOI

10.1016/j.scico.2005.10.012

Conference proceedings

Science of Computer Programming

Issue

1

ISSN

0167-6423

Contact the Experts team