source:
vendors/XIOS/current/extern/boost/include/boost/numeric/ublas/operation/c_array.hpp
@
3408
Last change on this file since 3408 was 3408, checked in by rblod, 12 years ago | |
---|---|
|
|
File size: 957 bytes |
Line | |
---|---|
1 | /** |
2 | * -*- c++ -*- |
3 | * |
4 | * \file c_array.hpp |
5 | * |
6 | * \brief provides specializations of matrix and vector operations for c arrays and c matrices. |
7 | * |
8 | * Copyright (c) 2009, Gunter Winkler |
9 | * |
10 | * Distributed under the Boost Software License, Version 1.0. (See |
11 | * accompanying file LICENSE_1_0.txt or copy at |
12 | * http://www.boost.org/LICENSE_1_0.txt) |
13 | * |
14 | * \author Gunter Winkler (guwi17 at gmx dot de) |
15 | */ |
16 | |
17 | #ifndef BOOST_NUMERIC_UBLAS_OPERATION_C_ARRAY_HPP |
18 | #define BOOST_NUMERIC_UBLAS_OPERATION_C_ARRAY_HPP |
19 | |
20 | #include <boost/numeric/ublas/traits/c_array.hpp> |
21 | |
22 | namespace boost { namespace numeric { namespace ublas { |
23 | |
24 | namespace detail { |
25 | |
26 | |
27 | |
28 | } // namespace boost::numeric::ublas::detail |
29 | |
30 | |
31 | template <typename T> |
32 | BOOST_UBLAS_INLINE |
33 | typename ExprT::const_iterator begin(vector_expression<ExprT> const& e) |
34 | { |
35 | return detail::begin_impl<typename ExprT::type_category>::apply(e()); |
36 | } |
37 | |
38 | |
39 | }}} // Namespace boost::numeric::ublas |
40 | |
41 | #endif |
Note: See TracBrowser
for help on using the repository browser.