Home
last modified time | relevance | path

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

12

/third_party/boost/boost/numeric/ublas/
Dvector_of_vector.hpp34 typedef L layout_type; typedef in boost::numeric::ublas::generalized_vector_of_vector
63 const size_type sizeM = layout_type::size_M (size1_, size2_); in generalized_vector_of_vector()
71 size1_ (size1), size2_ (size2), data_ (layout_type::size_M (size1_, size2_) + 1) { in generalized_vector_of_vector()
72 const size_type sizeM = layout_type::size_M (size1_, size2_); in generalized_vector_of_vector()
73 const size_type sizem = layout_type::size_m (size1_, size2_); in generalized_vector_of_vector()
89 …size1_ (ae ().size1 ()), size2_ (ae ().size2 ()), data_ (layout_type::size_M (size1_, size2_) + 1)… in generalized_vector_of_vector()
90 const size_type sizeM = layout_type::size_M (size1_, size2_); in generalized_vector_of_vector()
91 const size_type sizem = layout_type::size_m (size1_, size2_); in generalized_vector_of_vector()
136 const size_type oldM = layout_type::size_M (size1_, size2_); in resize()
139 const size_type sizeM = layout_type::size_M (size1_, size2_); in resize()
[all …]
Dmatrix_sparse.hpp274 typedef L layout_type; typedef in boost::numeric::ublas::mapped_matrix
382 const size_type element = layout_type::element (i, size1_, j, size2_); in find_element()
393 const size_type element = layout_type::element (i, size1_, j, size2_); in operator ()()
403 const size_type element = layout_type::element (i, size1_, j, size2_); in operator ()()
416 const size_type element = layout_type::element (i, size1_, j, size2_); in insert_element()
425 subiterator_type it = data ().find (layout_type::element (i, size1_, j, size2_)); in erase_element()
542 const size_type element = layout_type::element (i, size1_, j, size2_); in at_element()
562 … const_subiterator_type it (data ().lower_bound (layout_type::address (i, size1_, j, size2_))); in find1()
567 index1 = layout_type::index_i ((*it).first, size1_, size2_); in find1()
568 index2 = layout_type::index_j ((*it).first, size1_, size2_); in find1()
[all …]
Dmatrix.hpp51 typedef L layout_type; in matrix_resize_preserve() typedef
61 const size_type major_size = layout_type::size_M (size1_min, size2_min); in matrix_resize_preserve()
62 const size_type minor_size = layout_type::size_m (size1_min, size2_min); in matrix_resize_preserve()
67 const size_type i1 = layout_type::index_M(major, minor); in matrix_resize_preserve()
68 const size_type i2 = layout_type::index_m(major, minor); in matrix_resize_preserve()
69 temporary.data () [layout_type::element (i1, size1, i2, size2)] = in matrix_resize_preserve()
70 m.data() [layout_type::element (i1, msize1, i2, msize2)]; in matrix_resize_preserve()
96 typedef L layout_type; typedef in boost::numeric::ublas::matrix
133 size1_ (size1), size2_ (size2), data_ (layout_type::storage_size (size1, size2)) { in matrix()
143 size1_ (size1), size2_ (size2), data_ (layout_type::storage_size (size1, size2), init) { in matrix()
[all …]
Dhermitian.hpp250 typedef L layout_type; typedef in boost::numeric::ublas::hermitian_matrix
284 …size_ (BOOST_UBLAS_SAME (size, size)), data_ (triangular_type::packed_size (layout_type (), size, … in hermitian_matrix()
289 …BOOST_UBLAS_SAME (size1, size2)), data_ (triangular_type::packed_size (layout_type (), size1, size… in hermitian_matrix()
304 data_ (triangular_type::packed_size (layout_type (), size_, size_)) { in hermitian_matrix()
333 detail::matrix_resize_preserve<layout_type, triangular_type> (*this, temporary); in resize()
336 data ().resize (triangular_type::packed_size (layout_type (), size, size)); in resize()
347 … data ().resize (triangular_type::packed_size (layout_type (), size_, size_), value_type ()); in resize_packed_preserve()
359 return data () [triangular_type::element (layout_type (), i, size_, j, size_)]; in operator ()()
361 …turn type_traits<value_type>::conj (data () [triangular_type::element (layout_type (), j, size_, i… in operator ()()
368 return data () [triangular_type::element (layout_type (), i, size_, j, size_)]; in at_element()
[all …]
Dtriangular.hpp31 typedef L layout_type; in matrix_resize_preserve() typedef
42 const size_type major_size = layout_type::size_M (size1_min, size2_min); in matrix_resize_preserve()
43 const size_type minor_size = layout_type::size_m (size1_min, size2_min); in matrix_resize_preserve()
48 const size_type i1 = layout_type::index_M(major, minor); in matrix_resize_preserve()
49 const size_type i2 = layout_type::index_m(major, minor); in matrix_resize_preserve()
51 … temporary.data () [triangular_type::element (layout_type (), i1, size1, i2, size2)] = in matrix_resize_preserve()
52 … m.data() [triangular_type::element (layout_type (), i1, msize1, i2, msize2)]; in matrix_resize_preserve()
83 typedef L layout_type; typedef in boost::numeric::ublas::triangular_matrix
111 …size1_ (size1), size2_ (size2), data_ (triangular_type::packed_size (layout_type (), size1, size2)… in triangular_matrix()
126 data_ (triangular_type::packed_size (layout_type (), size1_, size2_)) { in triangular_matrix()
[all …]
Dsymmetric.hpp48 typedef L layout_type; typedef in boost::numeric::ublas::symmetric_matrix
76 …size_ (BOOST_UBLAS_SAME (size, size)), data_ (triangular_type::packed_size (layout_type (), size, … in symmetric_matrix()
81 …BOOST_UBLAS_SAME (size1, size2)), data_ (triangular_type::packed_size (layout_type (), size1, size… in symmetric_matrix()
96 data_ (triangular_type::packed_size (layout_type (), size_, size_)) { in symmetric_matrix()
125 detail::matrix_resize_preserve<layout_type, triangular_type> (*this, temporary); in resize()
128 data ().resize (triangular_type::packed_size (layout_type (), size, size)); in resize()
139 … data ().resize (triangular_type::packed_size (layout_type (), size_, size_), value_type ()); in resize_packed_preserve()
148 return data () [triangular_type::element (layout_type (), i, size_, j, size_)]; in operator ()()
150 return data () [triangular_type::element (layout_type (), j, size_, i, size_)]; in operator ()()
156 return data () [triangular_type::element (layout_type (), i, size_, j, size_)]; in at_element()
[all …]
Dbanded.hpp101 typedef L layout_type; typedef in boost::numeric::ublas::banded_matrix
209 detail::matrix_resize_preserve<layout_type> (*this, temporary); in resize()
239 return data () [layout_type::element (k, (std::max) (size1_, size2_), in operator ()()
246 return data () [layout_type::element (k, size2_, in operator ()()
264 return data () [layout_type::element (k, (std::max) (size1_, size2_), in at_element()
274 return data () [layout_type::element (k, size2_, in at_element()
294 return data () [layout_type::element (k, (std::max) (size1_, size2_), in operator ()()
304 return data () [layout_type::element (k, size2_, in operator ()()
/third_party/boost/libs/numeric/ublas/test/tensor/
Dtest_tensor.cpp33 using layout_type = typename value::second_type; in BOOST_AUTO_TEST_CASE_TEMPLATE() typedef
34 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_AUTO_TEST_CASE_TEMPLATE()
98 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
99 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
124 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
125 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
158 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
159 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
160 …using other_layout_type = std::conditional_t<std::is_same<ublas::first_order,layout_type>::value, … in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
189 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
[all …]
Dtest_functions.cpp58 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
59 using tensor_type = ublas::tensor<value_type,layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
87 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
88 using tensor_type = ublas::tensor<value_type,layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
115 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
116 using tensor_type = ublas::tensor<value_type,layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
153 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
154 using tensor_type = ublas::tensor<value_type,layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
225 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
226 using tensor_type = ublas::tensor<value_type,layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
[all …]
Dtest_tensor_matrix_vector.cpp32 using layout_type = typename value::second_type; in BOOST_AUTO_TEST_CASE_TEMPLATE() typedef
33 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_AUTO_TEST_CASE_TEMPLATE()
67 using layout_type = typename value::second_type; in BOOST_AUTO_TEST_CASE_TEMPLATE() typedef
68 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_AUTO_TEST_CASE_TEMPLATE()
123 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
124 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
145 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
146 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
171 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
172 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
[all …]
Dtest_multiplication.cpp59 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
60 using strides_type = ublas::strides<layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
108 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
109 using strides_type = ublas::strides<layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
150 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
151 using strides_type = ublas::strides<layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
195 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
196 using strides_type = ublas::strides<layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
234 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
235 using strides_type = ublas::strides<layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
[all …]
Dtest_expression.cpp59 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
60 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
84 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
85 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
122 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
123 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
Dtest_operators_comparison.cpp52 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
53 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
109 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
110 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
180 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
181 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
Dtest_operators_arithmetic.cpp53 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
54 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
122 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
123 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
185 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
186 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
Dtest_expression_evaluation.cpp57 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
58 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
148 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
149 using tensor_type = ublas::tensor<value_type, layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
Dtest_multi_index.cpp91 using layout_type = typename value::second_type; in BOOST_AUTO_TEST_CASE_TEMPLATE() typedef
92 using tensor_type = tensor<value_type,layout_type>; in BOOST_AUTO_TEST_CASE_TEMPLATE()
Dtest_einstein_notation.cpp33 using layout_type = typename value::second_type; in BOOST_AUTO_TEST_CASE_TEMPLATE() typedef
34 using tensor_type = tensor<value_type,layout_type>; in BOOST_AUTO_TEST_CASE_TEMPLATE()
Dtest_algorithms.cpp220 using layout_type = typename value::second_type; in BOOST_FIXTURE_TEST_CASE_TEMPLATE() typedef
222 using strides_type = ublas::strides<layout_type>; in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
/third_party/boost/boost/numeric/ublas/tensor/
Dstrides.hpp58 using layout_type = __layout; typedef in boost::numeric::ublas::basic_strides
98 if constexpr (std::is_same<layout_type,first_order>::value){ in basic_strides()
200 template<class layout_type>
201 using strides = basic_strides<std::size_t, layout_type>;
215 template<class size_type, class layout_type>
216 auto access(std::vector<size_type> const& i, basic_strides<size_type,layout_type> const& w) in access()
235 template<std::size_t r, class layout_type, class ... size_types>
236 auto access(std::size_t sum, basic_strides<std::size_t, layout_type> const& w, std::size_t i, size_… in access()
Dtensor.hpp105 using layout_type = F; typedef in boost::numeric::ublas::tensor
127 using strides_type = basic_strides<std::size_t,layout_type>;
130 using matrix_type = matrix<value_type,layout_type,array_type>;
Dfunctions.hpp520 using layout_type = typename tensor_type::layout_type; in conj() typedef
526 using tensor_complex_type = tensor<new_value_type,layout_type, new_array_type>; in conj()
/third_party/boost/boost/numeric/ublas/opencl/
Dmatrix.hpp32 typedef L layout_type; typedef in boost::numeric::ublas::matrix
45 data_ = allocator.allocate(layout_type::storage_size(size1, size2)).get_buffer(); in matrix()
53 data_ = allocator.allocate(layout_type::storage_size(size1, size2)).get_buffer(); in matrix()
71 …compute::buffer_iterator<T> end() { return compute::make_buffer_iterator<T>(data_, layout_type::st… in end()
72 …erator<T> end() const { return compute::make_buffer_iterator<T>(data_, layout_type::storage_size(s… in end()
/third_party/boost/boost/numeric/ublas/experimental/
Dsparse_view.hpp127 typedef L layout_type; typedef in boost::numeric::ublas::compressed_matrix_view
242 index_type element1 (layout_type::index_M (i, j)); in find_element()
243 index_type element2 (layout_type::index_m (i, j)); in find_element()
268 …BOOST_UBLAS_CHECK (index1_data_ [layout_type::size_M (size1_, size2_)] == k_based (nnz_), external… in storage_invariants()
/third_party/abseil-cpp/absl/container/internal/
Dbtree.h485 using layout_type = absl::container_internal::Layout<btree_node *, field_type,
488 return layout_type(/*parent*/ 1,
524 constexpr static layout_type LeafLayout(const int max_values = kNodeValues) {
525 return layout_type(/*parent*/ 1,
530 constexpr static layout_type InternalLayout() {
531 return layout_type(/*parent*/ 1,
546 inline typename layout_type::template ElementType<N> *GetField() {
552 inline const typename layout_type::template ElementType<N> *GetField() const {
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dbtree.h556 using layout_type = absl::container_internal::Layout<btree_node *, field_type,
559 return layout_type(/*parent*/ 1,
600 constexpr static layout_type LeafLayout(const int slot_count = kNodeSlots) {
601 return layout_type(/*parent*/ 1,
606 constexpr static layout_type InternalLayout() {
607 return layout_type(/*parent*/ 1,
622 inline typename layout_type::template ElementType<N> *GetField() {
628 inline const typename layout_type::template ElementType<N> *GetField() const {

12