Home
last modified time | relevance | path

Searched refs:fixed_shape (Results 1 – 25 of 26) sorted by relevance

12

/dports/math/xtensor/xtensor-0.24.0/include/xtensor/
H A Dxshape.hpp35 class fixed_shape;
306 struct broadcast_fixed_shape_cmp_impl<JX, fixed_shape<I...>, fixed_shape<J...>>
324 …struct broadcast_fixed_shape_impl<std::index_sequence<JX...>, fixed_shape<I...>, fixed_shape<J...>>
328 …using type = xt::fixed_shape<broadcast_fixed_shape_cmp_impl<JX, fixed_shape<I...>, fixed_shape<J..…
339 struct broadcast_fixed_shape<fixed_shape<I...>, fixed_shape<J...>>
361 struct is_fixed<fixed_shape<N...>>
414 using type = fixed_shape<1>;
426 using type = fixed_shape<I...>;
431 struct promote_fixed<fixed_shape<I...>, fixed_shape<J...>, S...>
436 broadcast_fixed_shape<fixed_shape<J...>, fixed_shape<I...>>,
[all …]
H A Dxreducer.hpp714 struct select_dim_mapping_type<fixed_shape<I...>>
1042 … struct fixed_xreducer_shape_type_impl<Z, fixed_shape<I...>, fixed_shape<J...>, fixed_shape<R...>>
1045 … typename fixed_xreducer_shape_type_impl<Z - 1, fixed_shape<I...>, fixed_shape<J...>,
1047 … typename fixed_xreducer_shape_type_impl<Z - 1, fixed_shape<I...>, fixed_shape<J...>,
1052 … struct fixed_xreducer_shape_type_impl<0, fixed_shape<I...>, fixed_shape<J...>, fixed_shape<R...>>
1055 fixed_shape<R...>,
1115 struct fixed_xreducer_shape_type<fixed_shape<I...>, fixed_shape<J...>>
1147 fixed_shape<>,
1191 return fixed_shape<X...>{}; in get_type()
1202 struct xreducer_shape_type<fixed_shape<I...>, fixed_shape<J...>, O>
[all …]
H A Dxtensor_forward.hpp145 class fixed_shape;
152 using xshape = fixed_shape<N...>;
H A Dxfunction.hpp60 struct xfunction_cache_impl<fixed_shape<N...>, is_shape_trivial>
62 XTENSOR_CONSTEXPR_ENHANCED_STATIC fixed_shape<N...> shape = fixed_shape<N...>();
70 … constexpr fixed_shape<N...> xfunction_cache_impl<fixed_shape<N...>, is_shape_trivial>::shape;
73 constexpr bool xfunction_cache_impl<fixed_shape<N...>, is_shape_trivial>::is_trivial;
76 … constexpr bool xfunction_cache_impl<fixed_shape<N...>, is_shape_trivial>::is_initialized;
H A Dxutils.hpp73 class fixed_shape;
76 bool resize_container(fixed_shape<I...>& a, std::size_t size);
351 inline bool resize_container(xt::fixed_shape<I...>&, std::size_t size) in resize_container()
833 struct get_strides_type<fixed_shape<I...>>
H A Dxadapt.hpp392 inline auto adapt(C&& pointer, const fixed_shape<X...>& /*shape*/) in adapt()
395 using return_type = xfixed_adaptor<buffer_type, fixed_shape<X...>, L>; in adapt()
396 … return return_type(buffer_type(pointer, detail::fixed_compute_size<fixed_shape<X...>>::value)); in adapt()
H A Dxbuilder.hpp109 inline xtensor_fixed<T, fixed_shape<N...>, L> empty(const fixed_shape<N...>& /*shape*/) in empty()
111 return xtensor_fixed<T, fixed_shape<N...>, L>(); in empty()
671 using type = fixed_shape<(axis == Is ? X::template get<Is>() + Y::template get<Is>()
H A Dxfixed.hpp148 constexpr R get_strides_impl(const xt::fixed_shape<X...>& shape, std::index_sequence<I...>) in get_strides_impl()
193 struct fixed_compute_size<xt::fixed_shape<X...>>
222 constexpr R get_strides(const fixed_shape<X...>& shape) noexcept in get_strides()
238 struct get_init_type<V, fixed_shape<X...>>
H A Dxstorage.hpp1623 class fixed_shape class
1702 constexpr typename fixed_shape<X...>::cast_type fixed_shape<X...>::m_array;
1921 class tuple_size<xt::fixed_shape<N...>> :
H A Dxiterator.hpp91 struct index_type_impl<fixed_shape<I...>>
H A Dxsort.hpp179 struct sort_eval_type<xtensor_fixed<T, fixed_shape<I...>, L>>
H A Dxview.hpp127 struct static_dimension<xt::fixed_shape<I...>>
853 struct xview_shape_type<fixed_shape<I...>, S...>
/dports/math/xtensor/xtensor-0.24.0/test/
H A Dtest_xbuilder.cpp383 bool operator==(fixed_shape<I...>, fixed_shape<J...>) in operator ==()
394 …xtensor_fixed<double, fixed_shape<2, 2, 3>> a = {{{0, 1, 2}, {3, 4, 5}}, {{6, 7, 8}, {9, 10, 11}}}; in TEST()
398 using expected_shape_c_t = fixed_shape<2, 2, 9>; in TEST()
404 xtensor_fixed<double, fixed_shape<1, 3>> e = {{1, 2, 3}}, f = {{2, 3, 4}}; in TEST()
408 using expected_shape_k_t = fixed_shape<2, 3>; in TEST()
409 using expected_shape_l_t = fixed_shape<1, 6>; in TEST()
416 xtensor_fixed<double, fixed_shape<2>> x = arange(2); in TEST()
417 xtensor_fixed<double, fixed_shape<3>> y = arange(2, 5); in TEST()
418 xtensor_fixed<double, fixed_shape<3>> z = arange(5, 8); in TEST()
H A Dtest_xstorage.cpp336 TEST(fixed_shape, fixed_shape) in TEST() argument
338 fixed_shape<3, 4, 5> af; in TEST()
339 using cast_type = typename fixed_shape<3, 4, 5>::cast_type; in TEST()
H A Dtest_xbroadcast.cpp41 TEST(xbroadcast, fixed_shape) in TEST() argument
44 auto m_br = broadcast(m, xt::fixed_shape<1, 2, 3>()); in TEST()
H A Dtest_xlayout.cpp183 l = select_layout<layout_type::column_major, xt::fixed_shape<>>::value; in TEST()
185 l = select_layout<layout_type::column_major, xt::fixed_shape<2, 3>>::value; in TEST()
H A Dtest_xutils.cpp218 sdim = static_dimension<xt::fixed_shape<4, 1, 2, 3>>::value; in TEST()
224 sdim = static_dimension<xt::sequence_view<xt::fixed_shape<4, 1, 2, 3>, 1, 4>>::value; in TEST()
H A Dtest_xreducer.cpp944 bool operator==(fixed_shape<I...>, fixed_shape<J...>) in operator ==()
/dports/math/xtensor/xtensor-0.24.0/docs/source/
H A Dpitfall.rst118 fixed_shape on Windows
131 // to 'const xt::fixed_shape<> &'
/dports/games/zangband/zangband/src/
H A Dz-term.h177 bool fixed_shape; member
H A Dz-term.c2073 if (Term->fixed_shape) return (-1); in Term_resize()
/dports/games/angband/Angband-4.2.2/src/
H A Dui-term.h175 bool fixed_shape; member
H A Dui-term.c2178 if (Term->fixed_shape) return (-1); in Term_resize()
/dports/games/mangband/mangband-1.5.3/src/client/
H A Dz-term.h221 bool fixed_shape; member
H A Dz-term.c2326 if (Term->fixed_shape) return (-1); in Term_resize()

12