syevd.hpp

Go to the documentation of this file.
00001 // 
00002 // Copyright (c) Thomas Klimpel 2008
00003 //
00004 // Distributed under the Boost Software License, Version 1.0.
00005 // (See accompanying file LICENSE_1_0.txt or copy at
00006 // http://www.boost.org/LICENSE_1_0.txt)
00007 //
00008 
00009 #ifndef BOOST_NUMERIC_BINDINGS_LAPACK_SYEVD_HPP
00010 #define BOOST_NUMERIC_BINDINGS_LAPACK_SYEVD_HPP
00011 
00012 #include <boost/numeric/bindings/lapack/heevd.hpp>
00013 
00014 namespace boost { namespace numeric { namespace bindings { 
00015   namespace lapack {
00016 
00017     template <typename A, typename W, typename Work>
00018     inline int syevd (
00019       char jobz, char uplo, A& a,
00020       W& w, Work work = optimal_workspace() ) {
00021 
00022 #ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK 
00023       typedef typename A::value_type                               value_type ;
00024       typedef typename traits::type_traits< value_type >::real_type real_type ;
00025       BOOST_STATIC_ASSERT((boost::is_same<value_type, real_type>::value));
00026 #endif
00027 
00028       return heevd (jobz, uplo, a, w, work);
00029     }
00030   }
00031 }}}
00032 
00033 #endif

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