syevd.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
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