test2.hpp

来自「Boost provides free peer-reviewed portab」· HPP 代码 · 共 52 行

HPP
52
字号
////  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, int 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, int N>struct test_blas_2 {    typedef typename V::value_type value_type;    void test ();};template<class M, int N>struct test_blas_3 {    typedef typename M::value_type value_type;    void test ();};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?