mgcpp
A C++ Math Library Based on CUDA
dvec_dvec_add.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_DVEC_DVEC_ADD_HPP_
8 #define _MGCPP_EXPRESSIONS_DVEC_DVEC_ADD_HPP_
9 
12 
13 namespace mgcpp {
14 
15 struct dvec_dvec_add_expr_type;
16 
17 template <typename LhsExpr, typename RhsExpr>
18 using dvec_dvec_add_expr = binary_expr<dvec_dvec_add_expr_type,
19  dvec_expr,
20  typename LhsExpr::result_type,
21  LhsExpr,
22  RhsExpr>;
23 
28 template <typename LhsExpr, typename RhsExpr>
30  dvec_expr<LhsExpr> const& lhs,
31  dvec_expr<RhsExpr> const& rhs) noexcept;
32 
37 template <typename LhsExpr, typename RhsExpr>
39  dvec_expr<LhsExpr> const& lhs,
40  dvec_expr<RhsExpr> const& rhs) noexcept;
41 } // namespace mgcpp
42 
44 #endif // _MGCPP_EXPRESSIONS_DVEC_DVEC_ADD_HPP_
auto operator+(dmat_expr< LhsExpr > const &lhs, dmat_expr< RhsExpr > const &rhs) noexcept
Definition: adapter_base.hpp:12
generic_expr< TagType, 0, ResultExprType, ResultType, 0, LhsExpr, RhsExpr > binary_expr
Definition: generic_expr.hpp:110
Definition: dvec_expr.hpp:20
auto add(dmat_expr< LhsExpr > const &lhs, dmat_expr< RhsExpr > const &rhs) noexcept
Definition: forward.hpp:25
binary_expr< dvec_dvec_add_expr_type, dvec_expr, typename LhsExpr::result_type, LhsExpr, RhsExpr > dvec_dvec_add_expr
Definition: dvec_dvec_add.hpp:22