|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50286 - sandbox/boost/numeric/bindings/lapack
From: thomas.klimpel_at_[hidden]
Date: 2008-12-15 17:22:23
Author: klimpel
Date: 2008-12-15 17:22:22 EST (Mon, 15 Dec 2008)
New Revision: 50286
URL: http://svn.boost.org/trac/boost/changeset/50286
Log:
minor cleanup
Text files modified:
sandbox/boost/numeric/bindings/lapack/geev.hpp | 1 -
sandbox/boost/numeric/bindings/lapack/geqrf.hpp | 1 -
sandbox/boost/numeric/bindings/lapack/heev.hpp | 1 -
sandbox/boost/numeric/bindings/lapack/hegv.hpp | 1 -
sandbox/boost/numeric/bindings/lapack/hseqr.hpp | 12 ------------
sandbox/boost/numeric/bindings/lapack/lapack.hpp | 9 +++------
sandbox/boost/numeric/bindings/lapack/orgqr.hpp | 1 -
sandbox/boost/numeric/bindings/lapack/ormqr.hpp | 1 -
sandbox/boost/numeric/bindings/lapack/syev.hpp | 1 -
sandbox/boost/numeric/bindings/lapack/syevx.hpp | 2 ++
sandbox/boost/numeric/bindings/lapack/sygv.hpp | 1 +
sandbox/boost/numeric/bindings/lapack/trevc.hpp | 1 -
sandbox/boost/numeric/bindings/lapack/trexc.hpp | 2 --
13 files changed, 6 insertions(+), 28 deletions(-)
Modified: sandbox/boost/numeric/bindings/lapack/geev.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/geev.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/geev.hpp 2008-12-15 17:22:22 EST (Mon, 15 Dec 2008)
@@ -20,7 +20,6 @@
#include <boost/numeric/bindings/lapack/lapack.h>
#include <boost/numeric/bindings/lapack/workspace.hpp>
#include <boost/numeric/bindings/traits/detail/array.hpp>
-// #include <boost/numeric/bindings/traits/std_vector.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
# include <boost/static_assert.hpp>
Modified: sandbox/boost/numeric/bindings/lapack/geqrf.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/geqrf.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/geqrf.hpp 2008-12-15 17:22:22 EST (Mon, 15 Dec 2008)
@@ -19,7 +19,6 @@
#include <boost/numeric/bindings/lapack/lapack.h>
#include <boost/numeric/bindings/lapack/workspace.hpp>
#include <boost/numeric/bindings/traits/detail/array.hpp>
-// #include <boost/numeric/bindings/traits/std_vector.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
# include <boost/static_assert.hpp>
Modified: sandbox/boost/numeric/bindings/lapack/heev.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/heev.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/heev.hpp 2008-12-15 17:22:22 EST (Mon, 15 Dec 2008)
@@ -19,7 +19,6 @@
#include <boost/numeric/bindings/lapack/lapack.h>
#include <boost/numeric/bindings/lapack/workspace.hpp>
#include <boost/numeric/bindings/traits/detail/array.hpp>
-// #include <boost/numeric/bindings/traits/std_vector.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
# include <boost/static_assert.hpp>
Modified: sandbox/boost/numeric/bindings/lapack/hegv.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/hegv.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/hegv.hpp 2008-12-15 17:22:22 EST (Mon, 15 Dec 2008)
@@ -13,7 +13,6 @@
#include <boost/numeric/bindings/lapack/lapack.h>
#include <boost/numeric/bindings/lapack/workspace.hpp>
#include <boost/numeric/bindings/traits/detail/array.hpp>
-// #include <boost/numeric/bindings/traits/std_vector.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
# include <boost/static_assert.hpp>
Modified: sandbox/boost/numeric/bindings/lapack/hseqr.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/hseqr.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/hseqr.hpp 2008-12-15 17:22:22 EST (Mon, 15 Dec 2008)
@@ -11,7 +11,6 @@
#ifndef BOOST_NUMERIC_BINDINGS_LAPACK_HSEQR_HPP
#define BOOST_NUMERIC_BINDINGS_LAPACK_HSEQR_HPP
-#include <iostream>
#include <complex>
#include <boost/numeric/bindings/traits/traits.hpp>
#include <boost/numeric/bindings/traits/matrix_traits.hpp>
@@ -99,8 +98,6 @@
float* wr, float* wi, float* Z, const int ldz, float* work,
const int* lwork){
int info;
-// std::cout << "I'm inside lapack::detail::hseqr_backend for floats"
-// << std::endl;
LAPACK_SHSEQR(job, compz, n, &ilo, &ihi, H, &ldH, wr, wi,
Z, &ldz, work, lwork, &info);
return info;
@@ -113,8 +110,6 @@
double* wr, double* wi, double* Z, const int ldz, double* work,
const int* lwork){
int info;
-// std::cout << "I'm inside lapack::detail::hseqr_backend for doubles"
-// << std::endl;
LAPACK_DHSEQR(job, compz, n, &ilo, &ihi, H, &ldH, wr, wi,
Z, &ldz, work, lwork, &info);
return info;
@@ -127,8 +122,6 @@
traits::complex_f* w, traits::complex_f* Z, int ldz,
traits::complex_f* work, const int* lwork){
int info;
-// std::cout << "I'm inside lapack::detail::hseqr_backend for complex<float>"
-// << std::endl;
LAPACK_CHSEQR(job, compz, n, &ilo, &ihi,
traits::complex_ptr(H), &ldH,
traits::complex_ptr(w),
@@ -144,8 +137,6 @@
traits::complex_d* w, traits::complex_d* Z, int ldz,
traits::complex_d* work, const int* lwork){
int info;
-// std::cout << "I'm inside lapack::detail::hseqr_backend for complex<double>"
-// << std::endl;
LAPACK_ZHSEQR(job, compz, n, &ilo, &ihi,
traits::complex_ptr(H), &ldH,
traits::complex_ptr(w),
@@ -161,7 +152,6 @@
struct Hseqr< 1 >{
template < typename A, typename W, typename V>
int operator() ( const char job, const char compz, A& H, W& w, V& Z ){
-// std::cout << "Inside Hseqr<1>." << std::endl;
int n = traits::matrix_size1(H);
typedef typename A::value_type value_type;
@@ -202,7 +192,6 @@
struct Hseqr< 2 >{
template < typename A, typename W, typename V>
int operator() ( const char job, const char compz, A& H, W& w, V& Z ){
-// std::cout << "Inside Hseqr<2>." << std::endl;
int n = traits::matrix_size1(H);
typedef typename A::value_type value_type;
@@ -234,7 +223,6 @@
template < typename A, typename W, typename V>
int hseqr( const char job, const char compz, A& H, W& w, V& Z ){
-// std::cout << "I'm inside lapack::detail::hseqr." << std::endl;
assert ( job == 'E' || job == 'S' );
assert ( compz == 'N' || compz == 'I' || compz == 'V' );
Modified: sandbox/boost/numeric/bindings/lapack/lapack.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/lapack.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/lapack.hpp 2008-12-15 17:22:22 EST (Mon, 15 Dec 2008)
@@ -2,12 +2,9 @@
*
* Copyright (c) Toon Knapen & Kresimir Fresl 2003
*
- * Permission to copy, modify, use and distribute this software
- * for any non-commercial or commercial purpose is granted provided
- * that this license appear on all copies of the software source code.
- *
- * Authors assume no responsibility whatsoever for its use and makes
- * no guarantees about its quality, correctness or reliability.
+ * Distributed under the Boost Software License, Version 1.0.
+ * (See accompanying file LICENSE_1_0.txt or copy at
+ * http://www.boost.org/LICENSE_1_0.txt)
*
* KF acknowledges the support of the Faculty of Civil Engineering,
* University of Zagreb, Croatia.
Modified: sandbox/boost/numeric/bindings/lapack/orgqr.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/orgqr.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/orgqr.hpp 2008-12-15 17:22:22 EST (Mon, 15 Dec 2008)
@@ -30,7 +30,6 @@
#include <boost/numeric/bindings/lapack/lapack.h>
#include <boost/numeric/bindings/lapack/workspace.hpp>
#include <boost/numeric/bindings/traits/detail/array.hpp>
-// #include <boost/numeric/bindings/traits/std_vector.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
# include <boost/static_assert.hpp>
Modified: sandbox/boost/numeric/bindings/lapack/ormqr.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/ormqr.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/ormqr.hpp 2008-12-15 17:22:22 EST (Mon, 15 Dec 2008)
@@ -19,7 +19,6 @@
#include <boost/numeric/bindings/lapack/lapack.h>
#include <boost/numeric/bindings/lapack/workspace.hpp>
#include <boost/numeric/bindings/traits/detail/array.hpp>
-// #include <boost/numeric/bindings/traits/std_vector.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
# include <boost/static_assert.hpp>
Modified: sandbox/boost/numeric/bindings/lapack/syev.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/syev.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/syev.hpp 2008-12-15 17:22:22 EST (Mon, 15 Dec 2008)
@@ -18,7 +18,6 @@
#include <boost/numeric/bindings/lapack/lapack.h>
#include <boost/numeric/bindings/lapack/workspace.hpp>
#include <boost/numeric/bindings/traits/detail/array.hpp>
-// #include <boost/numeric/bindings/traits/std_vector.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
# include <boost/static_assert.hpp>
Modified: sandbox/boost/numeric/bindings/lapack/syevx.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/syevx.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/syevx.hpp 2008-12-15 17:22:22 EST (Mon, 15 Dec 2008)
@@ -13,7 +13,9 @@
namespace boost { namespace numeric { namespace bindings {
namespace lapack {
+
template <typename A, typename T, typename W, typename Z, typename IFail, typename Work>
+ inline
int syevx (
char jobz, char range, A& a, T vl, T vu, int il, int iu, T abstol, int& m,
W& w, Z& z, IFail& ifail, Work work = optimal_workspace() ) {
Modified: sandbox/boost/numeric/bindings/lapack/sygv.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/sygv.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/sygv.hpp 2008-12-15 17:22:22 EST (Mon, 15 Dec 2008)
@@ -15,6 +15,7 @@
namespace lapack {
template <typename A, typename B, typename W, typename Work>
+ inline
int sygv (int itype, char jobz, char uplo, A& a, B& b, W& w, Work work = optimal_workspace()) {
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
Modified: sandbox/boost/numeric/bindings/lapack/trevc.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/trevc.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/trevc.hpp 2008-12-15 17:22:22 EST (Mon, 15 Dec 2008)
@@ -19,7 +19,6 @@
#include <boost/numeric/bindings/traits/type_traits.hpp>
#include <boost/numeric/bindings/lapack/lapack.h>
#include <boost/numeric/bindings/traits/detail/array.hpp>
-// #include <boost/numeric/bindings/traits/std_vector.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
# include <boost/static_assert.hpp>
Modified: sandbox/boost/numeric/bindings/lapack/trexc.hpp
==============================================================================
--- sandbox/boost/numeric/bindings/lapack/trexc.hpp (original)
+++ sandbox/boost/numeric/bindings/lapack/trexc.hpp 2008-12-15 17:22:22 EST (Mon, 15 Dec 2008)
@@ -14,12 +14,10 @@
#ifndef BOOST_NUMERIC_BINDINGS_LAPACK_TREXC_HPP
#define BOOST_NUMERIC_BINDINGS_LAPACK_TREXC_HPP
-#include <complex>
#include <boost/numeric/bindings/traits/traits.hpp>
#include <boost/numeric/bindings/traits/type_traits.hpp>
#include <boost/numeric/bindings/lapack/lapack.h>
#include <boost/numeric/bindings/traits/detail/array.hpp>
-// #include <boost/numeric/bindings/traits/std_vector.hpp>
#ifndef BOOST_NUMERIC_BINDINGS_NO_STRUCTURE_CHECK
# include <boost/static_assert.hpp>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk