/third_party/boost/libs/algorithm/test/ |
D | transform_reduce_test.cpp | 48 test_init_bop_uop(Iter(ia), Iter(ia), 1, std::multiplies<int>(), identity<int>(), 1); in test_init_bop_uop() 49 test_init_bop_uop(Iter(ia), Iter(ia+1), 0, std::multiplies<int>(), identity<int>(), 0); in test_init_bop_uop() 52 test_init_bop_uop(Iter(ia), Iter(ia+2), 3, std::multiplies<int>(), identity<int>(), 6); in test_init_bop_uop() 53 test_init_bop_uop(Iter(ia), Iter(ia+sa), 4, std::multiplies<int>(), identity<int>(), 2880); in test_init_bop_uop() 57 test_init_bop_uop(Iter(ia), Iter(ia), 1, std::multiplies<int>(), twice<int>(), 1); in test_init_bop_uop() 58 test_init_bop_uop(Iter(ia), Iter(ia+1), 0, std::multiplies<int>(), twice<int>(), 0); in test_init_bop_uop() 61 test_init_bop_uop(Iter(ia), Iter(ia+2), 3, std::multiplies<int>(), twice<int>(), 24); in test_init_bop_uop() 62 …test_init_bop_uop(Iter(ia), Iter(ia+sa), 4, std::multiplies<int>(), twice<int>(), 184320); // 64 … in test_init_bop_uop() 87 …test_init_bop_bop(SIter(ia), SIter(ia), UIter(ua), 0, std::plus<int>(), std::multiplies<int>(),… in test_init_bop_bop() 88 …test_init_bop_bop(UIter(ua), UIter(ua), SIter(ia), 1, std::multiplies<int>(), std::plus<int>(),… in test_init_bop_bop() [all …]
|
D | reduce_test.cpp | 51 test_reduce(Iter(ia), Iter(ia), 1, std::multiplies<int>(), 1); in test_init_op() 53 test_reduce(Iter(ia), Iter(ia+1), 2, std::multiplies<int>(), 2); in test_init_op() 55 test_reduce(Iter(ia), Iter(ia+2), 3, std::multiplies<int>(), 6); in test_init_op() 57 test_reduce(Iter(ia), Iter(ia+sa), 4, std::multiplies<int>(), 2880); in test_init_op() 71 unsigned res = boost::algorithm::reduce(ia, ia+sa, 1U, std::multiplies<unsigned>()); in test_reduce_init_op()
|
D | transform_inclusive_scan_test.cpp | 70 …transform_inclusive_scan_test(Iter(ia), Iter(ia + i), std::multiplies<int>(), identity<int>(), … in transform_inclusive_scan_test() 72 …transform_inclusive_scan_test(Iter(ia), Iter(ia + i), std::multiplies<int>(), std::negate<int>(), … in transform_inclusive_scan_test() 169 …transform_inclusive_scan_init_test(Iter(ia), Iter(ia + i), std::multiplies<int>(), identity<int>()… in transform_inclusive_scan_init_test() 171 …transform_inclusive_scan_init_test(Iter(ia), Iter(ia + i), std::multiplies<int>(), std::negate<int… in transform_inclusive_scan_init_test() 173 …transform_inclusive_scan_init_test(Iter(ia), Iter(ia + i), std::multiplies<int>(), identity<int>()… in transform_inclusive_scan_init_test() 175 …transform_inclusive_scan_init_test(Iter(ia), Iter(ia + i), std::multiplies<int>(), std::negate<int… in transform_inclusive_scan_init_test()
|
D | transform_exclusive_scan_test.cpp | 78 … test(Iter(ia), Iter(ia + i), std::multiplies<int>(), identity<int>(), 0, mResI0, mResI0 + i); in test() 80 … test(Iter(ia), Iter(ia + i), std::multiplies<int>(), std::negate<int>(), 0, mResN0, mResN0 + i); in test() 82 … test(Iter(ia), Iter(ia + i), std::multiplies<int>(), identity<int>(), 2, mResI2, mResI2 + i); in test() 84 … test(Iter(ia), Iter(ia + i), std::multiplies<int>(), std::negate<int>(), 2, mResN2, mResN2 + i); in test()
|
D | power_test.cpp | 34 BOOST_CHECK ( ba::power(3,2) == ba::power(3,2, std::multiplies<int>())); in test_power() 73 ba::power(3, 2, std::multiplies<int>()) == ba::power(3, 2); in test_power_constexpr()
|
/third_party/boost/boost/accumulators/statistics/ |
D | times2_iterator.hpp | 27 decltype(std::bind(std::multiplies<std::size_t>(), 2, std::placeholders::_1)) 29 std::binder1st<std::multiplies<std::size_t> > 39 , std::bind(std::multiplies<std::size_t>(), 2, std::placeholders::_1) in make_times2_iterator() 41 , std::bind1st(std::multiplies<std::size_t>(), 2) in make_times2_iterator()
|
D | covariance.hpp | 43 : functional::multiplies<Left, Right> 58 typename functional::multiplies< 73 result(i,j) = numeric::multiplies(left[i], right[j]); in operator ()()
|
D | weighted_covariance.hpp | 60 …typedef typename numeric::functional::multiplies<Weight, typename numeric::functional::fdiv<Sample… 61 …typedef typename numeric::functional::multiplies<Weight, typename numeric::functional::fdiv<Variat…
|
/third_party/boost/boost/mpl/ |
D | multiplies.hpp | 37 struct multiplies struct 42 , multiplies 47 BOOST_MPL_AUX_NA_SPEC(AUX778076_OP_ARITY, multiplies)
|
/third_party/boost/libs/mpl/doc/src/refmanual/ |
D | multiplies.rst | 1 .. Metafunctions/Arithmetic Operations/multiplies |70 3 multiplies title 7 ``multiplies`` is a synonym for |times|. It is Provided for backward compatibility with
|
/third_party/boost/boost/accumulators/numeric/functional/ |
D | vector.hpp | 78 , acc_detail::make_vector<functional::multiplies<Left, Right> > 82 typedef typename functional::multiplies<Left, Right>::result_type value_type; in operator *() 86 result[i] = numeric::multiplies(left[i], right); in operator *() 96 , acc_detail::make_vector<functional::multiplies<Left, Right> > 100 typedef typename functional::multiplies<Left, Right>::result_type value_type; in operator *() 104 result[i] = numeric::multiplies(left, right[i]); in operator *() 112 std::vector<typename functional::multiplies<Left, Right>::result_type> 115 typedef typename functional::multiplies<Left, Right>::result_type value_type; in operator *() 119 result[i] = numeric::multiplies(left[i], right[i]); in operator *()
|
/third_party/boost/libs/iterator/example/ |
D | transform_iterator_example.cpp | 56 typedef boost::binder1st< std::multiplies<int> > Function; in main() 59 doubling_iterator i(x, boost::bind1st(std::multiplies<int>(), 2)), in main() 60 i_end(x + N, boost::bind1st(std::multiplies<int>(), 2)); in main()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/kernel/ |
D | argminmax.cc | 120 …= {std::accumulate(in_shape.begin() + param->axis_ + 1, in_shape.end(), 1, std::multiplies<int>()), in SetGlobalLocalPre() 121 … std::accumulate(in_shape.begin(), in_shape.begin() + param->axis_, 1, std::multiplies<int>()), in SetGlobalLocalPre() 122 … std::accumulate(in_shape.begin() + param->axis_, in_shape.end(), 1, std::multiplies<int>()), in SetGlobalLocalPre() 126 …mulate(in_shape_align.begin() + param->axis_ + 1, in_shape_align.end(), 1, std::multiplies<int>()), in SetGlobalLocalPre() 127 …std::accumulate(in_shape_align.begin() + param->axis_, in_shape_align.end(), 1, std::multiplies<in… in SetGlobalLocalPre() 129 std::multiplies<int>()), in SetGlobalLocalPre() 130 …std::accumulate(out_shape_align.begin() + out_axis, out_shape_align.end(), 1, std::multiplies<int>… in SetGlobalLocalPre()
|
/third_party/boost/libs/compute/test/ |
D | test_reduce.cpp | 38 compute::reduce(vector.begin(), vector.end(), &product, compute::multiplies<int>(), queue); in BOOST_AUTO_TEST_CASE() 76 compute::reduce(vector.begin(), vector.end(), &product, compute::multiplies<uint_>(), queue); in BOOST_AUTO_TEST_CASE() 180 compute::multiplies<int>(), in BOOST_AUTO_TEST_CASE() 201 compute::multiplies<int>(), in BOOST_AUTO_TEST_CASE() 264 vector.begin(), vector.end(), &result, compute::multiplies<std::complex<float> >(), queue in BOOST_AUTO_TEST_CASE() 291 … compute::reduce(vector.begin(), vector.end(), &product, compute::multiplies<uint_>(), queue); in BOOST_AUTO_TEST_CASE()
|
D | test_scan.cpp | 342 boost::compute::multiplies<int>(), queue in BOOST_AUTO_TEST_CASE() 356 boost::compute::multiplies<int>(), queue); in BOOST_AUTO_TEST_CASE() 374 int(10), boost::compute::multiplies<int>(), queue in BOOST_AUTO_TEST_CASE() 388 int(10), bc::multiplies<int>(), queue); in BOOST_AUTO_TEST_CASE() 398 device_vector.begin(), bc::multiplies<int>(), queue); in BOOST_AUTO_TEST_CASE() 408 test.begin(), std::multiplies<int>()); in BOOST_AUTO_TEST_CASE() 420 device_vector.begin(), int(10), bc::multiplies<int>(), in BOOST_AUTO_TEST_CASE() 432 test.begin(), std::multiplies<int>()); in BOOST_AUTO_TEST_CASE()
|
/third_party/boost/libs/iterator/doc/ |
D | transform_iterator_eg.rst | 18 typedef boost::binder1st< std::multiplies<int> > Function; 21 doubling_iterator i(x, boost::bind1st(std::multiplies<int>(), 2)), 22 i_end(x + N, boost::bind1st(std::multiplies<int>(), 2));
|
/third_party/mindspore/mindspore/core/ops/ |
D | reshape.cc | 59 …std::accumulate(x_shape.begin(), x_shape.end(), static_cast<int64_t>(1), std::multiplies<int64_t>(… in ReshapeInfer() 70 …ulate(x_max_shape.begin(), x_max_shape.end(), static_cast<int64_t>(1), std::multiplies<int64_t>()); in ReshapeInfer() 72 …ulate(x_min_shape.begin(), x_min_shape.end(), static_cast<int64_t>(1), std::multiplies<int64_t>()); in ReshapeInfer()
|
/third_party/boost/libs/signals2/test/ |
D | signal_n_test.cpp | 147 s1.connect(boost::bind(std::multiplies<int>(), 2, _1)); in test_one_arg() 166 s2.connect(boost::bind(std::multiplies<int>(), 2, _1)); in test_signal_signal_connect() 167 s2.connect(boost::bind(std::multiplies<int>(), -3, _1)); in test_signal_signal_connect() 179 s2.connect(boost::bind(std::multiplies<int>(), 2, _1)); in test_signal_signal_connect() 180 s2.connect(boost::bind(std::multiplies<int>(), -3, _1)); in test_signal_signal_connect()
|
/third_party/boost/libs/mpl/test/ |
D | arithmetic.cpp | 33 MPL_ASSERT_RELATION( (multiplies<_1,_10>::value), ==, 10 ); in MPL_TEST_CASE() 34 MPL_ASSERT_RELATION( (multiplies<_10,_1>::value), ==, 10 ); in MPL_TEST_CASE()
|
/third_party/boost/boost/geometry/strategies/cartesian/ |
D | line_interpolate.hpp | 90 std::multiplies in apply() 95 std::multiplies in apply()
|
/third_party/boost/libs/compute/include/boost/compute/algorithm/ |
D | inner_product.hpp | 53 detail::unpack(multiplies<input_type>()) in inner_product() 59 detail::unpack(multiplies<input_type>()) in inner_product()
|
/third_party/boost/boost/compute/algorithm/ |
D | inner_product.hpp | 53 detail::unpack(multiplies<input_type>()) in inner_product() 59 detail::unpack(multiplies<input_type>()) in inner_product()
|
/third_party/boost/libs/yap/example/ |
D | self_evaluation.cpp | 129 self_evaluating_expr<boost::yap::expr_kind::multiplies, Tuple> const & expr, in operator ()() 143 [](boost::yap::expr_tag<boost::yap::expr_kind::multiplies>, in operator ()() 207 BOOST_YAP_USER_BINARY_OPERATOR(multiplies, self_evaluating_expr, self_evaluating_expr) in BOOST_YAP_USER_BINARY_OPERATOR()
|
/third_party/mindspore/mindspore/ccsrc/fl/server/kernel/ |
D | optimizer_kernel.h | 74 …() ? type_size : std::accumulate(shape.begin(), shape.end(), type_size, std::multiplies<size_t>()); in InitServerKernelInputOutputSize() 81 …() ? type_size : std::accumulate(shape.begin(), shape.end(), type_size, std::multiplies<size_t>()); in InitServerKernelInputOutputSize()
|
/third_party/boost/libs/phoenix/doc/examples/ |
D | transforming.qbk | 92 // Transform multiplies to divides 94 struct invert_actions::when<phoenix::rule::multiplies> 103 // Transform divides to multiplies 107 __proto_make_expr__<proto::tag::multiplies>(
|