Home
last modified time | relevance | path

Searched refs:num_dimensions (Results 1 – 21 of 21) sorted by relevance

/third_party/boost/boost/multi_array/
Dsubarray.hpp112 if(std::equal(shape(),shape()+num_dimensions(),rhs.shape())) in operator ==()
159 size_type num_dimensions() const { return NumDims; } in num_dimensions() function in boost::detail::multi_array::const_sub_array
165 return std::accumulate(shape(),shape() + num_dimensions(), in num_elements()
234 BOOST_ASSERT(other.num_dimensions() == this->num_dimensions()); in operator =()
235 BOOST_ASSERT(std::equal(other.shape(),other.shape()+this->num_dimensions(), in operator =()
246 BOOST_ASSERT(other.num_dimensions() == this->num_dimensions()); in operator =()
248 other.shape()+this->num_dimensions(), in operator =()
Dview.hpp87 copy_n(values.begin(),num_dimensions(),index_base_list_.begin()); in reindex()
98 size_type num_dimensions() const { return NumDims; } in num_dimensions() function in boost::detail::multi_array::const_multi_array_view
301 BOOST_ASSERT(other.num_dimensions() == this->num_dimensions()); in operator =()
302 BOOST_ASSERT(std::equal(other.shape(),other.shape()+this->num_dimensions(), in operator =()
313 BOOST_ASSERT(other.num_dimensions() == this->num_dimensions()); in operator =()
315 other.shape()+this->num_dimensions(), in operator =()
Dmulti_array_ref.hpp151 copy_n(values.begin(),num_dimensions(),index_base_list_.begin()); in reindex()
180 size_type num_dimensions() const { return NumDims; } in num_dimensions() function in boost::const_multi_array_ref
394 copy_n(extents_iter,num_dimensions(),extent_list_.begin()); in init_multi_array_ref()
482 BOOST_ASSERT(other.num_dimensions() == this->num_dimensions()); in operator =()
483 BOOST_ASSERT(std::equal(other.shape(),other.shape()+this->num_dimensions(), in operator =()
494 BOOST_ASSERT(other.num_dimensions() == this->num_dimensions()); in operator =()
496 other.shape()+this->num_dimensions(), in operator =()
Dconcept_checks.hpp77 st = a.num_dimensions(); in constraints()
142 st = a.num_dimensions(); in constraints()
166 st = a.num_dimensions(); in const_constraints()
/third_party/boost/boost/gil/
Dpoint.hpp46 static constexpr std::size_t num_dimensions = 2; member in boost::gil::point
108 static T point<T>::* const mem_array[num_dimensions];
120 T point<T>::* const point<T>::mem_array[point<T>::num_dimensions] =
227 static_assert(K < point<T>::num_dimensions, "axis index out of range"); in axis_value()
236 static_assert(K < point<T>::num_dimensions, "axis index out of range"); in axis_value()
Dimage_view.hpp57 static const std::size_t num_dimensions=2; member in boost::gil::image_view
Dlocator.hpp116 static const std::size_t num_dimensions=2; member in boost::gil::pixel_2d_locator_base
/third_party/boost/boost/gil/concepts/
Dpixel_locator.hpp135 static std::size_t const N = Loc::num_dimensions; ignore_unused_variable_warning(N); in constraints()
145 static_assert(point_t::num_dimensions == N, ""); in constraints()
226 static_assert(Loc::num_dimensions == 2, ""); in constraints()
318 typename Loc::template axis<Loc::num_dimensions-1>::iterator in constraints()
Dpoint.hpp70 static const std::size_t N = P::num_dimensions; in constraints()
108 static_assert(P::num_dimensions == 2, ""); in constraints()
Dimage_view.hpp120 static const std::size_t N=View::num_dimensions; in constraints()
136 static_assert(point_t::num_dimensions == N, ""); in constraints()
226 static_assert(View::num_dimensions == 2, ""); in constraints()
416 typename View::template axis<View::num_dimensions - 1>::iterator in constraints()
/third_party/boost/libs/gil/doc/html/_sources/design/
Dpoint.rst.txt22 const size_t num_dimensions;
36 where num_dimensions == 2;
Dpixel_locator.rst.txt29 static const size_t num_dimensions; // dimensionality of the locator
30 where num_dimensions = point_t::num_dimensions;
77 where num_dimensions==2;
Dimage_view.rst.txt47 static const size_t num_dimensions = point_t::num_dimensions;
79 where num_dimensions==2;
145 where V1::num_dimensions == V2::num_dimensions;
/third_party/boost/libs/gil/doc/design/
Dpoint.rst22 const size_t num_dimensions;
36 where num_dimensions == 2;
Dpixel_locator.rst29 static const size_t num_dimensions; // dimensionality of the locator
30 where num_dimensions = point_t::num_dimensions;
77 where num_dimensions==2;
Dimage_view.rst47 static const size_t num_dimensions = point_t::num_dimensions;
79 where num_dimensions==2;
145 where V1::num_dimensions == V2::num_dimensions;
/third_party/boost/libs/multi_array/test/
Dgenerative_tests.hpp261 std::vector<size_type> old_shape(A.num_dimensions()); in modify()
262 std::vector<size_type> new_shape(A.num_dimensions()); in modify()
264 std::copy(A.shape(),A.shape()+A.num_dimensions(),old_shape.begin()); in modify()
Dallocators.cpp72 BOOST_TEST(std::equal(sizes, sizes + array.num_dimensions(), array.shape())); in test()
73 BOOST_TEST(std::equal(strides, strides + array.num_dimensions(), in test()
Dconstructors.cpp35 BOOST_TEST(std::equal(sizes, sizes + A.num_dimensions(), A.shape())); in check_shape()
36 BOOST_TEST(std::equal(strides, strides + A.num_dimensions(), A.strides())); in check_shape()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl.cc1982 int num_dimensions = 0; in EmitTextureCall() local
1992 num_dimensions = 1; in EmitTextureCall()
1995 num_dimensions = is_ms ? 3 : 2; in EmitTextureCall()
1999 num_dimensions = is_ms ? 4 : 3; in EmitTextureCall()
2003 num_dimensions = 3; in EmitTextureCall()
2006 num_dimensions = 2; in EmitTextureCall()
2009 num_dimensions = 3; in EmitTextureCall()
2021 num_dimensions = is_ms ? 4 : 3; in EmitTextureCall()
2025 num_dimensions = 3; in EmitTextureCall()
2037 num_dimensions = 2; in EmitTextureCall()
[all …]
/third_party/boost/libs/gil/test/core/point/
Dconcepts.cpp26 static_assert(Point::num_dimensions == 2U, "point is not 2D"); in test_members()