mult_specialize.hpp

来自「矩阵运算源码最新版本」· HPP 代码 · 共 52 行

HPP
52
字号
// Software License for MTL// // Copyright (c) 2007 The Trustees of Indiana University. All rights reserved.// Authors: Peter Gottschling and Andrew Lumsdaine// // This file is part of the Matrix Template Library// // See also license.mtl.txt in the distribution.#ifndef MTL_MULT_SPECIALIZE_INCLUDE#define MTL_MULT_SPECIALIZE_INCLUDE#include <boost/numeric/mtl/operation/dmat_dmat_mult.hpp>#include <boost/mpl/bool.hpp>namespace mtl { namespace detail {template <typename MatrixA, typename MatrixB, typename MatrixC>struct dmat_dmat_mult_tiling1{    static const unsigned long value= 4;};template <typename MatrixA, typename MatrixB, typename MatrixC>struct dmat_dmat_mult_tiling2{    static const unsigned long value= 4;};template <typename MatrixA, typename MatrixB, typename MatrixC>struct dmat_dmat_mult_specialize    : public boost::mpl::false_{};/*   In order to specialize the functor, write for instance:template <typename MatrixA, typename MatrixB, typename MatrixC>struct dmat_dmat_mult_specialize    : public boost::mpl::true_{    typedef gen_dmat_dmat_mult_t<> type;};*/}} // namespace mtl::detail#endif // MTL_MULT_SPECIALIZE_INCLUDE

⌨️ 快捷键说明

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