ublas/test/test2.hpp

52 lines
1.1 KiB
C++

//
// Copyright (c) 2000-2002
// Joerg Walter, Mathias Koch
//
// 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)
//
// The authors gratefully acknowledge the support of
// GeNeSys mbH & Co. KG in producing this work.
//
#ifndef TEST2_H
#define TEST2_H
#include <iostream>
#include <boost/numeric/ublas/vector.hpp>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/triangular.hpp>
#include <boost/numeric/ublas/io.hpp>
#include <boost/numeric/ublas/blas.hpp>
namespace ublas = boost::numeric::ublas;
#include "common/init.hpp"
template<class V, std::size_t N>
struct test_blas_1 {
typedef typename V::value_type value_type;
typedef typename ublas::type_traits<value_type>::real_type real_type;
void test ();
};
template<class V, class M, std::size_t N>
struct test_blas_2 {
typedef typename V::value_type value_type;
void test ();
};
template<class M, std::size_t N>
struct test_blas_3 {
typedef typename M::value_type value_type;
void test ();
};
#endif