An Algebraic Programming Style for Numerical Software and its Optimization
<|reference_start|>An Algebraic Programming Style for Numerical Software and its Optimization: The abstract mathematical theory of partial differential equations (PDEs) is formulated in terms of manifolds, scalar fields, tensors, and the like, but these algebraic structures are hardly recognizable in actual PDE solvers. The general aim of the Sophus programming style is to bridge the gap between theory and practice in the domain of PDE solvers. Its main ingredients are a library of abstract datatypes corresponding to the algebraic structures used in the mathematical theory and an algebraic expression style similar to the expression style used in the mathematical theory. Because of its emphasis on abstract datatypes, Sophus is most naturally combined with object-oriented languages or other languages supporting abstract datatypes. The resulting source code patterns are beyond the scope of current compiler optimizations, but are sufficiently specific for a dedicated source-to-source optimizer. The limited, domain-specific, character of Sophus is the key to success here. This kind of optimization has been tested on computationally intensive Sophus style code with promising results. The general approach may be useful for other styles and in other application domains as well.<|reference_end|>
@article{dinesh1999an,
    title={An Algebraic Programming Style for Numerical Software and its
  Optimization},
    author={T. B. Dinesh (Academic Systems Corp.), M. Haveraaen (UiB) and J.
  Heering (CWI)},
    journal={Scientific Programming 8 (2000) 4 pages 247-259 (Special issue on
  coordinate-free numerics)},
    year={1999},
    number={SEN-R9844 (CWI, Amsterdam)},
    archivePrefix={arXiv},
    eprint={cs/9903002},
    primaryClass={cs.SE cs.AI cs.CE cs.MS}
}