Table of Contents Author Guidelines Submit a Manuscript
Scientific Programming
Volume 20, Issue 4, Pages 379-391

The Software Architecture for Performing Scientific Computation with the JLAPACK Libraries in ScalaLab

Stergios Papadimitriou,1 Seferina Mavroudi,2,3 Kostas Theofilatos,2 and Spiridon Likothanasis2

1Department of Information Management, Technological Educational Institute of Kavala, Kavala, Greece
2Department of Computer Engineering and Informatics, University of Patras, Patras, Greece
3Department of Social Work, School of Sciences of Health and Care, Technological Educational Institute of Patras, Patras, Greece

Copyright © 2012 Hindawi Publishing Corporation. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.


Although LAPACK is a powerful library its utilization is difficult. JLAPACK, a Java translation obtained automatically from the Fortran LAPACK sources, retains exactly the same difficult to use interface of LAPACK routines. The MTJ library implements an object oriented Java interface to JLAPACK that hides many complicated details. ScalaLab exploits the flexibility of the Scala language to present an even more friendly and convenient interface to the powerful but complicated JLAPACK library. The article describes the interfacing of the low-level JLAPACK routines within the ScalaLab environment. This is performed rather easily by exploiting well suited features of the Scala language. Also, the paper demonstrates the convenience of using JLAPACK routines for linear algebra operations from within ScalaLab.