mgcpp
A C++ Math Library Based on CUDA
dmat_dvec_mult.hpp
Go to the documentation of this file.
1 
2 // Copyright RedPortal, mujjingun 2017 - 2018.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
6 
7 #ifndef _MGCPP_EXPRESSIONS_DMAT_DVEC_MULT_EXPR_HPP_
8 #define _MGCPP_EXPRESSIONS_DMAT_DVEC_MULT_EXPR_HPP_
9 
13 
14 namespace mgcpp {
15 
16 struct dmat_dvec_mult_expr_type;
17 
18 template <typename MatExpr, typename VecExpr>
19 using dmat_dvec_mult_expr = binary_expr<dmat_dvec_mult_expr_type,
20  dvec_expr,
21  typename VecExpr::result_type,
22  MatExpr,
23  VecExpr>;
24 
29 template <typename MatExpr, typename VecExpr>
31  dmat_expr<MatExpr> const& mat,
32  dvec_expr<VecExpr> const& vec) noexcept;
33 
38 template <typename MatExpr, typename VecExpr>
40  dmat_expr<MatExpr> const& mat,
41  dvec_expr<VecExpr> const& vec) noexcept;
42 } // namespace mgcpp
43 
45 #endif
Definition: adapter_base.hpp:12
binary_expr< dmat_dvec_mult_expr_type, dvec_expr, typename VecExpr::result_type, MatExpr, VecExpr > dmat_dvec_mult_expr
Definition: dmat_dvec_mult.hpp:23
dmat_dmat_mult_expr< LhsExpr, RhsExpr > mult(dmat_expr< LhsExpr > const &lhs, dmat_expr< RhsExpr > const &rhs) noexcept
generic_expr< TagType, 0, ResultExprType, ResultType, 0, LhsExpr, RhsExpr > binary_expr
Definition: generic_expr.hpp:110
Definition: dvec_expr.hpp:20
Definition: dmat_expr.hpp:19
Definition: forward.hpp:25
dmat_dmat_mult_expr< LhsExpr, RhsExpr > operator*(dmat_expr< LhsExpr > const &lhs, dmat_expr< RhsExpr > const &rhs) noexcept