mgcpp
A C++ Math Library Based on CUDA
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_OPERATIONS_ADDITION_HPP_
8 #define _MGCPP_OPERATIONS_ADDITION_HPP_
9 
14 
15 #include <cstdlib>
16 
17 namespace mgcpp {
18 namespace strict {
23 template <typename LhsDenseMat, typename RhsDenseMat, typename Type>
24 inline decltype(auto) add(dense_matrix<LhsDenseMat, Type> const& lhs,
26 
31 template <typename LhsDenseVec, typename RhsDenseVec, typename Type>
32 inline decltype(auto) add(dense_vector<LhsDenseVec, Type> const& first,
33  dense_vector<RhsDenseVec, Type> const& second);
34 } // namespace strict
35 } // namespace mgcpp
36 
37 #include <mgcpp/operations/add.tpp>
38 #endif
Definition: adapter_base.hpp:12
decltype(auto) add(dense_matrix< LhsDenseMat, Type > const &lhs, dense_matrix< RhsDenseMat, Type > const &rhs)
Definition: dense_vector.hpp:15
Definition: dense_matrix.hpp:15