Home
last modified time | relevance | path

Searched refs:valarray (Results 1 – 25 of 34) sorted by relevance

12

/third_party/boost/boost/compute/container/
Dvalarray.hpp37 class valarray class
40 explicit valarray(const context &context = system::default_context()) in valarray() function in boost::compute::valarray
45 explicit valarray(size_t size, in valarray() function in boost::compute::valarray
51 valarray(const T &value, in valarray() function in boost::compute::valarray
59 valarray(const T *values, in valarray() function in boost::compute::valarray
67 valarray(const valarray<T> &other) in valarray() function in boost::compute::valarray
73 valarray(const std::valarray<T> &valarray, in valarray() argument
75 : m_buffer(context, valarray.size() * sizeof(T)) in valarray()
77 copy(&valarray[0], &valarray[valarray.size()], begin()); in valarray()
80 valarray<T>& operator=(const valarray<T> &other) in operator =()
[all …]
/third_party/boost/libs/compute/include/boost/compute/container/
Dvalarray.hpp37 class valarray class
40 explicit valarray(const context &context = system::default_context()) in valarray() function in boost::compute::valarray
45 explicit valarray(size_t size, in valarray() function in boost::compute::valarray
51 valarray(const T &value, in valarray() function in boost::compute::valarray
59 valarray(const T *values, in valarray() function in boost::compute::valarray
67 valarray(const valarray<T> &other) in valarray() function in boost::compute::valarray
73 valarray(const std::valarray<T> &valarray, in valarray() argument
75 : m_buffer(context, valarray.size() * sizeof(T)) in valarray()
77 copy(&valarray[0], &valarray[valarray.size()], begin()); in valarray()
80 valarray<T>& operator=(const valarray<T> &other) in operator =()
[all …]
/third_party/boost/libs/compute/test/
Dtest_valarray.cpp23 boost::compute::valarray<float> array; in BOOST_AUTO_TEST_CASE()
33 boost::compute::valarray<int> array(data, 5); in BOOST_AUTO_TEST_CASE()
47 boost::compute::valarray<int> array(data, 8); in BOOST_AUTO_TEST_CASE()
57 boost::compute::valarray<int> array(data, 4); in BOOST_AUTO_TEST_CASE()
67 boost::compute::valarray<int> array(data, 4); in BOOST_AUTO_TEST_CASE()
70 boost::compute::valarray<int> result = array.apply(abs); in BOOST_AUTO_TEST_CASE()
85 boost::compute::valarray<float> array1(data, 4); \
86 boost::compute::valarray<float> array2(data, 4); \
96 array1 = boost::compute::valarray<float>(data, 4); \
130 boost::compute::valarray<int> array1(data, 4); \
[all …]
/third_party/boost/libs/accumulators/test/
Dvalarray.cpp37 void is_equal(std::valarray<T> const &left, std::valarray<T> const &right) in is_equal()
52 inline std::ostream &operator <<(std::ostream &sout, std::valarray<T> const &arr) in operator <<()
69 typedef std::valarray<int> sample_t; in test_stat()
100 is_equal(std::valarray<double>(1., 3), mean(acc)); in test_stat()
105 is_equal(std::valarray<double>(0.5, 3), mean(acc)); in test_stat()
110 is_equal(std::valarray<double>(1., 3), mean(acc)); in test_stat()
118 is_equal(std::valarray<double>(1., 3), mean(acc2)); in test_stat()
122 is_equal(std::valarray<double>(0.5, 3), mean(acc2)); in test_stat()
126 is_equal(std::valarray<double>(1., 3), mean(acc2)); in test_stat()
147 is_equal(std::valarray<double>(6.,3), weighted_mean(acc)); in test_stat()
[all …]
DJamfile.v289 : [ run valarray.cpp ]
/third_party/gstreamer/gstplugins_bad/gst/rawparse/
Dgstvideoparse.c62 str, GValue * valarray);
63 static gchar *gst_video_parse_int_valarray_to_string (GValue * valarray);
223 GValue valarray = G_VALUE_INIT; in gst_video_parse_set_property() local
226 &valarray)) { in gst_video_parse_set_property()
228 &valarray, NULL); in gst_video_parse_set_property()
229 g_value_unset (&valarray); in gst_video_parse_set_property()
238 GValue valarray = G_VALUE_INIT; in gst_video_parse_set_property() local
241 &valarray)) { in gst_video_parse_set_property()
243 valarray, NULL); in gst_video_parse_set_property()
244 g_value_unset (&valarray); in gst_video_parse_set_property()
[all …]
/third_party/boost/boost/accumulators/numeric/functional/
Dvalarray.hpp37 typedef std::valarray<typename Fun::result_type> type;
48 operator /(std::valarray<Left> const &left, Right const &right) in operator /()
51 std::valarray<value_type> result(left.size()); in operator /()
66 operator *(std::valarray<Left> const &left, Right const &right) in operator *()
69 std::valarray<value_type> result(left.size()); in operator *()
84 operator +(std::valarray<Left> const &left, std::valarray<Right> const &right) in operator +()
87 std::valarray<value_type> result(left.size()); in operator +()
101 struct tag<std::valarray<T> >
127 std::valarray< \
134 return numeric::promote<std::valarray<left_value_type> >(left) \
[all …]
/third_party/boost/boost/serialization/
Dvalarray.hpp44 void save( Archive & ar, const STD::valarray<U> &t, const unsigned int /*file_version*/ ) in save()
58 void load( Archive & ar, STD::valarray<U> &t, const unsigned int /*file_version*/ ) in load()
75 inline void serialize( Archive & ar, STD::valarray<U> & t, const unsigned int file_version) in serialize()
84 BOOST_SERIALIZATION_COLLECTION_TRAITS(STD::valarray)
/third_party/gstreamer/gstplugins_base/gst/rawparse/
Dgstrawaudioparse.c432 GValueArray *valarray = g_value_get_boxed (value); in gst_raw_audio_parse_set_property() local
436 if ((valarray != NULL) && (valarray->n_values == 0)) { in gst_raw_audio_parse_set_property()
444 if ((valarray == NULL) && (config->num_channels > 0)) { in gst_raw_audio_parse_set_property()
452 } else if (valarray != NULL) { in gst_raw_audio_parse_set_property()
464 if (valarray->n_values != config->num_channels) { in gst_raw_audio_parse_set_property()
468 gst_raw_audio_parse_set_config_channels (config, valarray->n_values, in gst_raw_audio_parse_set_property()
473 GValue *val = g_value_array_get_nth (valarray, i); in gst_raw_audio_parse_set_property()
540 GValueArray *valarray; in gst_raw_audio_parse_get_property() local
544 valarray = NULL; in gst_raw_audio_parse_get_property()
554 valarray = g_value_array_new (config->num_channels); in gst_raw_audio_parse_get_property()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Drawaudioparse.c271 GValueArray *valarray; in GST_START_TEST() local
281 valarray = g_value_array_new (2); in GST_START_TEST()
284 g_value_array_insert (valarray, 0, &val); in GST_START_TEST()
286 g_value_array_insert (valarray, 1, &val); in GST_START_TEST()
288 valarray, NULL); in GST_START_TEST()
289 g_value_array_free (valarray); in GST_START_TEST()
/third_party/boost/libs/serialization/test/
Dtest_valarray.cpp32 std::valarray<int> avalarray(2); in test_main()
40 std::valarray<int> avalarray1; in test_main()
/third_party/boost/libs/compute/include/boost/compute/detail/
Dis_contiguous_iterator.hpp60 typename std::valarray<typename Iterator::value_type>::iterator
72 typename std::valarray<typename Iterator::value_type>::const_iterator
/third_party/boost/boost/compute/detail/
Dis_contiguous_iterator.hpp60 typename std::valarray<typename Iterator::value_type>::iterator
72 typename std::valarray<typename Iterator::value_type>::const_iterator
/third_party/boost/boost/typeof/std/
Dvalarray.hpp13 BOOST_TYPEOF_REGISTER_TEMPLATE(std::valarray, 1)
/third_party/boost/boost/math/
Doctonion.hpp949 using ::std::valarray; \
952 valarray<type> tr(2); \
961 valarray<type> tt(8); \
991 using ::std::valarray; \
993 valarray<type> tr(2); \
1002 valarray<type> tt(8); \
1034 … using ::std::valarray; \
1037valarray<type> tr(4); \
1048valarray<type> tt(8); \
1078 … using ::std::valarray; \
[all …]
/third_party/boost/libs/typeof/test/
Dstd.cpp73 BOOST_STATIC_ASSERT(boost::type_of::test<valarray<int> >::value);
/third_party/json/test/src/
Dunit-conversions.cpp367 std::valarray<json> a{"previous", "value"};
1515 j1.get<std::valarray<int>>();
1516 j2.get<std::valarray<unsigned int>>();
1517 j3.get<std::valarray<double>>();
1518 j4.get<std::valarray<bool>>();
1519 j5.get<std::valarray<std::string>>();
1618 CHECK_THROWS_AS((json().get<std::valarray<int>>()), json::type_error&);
1635 (json().get<std::valarray<int>>()),
Dunit-regression1.cpp1359 std::valarray<double> v;
1366 std::valarray<double> v = {1.2, 2.3, 3.4, 4.5};
1368 std::valarray<double> vj = j;
1378 CHECK_THROWS_AS(json().get<std::valarray<double>>(), json::type_error&);
1379 CHECK_THROWS_WITH(json().get<std::valarray<double>>(),
Dunit-constructor1.cpp339 std::valarray<int> va = {1, 2, 3, 4, 5};
344 auto jva = j.get<std::valarray<int>>();
354 std::valarray<double> va = {1.2, 2.3, 3.4, 4.5, 5.6};
359 auto jva = j.get<std::valarray<double>>();
/third_party/json/include/nlohmann/detail/conversions/
Dto_json.hpp173 static void construct(BasicJsonType& j, const std::valarray<T>& arr) in construct()
298 void to_json(BasicJsonType& j, const std::valarray<T>& arr) in to_json()
Dfrom_json.hpp149 void from_json(const BasicJsonType& j, std::valarray<T>& l) in from_json()
/third_party/json/doc/examples/
Dbasic_json__CompatibleType.cpp72 std::valarray<short> c_valarray {10, 9, 8, 7}; in main()
/third_party/boost/libs/compute/doc/
Dreference.qbk141 * [classref boost::compute::valarray valarray<T>]
/third_party/skia/buildtools/third_party/libc++/
DBUILD.gn103 "trunk/src/valarray.cpp",
/third_party/boost/libs/compute/doc/html/
Dstandalone_HTML.manifest102 boost/compute/valarray.html

12