کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
434694 1441780 2006 22 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Gaussian Elimination: A case study in efficient genericity with MetaOCaml
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Gaussian Elimination: A case study in efficient genericity with MetaOCaml
چکیده انگلیسی

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.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Science of Computer Programming - Volume 62, Issue 1, September 2006, Pages 3-24