mgcpp
A C++ Math Library Based on CUDA
include
mgcpp
expressions
dmat_ref_expr.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_REF_EXPR_HPP_
8
#define _MGCPP_EXPRESSIONS_DMAT_REF_EXPR_HPP_
9
10
#include <
mgcpp/expressions/dmat_expr.hpp
>
11
#include <
mgcpp/expressions/eval_context.hpp
>
12
#include <
mgcpp/expressions/generic_expr.hpp
>
13
#include <
mgcpp/matrix/forward.hpp
>
14
15
namespace
mgcpp
{
16
17
struct
dmat_ref_expr_type;
18
19
template
<
typename
Matrix>
20
using
dmat_ref_expr
=
21
generic_expr<dmat_ref_expr_type, 0, dmat_expr, Matrix, 1, Matrix const&>
;
22
23
template
<
typename
DenseMatrix,
typename
Type>
24
inline
dmat_ref_expr<DenseMatrix>
ref
(
25
dense_matrix<DenseMatrix, Type>
const
& mat);
26
}
// namespace mgcpp
27
28
#include <
mgcpp/expressions/dmat_ref_expr.tpp
>
29
#endif
generic_expr.hpp
mgcpp
Definition:
adapter_base.hpp:12
dmat_ref_expr.tpp
dmat_expr.hpp
mgcpp::dmat_ref_expr
generic_expr< dmat_ref_expr_type, 0, dmat_expr, Matrix, 1, Matrix const & > dmat_ref_expr
Definition:
dmat_ref_expr.hpp:21
mgcpp::generic_expr
Definition:
forward.hpp:25
mgcpp::dense_matrix
Definition:
dense_matrix.hpp:15
eval_context.hpp
mgcpp::ref
dmat_ref_expr< DenseMatrix > ref(dense_matrix< DenseMatrix, Type > const &mat)
forward.hpp
Generated by
1.8.13