Home
last modified time | relevance | path

Searched refs:derived_cast (Results 1 – 25 of 131) sorted by relevance

123456

/dports/math/xtensor/xtensor-0.24.0/include/xtensor/
H A Dxsemantic.hpp388 return this->derived_cast() = this->derived_cast() + e.derived_cast(); in operator +=()
400 return this->derived_cast() = this->derived_cast() - e.derived_cast(); in operator -=()
412 return this->derived_cast() = this->derived_cast() * e.derived_cast(); in operator *=()
424 return this->derived_cast() = this->derived_cast() / e.derived_cast(); in operator /=()
436 return this->derived_cast() = this->derived_cast() % e.derived_cast(); in operator %=()
448 return this->derived_cast() = this->derived_cast() & e.derived_cast(); in operator &=()
460 return this->derived_cast() = this->derived_cast() | e.derived_cast(); in operator |=()
472 return this->derived_cast() = this->derived_cast() ^ e.derived_cast(); in operator ^=()
502 return this->derived_cast().computed_assign(this->derived_cast() + e.derived_cast()); in plus_assign()
515 return this->derived_cast().computed_assign(this->derived_cast() - e.derived_cast()); in minus_assign()
[all …]
H A Dxaccessible.hpp130 derived_type& derived_cast() noexcept;
152 return derived_cast().shape().size(); in dimension()
161 return derived_cast().shape()[index]; in shape()
178 return derived_cast().operator()(args...); in at()
205 return derived_cast().operator()(i); in operator []()
229 return *derived_cast().begin(); in front()
238 return *std::prev(derived_cast().end()); in back()
277 return derived_cast().operator()(args...); in at()
304 return derived_cast().operator()(i); in operator []()
328 return *derived_cast().begin(); in front()
[all …]
H A Dxoptional.hpp65 D& derived_cast() noexcept;
1009 return this->derived_cast().build_view(this->derived_cast().expression().value()); in value()
1015 return this->derived_cast().build_view(this->derived_cast().expression().value()); in value()
1021 return this->derived_cast().build_view(this->derived_cast().expression().has_value()); in has_value()
1027 return this->derived_cast().build_view(this->derived_cast().expression().has_value()); in has_value()
1125 return this->derived_cast().build_reducer(this->derived_cast().expression().value(), in value()
1151 return this->derived_cast().build_view(this->derived_cast().expression().value()); in value()
1157 return this->derived_cast().build_view(this->derived_cast().expression().value()); in value()
1163 return this->derived_cast().build_view(this->derived_cast().expression().has_value()); in has_value()
1182 return this->derived_cast().build_view(this->derived_cast().expression().value()); in value()
[all …]
H A Dxchunked_assign.hpp206 auto& d = this->derived_cast(); in assign_xexpression()
212 auto rhs = strided_view(e.derived_cast(), it.get_slice_vector()); in assign_xexpression()
223 return this->derived_cast(); in assign_xexpression()
230 D& d = this->derived_cast(); in computed_assign()
231 if (e.derived_cast().dimension() > d.dimension() in computed_assign()
232 || e.derived_cast().shape() > d.shape()) in computed_assign()
246 for (auto& c: this->derived_cast().chunks()) in scalar_computed_assign()
250 return this->derived_cast(); in scalar_computed_assign()
257 D& d = this->derived_cast(); in operator =()
H A Dxiterable.hpp133 const derived_type& derived_cast() const;
236 derived_type& derived_cast();
405 derived_type& derived_cast();
406 const derived_type& derived_cast() const;
672 return derived_cast().stepper_begin(shape); in get_stepper_begin()
679 return derived_cast().stepper_end(shape, l); in get_stepper_end()
685 return derived_cast().shape(); in get_shape()
852 return derived_cast().stepper_begin(shape); in get_stepper_begin()
859 return derived_cast().stepper_end(shape, l); in get_stepper_end()
866 return derived_cast().stepper_begin(shape); in get_stepper_begin()
[all …]
H A Dxcontainer.hpp229 derived_type& derived_cast() & noexcept;
231 derived_type derived_cast() && noexcept;
348 return derived_cast().shape_impl(); in mutable_shape()
354 return derived_cast().strides_impl(); in mutable_strides()
360 return derived_cast().backstrides_impl(); in mutable_backstrides()
391 return derived_cast().shape_impl(); in shape()
400 return derived_cast().strides_impl(); in strides()
551 return derived_cast().storage_impl(); in storage()
561 return derived_cast().storage_impl(); in storage()
1025 return this->derived_cast(); in reshape()
[all …]
H A Dxbuffer_adaptor.hpp293 derived_type& derived_cast() noexcept;
294 const derived_type& derived_cast() const noexcept;
828 return derived_cast().size() == size_type(0); in empty()
834 return derived_cast().data()[static_cast<index_type>(i)]; in operator []()
858 return this->operator[](derived_cast().size() - 1); in back()
864 return this->operator[](derived_cast().size() - 1); in back()
870 return derived_cast().data(); in begin()
876 return derived_cast().data() + static_cast<index_type>(derived_cast().size()); in end()
882 return derived_cast().data(); in begin()
888 return derived_cast().data() + static_cast<index_type>(derived_cast().size()); in end()
[all …]
/dports/math/xtensor-blas/xtensor-blas-0.20.0/include/xtensor-blas/
H A Dxblas.hpp40 auto&& ad = view_eval<E::static_layout>(a.derived_cast()); in asum()
60 auto&& ad = view_eval<E::static_layout>(a.derived_cast()); in nrm2()
83 auto&& ad = view_eval<E1::static_layout>(a.derived_cast()); in dot()
84 auto&& bd = view_eval<E2::static_layout>(b.derived_cast()); in dot()
123 auto&& ad = view_eval<E1::static_layout>(a.derived_cast()); in dotu()
124 auto&& bd = view_eval<E2::static_layout>(b.derived_cast()); in dotu()
169 auto&& dA = view_eval<E1::static_layout>(A.derived_cast()); in gemv()
208 auto&& dA = view_eval<R::static_layout>(A.derived_cast()); in gemm()
209 auto&& dB = view_eval<R::static_layout>(B.derived_cast()); in gemm()
248 auto&& dx = view_eval(x.derived_cast()); in ger()
[all …]
H A Dxlinalg.hpp63 const auto& v = vec.derived_cast(); in norm()
150 const auto& v = vec.derived_cast(); in norm()
206 const auto& v = vec.derived_cast(); in norm()
985 … typename return_type::shape_type s = {a.derived_cast().shape()[0], b.derived_cast().shape()[0]}; in outer()
1171 xtype R = A.derived_cast(); in qr()
1365 const auto& dA = A.derived_cast(); in pinv()
1413 xtype mat = A.derived_cast(); in matrix_power()
1477 const auto& dM = M.derived_cast(); in trace()
1587 auto& b_ref = b.derived_cast(); in lstsq()
1668 const E1& da = a.derived_cast(); in cross()
[all …]
/dports/math/kfr/kfr-4.2.1/include/kfr/base/
H A Dunivector.hpp105 T* data = derived_cast<Class>(this)->data(); in operator ()()
113 return *derived_cast<Class>(this); in operator =()
141 T* data = derived_cast<Class>(this)->data(); in slice()
142 const size_t this_size = derived_cast<Class>(this)->size(); in slice()
151 const T* data = derived_cast<Class>(this)->data(); in slice()
152 const size_t this_size = derived_cast<Class>(this)->size(); in slice()
160 T* data = derived_cast<Class>(this)->data(); in truncate()
161 const size_t this_size = derived_cast<Class>(this)->size(); in truncate()
169 const T* data = derived_cast<Class>(this)->data(); in truncate()
170 const size_t this_size = derived_cast<Class>(this)->size(); in truncate()
[all …]
/dports/devel/thrust/thrust-1.9.5/thrust/system/cuda/detail/async/
H A Dsort.h96 auto new_policy0 = thrust::detail::derived_cast(policy).rebind_after(
120 auto new_policy1 = thrust::detail::derived_cast(policy).rebind_after(
146 auto new_policy2 = thrust::detail::derived_cast(policy).rebind_after(
250 std::move(thrust::detail::derived_cast(policy))
263 std::move(thrust::detail::derived_cast(policy))
430 std::move(thrust::detail::derived_cast(policy))
443 std::move(thrust::detail::derived_cast(policy))
465 auto new_policy0 = thrust::detail::derived_cast(policy).rebind_after(
H A Dcopy.h108 std::move(thrust::detail::derived_cast(from_exec))
111 std::move(thrust::detail::derived_cast(to_exec))
121 std::move(thrust::detail::derived_cast(from_exec))
124 std::move(thrust::detail::derived_cast(to_exec))
294 auto new_to_exec = thrust::detail::derived_cast(to_exec).rebind_after(
300 std::move(thrust::detail::derived_cast(from_exec))
303 std::move(thrust::detail::derived_cast(to_exec))
403 auto new_from_exec = thrust::detail::derived_cast(from_exec).rebind_after(
/dports/devel/thrust/thrust-1.9.5/thrust/detail/
H A Dselect_system.h56 thrust::detail::derived_cast(thrust::detail::strip_const(exec0))
69 thrust::detail::derived_cast(thrust::detail::strip_const(exec0))
70 , thrust::detail::derived_cast(thrust::detail::strip_const(exec1))
H A Dsort.inl41 return sort(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last);
56 return sort(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, comp);
68 return stable_sort(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last);
83 …return stable_sort(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, c…
98 …return sort_by_key(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), keys_first, ke…
115 …return sort_by_key(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), keys_first, ke…
130 …return stable_sort_by_key(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), keys_fi…
159 return is_sorted(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last);
172 …return is_sorted(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, com…
184 …return is_sorted_until(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, las…
[all …]
H A Dcopy.inl37 return copy(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, result);
50 return copy_n(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, n, result);
72 …:copy(select_system(thrust::detail::derived_cast(thrust::detail::strip_const(system1)), thrust::de…
91 …opy_n(select_system(thrust::detail::derived_cast(thrust::detail::strip_const(system1)), thrust::de…
H A Dbinary_search.inl42 …return lower_bound(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, v…
56 …return lower_bound(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, v…
69 …return upper_bound(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, v…
83 …return upper_bound(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, v…
96 …return binary_search(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last,…
110 …return binary_search(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last,…
125 …return equal_range(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, v…
139 …return equal_range(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, v…
154 …return lower_bound(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, v…
185 …return upper_bound(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, v…
[all …]
H A Dmalloc_and_free.h37 …void *raw_ptr = static_cast<void*>(thrust::raw_pointer_cast(malloc(thrust::detail::derived_cast(th… in malloc()
49 …T *raw_ptr = static_cast<T*>(thrust::raw_pointer_cast(malloc<T>(thrust::detail::derived_cast(thrus… in malloc()
78 free(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), ptr); in free()
H A Dextrema.inl35 return min_element(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last);
45 …return min_element(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, c…
55 return max_element(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last);
65 …return max_element(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, c…
75 …return minmax_element(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last…
85 …return minmax_element(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last…
H A Dscan.inl46 …return inclusive_scan(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last…
63 …return inclusive_scan(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last…
78 …return exclusive_scan(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last…
95 …return exclusive_scan(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last…
114 …return exclusive_scan(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last…
131 …return inclusive_scan_by_key(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), firs…
150 …return inclusive_scan_by_key(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), firs…
171 …return inclusive_scan_by_key(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), firs…
188 …return exclusive_scan_by_key(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), firs…
207 …return exclusive_scan_by_key(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), firs…
[all …]
H A Dpartition.inl44 …return partition(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, pre…
61 …return partition(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last, ste…
81 …return partition_copy(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last…
103 …return partition_copy(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last…
118 …return stable_partition(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, la…
135 …return stable_partition(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, la…
155 …return stable_partition_copy(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), firs…
177 …return stable_partition_copy(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), firs…
190 …return partition_point(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, las…
203 …return is_partitioned(thrust::detail::derived_cast(thrust::detail::strip_const(exec)), first, last…
H A Dexecution_policy.h56 DerivedPolicy &derived_cast(execution_policy_base<DerivedPolicy> &x) in derived_cast() function
64 const DerivedPolicy &derived_cast(const execution_policy_base<DerivedPolicy> &x) in derived_cast() function
/dports/devel/thrust/thrust-1.9.5/thrust/async/
H A Dcopy.h86 thrust::detail::derived_cast(thrust::detail::strip_const(from_exec))
87 , thrust::detail::derived_cast(thrust::detail::strip_const(to_exec))
106 thrust::detail::derived_cast(thrust::detail::strip_const(exec))
107 , thrust::detail::derived_cast(thrust::detail::strip_const(exec))
H A Dreduce.h86 thrust::detail::derived_cast(thrust::detail::strip_const(exec))
106 thrust::detail::derived_cast(thrust::detail::strip_const(exec))
126 thrust::detail::derived_cast(thrust::detail::strip_const(exec))
246 thrust::detail::derived_cast(thrust::detail::strip_const(exec))
269 thrust::detail::derived_cast(thrust::detail::strip_const(exec))
291 thrust::detail::derived_cast(thrust::detail::strip_const(exec))
/dports/math/xtensor/xtensor-0.24.0/docs/source/developer/
H A Dassignment.rst37 return this->derived_cast().assign_temporary(std::move(tmp));
74 return operator=(this->derived_cast() + e.derived_cast());
87 return this->derived_cast().computed_assign(this->derived_cast() + e.derived_cast());
95 return this->derived_cast();
113 return this->derived_cast().scalar_computed_assign(e, std::plus<>());
121 return this->derived_cast();
212 E1& d = e1.derived_cast();
/dports/math/xtensor-io/xtensor-io-0.13.0/include/xtensor-io/
H A Dximage.hpp118 using value_type = typename std::decay_t<decltype(data.derived_cast())>::value_type; in dump_image()
120 auto shape = data.derived_cast().shape(); in dump_image()
141 auto && ex = eval(data.derived_cast()); in dump_image()

123456