10#ifndef XTENSOR_FORWARD_HPP
11#define XTENSOR_FORWARD_HPP
28#include <xtl/xoptional_sequence.hpp>
31#include "xtensor_config.hpp"
35 struct xtensor_expression_tag;
36 struct xoptional_expression_tag;
39 struct xcontainer_inner_types;
44 template <
class T,
class A>
47 template <
class T, std::
size_t N,
class A,
bool Init>
53 class SC = XTENSOR_DEFAULT_SHAPE_CONTAINER(
typename EC::value_type,
typename EC::allocator_type, std::allocator<typename EC::size_type>),
54 class Tag = xtensor_expression_tag>
55 class xarray_container;
80 class A = XTENSOR_DEFAULT_ALLOCATOR(T),
81 class SA = std::allocator<typename std::vector<T, A>::size_type>>
87 class SC = XTENSOR_DEFAULT_SHAPE_CONTAINER(
typename EC::value_type, std::allocator<typename EC::size_type>, std::allocator<typename EC::size_type>),
104 class A = XTENSOR_DEFAULT_ALLOCATOR(T),
105 class BC = xtl::xdynamic_bitset<std::size_t>,
106 class SA = std::allocator<typename std::vector<T, A>::size_type>>
108 xtl::xoptional_vector<T, A, BC>,
110 XTENSOR_DEFAULT_SHAPE_CONTAINER(T, A,
SA),
113 template <
class EC, std::
size_t N, layout_type L = XTENSOR_DEFAULT_LAYOUT,
class Tag = xtensor_expression_tag>
136 template <
class T, std::
size_t N, layout_type L = XTENSOR_DEFAULT_LAYOUT,
class A = XTENSOR_DEFAULT_ALLOCATOR(T)>
139 template <
class EC, std::
size_t N, layout_type L = XTENSOR_DEFAULT_LAYOUT,
class Tag = xtensor_expression_tag>
142 template <
class EC, std::
size_t N, layout_type L = XTENSOR_DEFAULT_LAYOUT,
class Tag = xtensor_expression_tag>
145 template <std::size_t... N>
152 template <std::size_t... N>
155 template <
class ET,
class S, layout_type L = XTENSOR_DEFAULT_LAYOUT,
bool Sharable = true,
class Tag = xtensor_expression_tag>
158 template <
class ET,
class S, layout_type L = XTENSOR_DEFAULT_LAYOUT,
bool Sharable = true,
class Tag = xtensor_expression_tag>
181 template <
class T,
class FSH, layout_type L = XTENSOR_DEFAULT_LAYOUT,
bool Sharable = true>
198 class A = XTENSOR_DEFAULT_ALLOCATOR(T),
199 class BC = xtl::xdynamic_bitset<std::size_t>>
202 template <
class CT,
class...
S>
205 template <
class F,
class...
CT>
Fixed shape implementation for compile time defined arrays.
Dense multidimensional container adaptor with tensor semantic.
Dense multidimensional container with tensor semantic.
Dense multidimensional container adaptor with tensor semantic and fixed dimension.
Dense multidimensional container with tensor semantic and fixed dimension.
Multidimensional function operating on xtensor expressions.
Dense multidimensional container adaptor with tensor semantics and fixed dimension.
Dense multidimensional container with tensor semantic and fixed dimension.
Dense multidimensional container adaptor with view semantics and fixed dimension.
Multidimensional view with tensor semantic.
standard mathematical functions for xexpressions