Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59075 - in sandbox/numeric_bindings/boost/numeric/bindings/blas: . level1
From: rutger_at_[hidden]
Date: 2010-01-16 10:51:03


Author: rutger
Date: 2010-01-16 10:51:02 EST (Sat, 16 Jan 2010)
New Revision: 59075
URL: http://svn.boost.org/trac/boost/changeset/59075

Log:
removed wrongly generated drot.hpp from blas/level1

Removed:
   sandbox/numeric_bindings/boost/numeric/bindings/blas/level1/drot.hpp
Text files modified:
   sandbox/numeric_bindings/boost/numeric/bindings/blas/level1.hpp | 1 -
   1 files changed, 0 insertions(+), 1 deletions(-)

Modified: sandbox/numeric_bindings/boost/numeric/bindings/blas/level1.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/blas/level1.hpp (original)
+++ sandbox/numeric_bindings/boost/numeric/bindings/blas/level1.hpp 2010-01-16 10:51:02 EST (Sat, 16 Jan 2010)
@@ -15,7 +15,6 @@
 #include <boost/numeric/bindings/blas/level1/dotc.hpp>
 #include <boost/numeric/bindings/blas/level1/dot.hpp>
 #include <boost/numeric/bindings/blas/level1/dotu.hpp>
-#include <boost/numeric/bindings/blas/level1/drot.hpp>
 #include <boost/numeric/bindings/blas/level1/nrm2.hpp>
 #include <boost/numeric/bindings/blas/level1/rotg.hpp>
 #include <boost/numeric/bindings/blas/level1/rot.hpp>

Deleted: sandbox/numeric_bindings/boost/numeric/bindings/blas/level1/drot.hpp
==============================================================================
--- sandbox/numeric_bindings/boost/numeric/bindings/blas/level1/drot.hpp 2010-01-16 10:51:02 EST (Sat, 16 Jan 2010)
+++ (empty file)
@@ -1,112 +0,0 @@
-//
-// Copyright (c) 2003--2009
-// Toon Knapen, Karl Meerbergen, Kresimir Fresl,
-// Thomas Klimpel and Rutger ter Borg
-//
-// 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)
-//
-// THIS FILE IS AUTOMATICALLY GENERATED
-// PLEASE DO NOT EDIT!
-//
-
-#ifndef BOOST_NUMERIC_BINDINGS_BLAS_LEVEL1_DROT_HPP
-#define BOOST_NUMERIC_BINDINGS_BLAS_LEVEL1_DROT_HPP
-
-// Include header of configured BLAS interface
-#if defined BOOST_NUMERIC_BINDINGS_BLAS_HAVE_CBLAS
-#include <boost/numeric/bindings/blas/detail/cblas.h>
-#elif defined BOOST_NUMERIC_BINDINGS_BLAS_HAVE_CUBLAS
-#include <boost/numeric/bindings/blas/detail/cublas.h>
-#else
-#include <boost/numeric/bindings/blas/detail/blas.h>
-#endif
-
-#include <boost/mpl/bool.hpp>
-#include <boost/numeric/bindings/traits/traits.hpp>
-#include <boost/numeric/bindings/traits/type_traits.hpp>
-#include <boost/static_assert.hpp>
-#include <boost/type_traits/is_same.hpp>
-
-namespace boost {
-namespace numeric {
-namespace bindings {
-namespace blas {
-
-// The detail namespace is used for overloads on value type,
-// and to dispatch to the right routine
-
-namespace detail {
-
-inline void drot( const integer_t n, const traits::complex_d* cx,
- const integer_t incx, const traits::complex_d* cy,
- const integer_t incy, const double c, const double s ) {
-#if defined BOOST_NUMERIC_BINDINGS_BLAS_CBLAS
- //TODO( ... ); // FIXME
-#elif defined BOOST_NUMERIC_BINDINGS_BLAS_CUBLAS
- //TODO( ... ); // FIXME
-#else
- BLAS_ZDROT( &n, traits::complex_ptr(cx), &incx, traits::complex_ptr(cy),
- &incy, &c, &s );
-#endif
-}
-
-
-struct blas_backend {
-
- static void drot( ... ) {
- }
-
-};
-
-
-
-
-
-
-
-
-
-} // namespace detail
-
-// value-type based template
-template< typename ValueType, typename Backend = use_default >
-struct drot_impl {
-
- typedef ValueType value_type;
- typedef typename traits::type_traits<ValueType>::real_type real_type;
- typedef void return_type;
-
- // static template member function
- template< typename VectorCX, typename VectorCY >
- static return_type invoke( const integer_t n, const VectorCX& cx,
- const VectorCY& cy, const real_type c, const real_type s ) {
- BOOST_STATIC_ASSERT( (boost::is_same< typename traits::vector_traits<
- VectorCX >::value_type, typename traits::vector_traits<
- VectorCY >::value_type >::value) );
- detail::drot( n, traits::vector_storage(cx),
- traits::vector_stride(cx), traits::vector_storage(cy),
- traits::vector_stride(cy), c, s );
- }
-};
-
-// generic template function to call drot
-template< typename VectorCX, typename VectorCY >
-inline typename drot_impl< typename traits::vector_traits<
- VectorCX >::value_type >::return_type
-drot( const integer_t n, const VectorCX& cx, const VectorCY& cy,
- const typename traits::type_traits< typename traits::vector_traits<
- VectorCX >::value_type >::real_type c,
- const typename traits::type_traits< typename traits::vector_traits<
- VectorCX >::value_type >::real_type s ) {
- typedef typename traits::vector_traits< VectorCX >::value_type value_type;
- drot_impl< value_type >::invoke( n, cx, cy, c, s );
-}
-
-} // namespace blas
-} // namespace bindings
-} // namespace numeric
-} // namespace boost
-
-#endif


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