ilaenv.hpp

Go to the documentation of this file.
00001 /*
00002  *
00003  * Copyright (c) Toon Knapen, Kresimir Fresl and Matthias Troyer 2003
00004  *
00005  * Distributed under the Boost Software License, Version 1.0.
00006  * (See accompanying file LICENSE_1_0.txt or copy at
00007  * http://www.boost.org/LICENSE_1_0.txt)
00008  *
00009  * KF acknowledges the support of the Faculty of Civil Engineering,
00010  * University of Zagreb, Croatia.
00011  *
00012  */
00013 
00014 #ifndef BOOST_NUMERIC_BINDINGS_LAPACK_ILAENV_HPP
00015 #define BOOST_NUMERIC_BINDINGS_LAPACK_ILAENV_HPP
00016 
00017 #include <cstring> 
00018 #include <boost/numeric/bindings/lapack/lapack.h>
00019 
00020 namespace boost { namespace numeric { namespace bindings { namespace lapack {
00021 
00022   /*
00023    * ilaenv() is called from the LAPACK routines to choose  
00024    * problem-dependent parameters such as the block sizes 
00025    * for the local environment.
00026    */
00027   
00028   inline
00029   int ilaenv (int const ispec, const char* name, const char* opts,
00030               int const n1 = -1, int const n2 = -1, 
00031               int const n3 = -1, int const n4 = -1)
00032   {
00033     return ::LAPACK_ILAENV (&ispec, name, opts, &n1, &n2, &n3, &n4,
00034                           std::strlen (name), std::strlen (opts));
00035   }
00036 
00037 
00038 }}}}
00039 
00040 #endif
00041 

Generated on Wed Nov 23 19:00:18 2011 for FreeCAD by  doxygen 1.6.1