Home
last modified time | relevance | path

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

123456789

/external/libcxx/include/
Dvalarray2 //===-------------------------- valarray ----------------------------------===//
15 valarray synopsis
21 class valarray
27 valarray();
28 explicit valarray(size_t n);
29 valarray(const value_type& x, size_t n);
30 valarray(const value_type* px, size_t n);
31 valarray(const valarray& v);
32 valarray(valarray&& v) noexcept;
33 valarray(const slice_array<value_type>& sa);
[all …]
/external/libcxx/test/std/numerics/numarray/template.valarray/valarray.members/
Dcshift.pass.cpp26 std::valarray<T> v1(a1, N1); in main()
27 std::valarray<T> v2 = v1.cshift(0); in main()
37 std::valarray<T> v1(a1, N1); in main()
38 std::valarray<T> v2 = v1.cshift(3); in main()
48 std::valarray<T> v1(a1, N1); in main()
49 std::valarray<T> v2 = v1.cshift(10); in main()
59 std::valarray<T> v1(a1, N1); in main()
60 std::valarray<T> v2 = v1.cshift(17); in main()
70 std::valarray<T> v1(a1, N1); in main()
71 std::valarray<T> v2 = v1.cshift(-3); in main()
[all …]
Dshift.pass.cpp26 std::valarray<T> v1(a1, N1); in main()
27 std::valarray<T> v2 = v1.shift(0); in main()
37 std::valarray<T> v1(a1, N1); in main()
38 std::valarray<T> v2 = v1.shift(1); in main()
48 std::valarray<T> v1(a1, N1); in main()
49 std::valarray<T> v2 = v1.shift(9); in main()
59 std::valarray<T> v1(a1, N1); in main()
60 std::valarray<T> v2 = v1.shift(90); in main()
70 std::valarray<T> v1(a1, N1); in main()
71 std::valarray<T> v2 = v1.shift(-1); in main()
[all …]
Dswap.pass.cpp28 std::valarray<T> v1(a1, N1); in main()
29 std::valarray<T> v2(a2, N2); in main()
30 std::valarray<T> v1_save = v1; in main()
31 std::valarray<T> v2_save = v2; in main()
44 std::valarray<T> v1(a1, N1); in main()
45 std::valarray<T> v2; in main()
46 std::valarray<T> v1_save = v1; in main()
47 std::valarray<T> v2_save = v2; in main()
60 std::valarray<T> v1; in main()
61 std::valarray<T> v2(a2, N2); in main()
[all …]
Dapply_value.pass.cpp29 std::valarray<T> v1(a1, N1); in main()
30 std::valarray<T> v2 = v1.apply(f); in main()
37 std::valarray<T> v1; in main()
38 std::valarray<T> v2 = v1.apply(f); in main()
45 std::valarray<T> v1(a1, N1); in main()
46 std::valarray<T> v2 = (v1+v1).apply(f); in main()
Dapply_cref.pass.cpp29 std::valarray<T> v1(a1, N1); in main()
30 std::valarray<T> v2 = v1.apply(f); in main()
37 std::valarray<T> v1; in main()
38 std::valarray<T> v2 = v1.apply(f); in main()
45 std::valarray<T> v1(a1, N1); in main()
46 std::valarray<T> v2 = (v1+v1).apply(f); in main()
/external/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.special/
Dswap.pass.cpp30 std::valarray<T> v1(a1, N1); in main()
31 std::valarray<T> v2(a2, N2); in main()
32 std::valarray<T> v1_save = v1; in main()
33 std::valarray<T> v2_save = v2; in main()
46 std::valarray<T> v1(a1, N1); in main()
47 std::valarray<T> v2; in main()
48 std::valarray<T> v1_save = v1; in main()
49 std::valarray<T> v2_save = v2; in main()
62 std::valarray<T> v1; in main()
63 std::valarray<T> v2(a2, N2); in main()
[all …]
/external/libcxx/test/std/numerics/numarray/template.valarray/valarray.unary/
Dnegate.pass.cpp26 std::valarray<T> v(a, N); in main()
27 std::valarray<T> v2 = -v; in main()
36 std::valarray<T> v(a, N); in main()
37 std::valarray<T> v2 = -v; in main()
43 typedef std::valarray<double> T; in main()
46 std::valarray<T> v(a, N); in main()
47 std::valarray<T> v2 = -v; in main()
60 std::valarray<T> v(a, N); in main()
61 std::valarray<T> v2 = -(v + v); in main()
Dplus.pass.cpp26 std::valarray<T> v(a, N); in main()
27 std::valarray<T> v2 = +v; in main()
36 std::valarray<T> v(a, N); in main()
37 std::valarray<T> v2 = +v; in main()
43 typedef std::valarray<double> T; in main()
46 std::valarray<T> v(a, N); in main()
47 std::valarray<T> v2 = +v; in main()
60 std::valarray<T> v(a, N); in main()
61 std::valarray<T> v2 = +(v + v); in main()
Dbit_not.pass.cpp26 std::valarray<T> v(a, N); in main()
27 std::valarray<T> v2 = ~v; in main()
33 typedef std::valarray<int> T; in main()
36 std::valarray<T> v(a, N); in main()
37 std::valarray<T> v2 = ~v; in main()
50 std::valarray<T> v(a, N); in main()
51 std::valarray<T> v2 = ~(v + v); in main()
Dnot.pass.cpp26 std::valarray<T> v(a, N); in main()
27 std::valarray<bool> v2 = !v; in main()
36 std::valarray<T> v(a, N); in main()
37 std::valarray<bool> v2 = !(v + v); in main()
/external/libcxx/test/std/numerics/numarray/template.mask.array/mask.array.assign/
Dmask_array.pass.cpp30 std::valarray<int> v1(a1, N1); in main()
31 const std::valarray<int> v2(a2, N2); in main()
32 std::valarray<bool> vb1(b1, N1); in main()
33 std::valarray<bool> vb2(b2, N2); in main()
58 std::valarray<int> v1(a1, 3); in main()
59 std::valarray<int> v2(a2, 3); in main()
60 std::valarray<bool> const vb1(b1, 3); in main()
/external/clang/test/PCH/
Dcxx-friends.h30 template <class T> struct valarray;
32 template <class T> struct valarray { struct
33 valarray();
34 template <class U> friend struct valarray;
35 template <class U> friend U *begin(valarray<U> &v);
39 valarray<int> size;
/external/libcxx/test/std/numerics/numarray/template.valarray/valarray.cons/
Dcopy.pass.cpp26 std::valarray<T> v(a, N); in main()
27 std::valarray<T> v2 = v; in main()
36 std::valarray<T> v(a, N); in main()
37 std::valarray<T> v2 = v; in main()
43 typedef std::valarray<double> T; in main()
46 std::valarray<T> v(a, N); in main()
47 std::valarray<T> v2 = v; in main()
Ddefault.pass.cpp22 std::valarray<int> v; in main()
26 std::valarray<float> v; in main()
30 std::valarray<double> v; in main()
34 std::valarray<std::valarray<double> > v; in main()
Dmove.pass.cpp29 std::valarray<T> v(a, N); in main()
30 std::valarray<T> v2 = std::move(v); in main()
40 std::valarray<T> v(a, N); in main()
41 std::valarray<T> v2 = std::move(v); in main()
48 typedef std::valarray<double> T; in main()
51 std::valarray<T> v(a, N); in main()
52 std::valarray<T> v2 = std::move(v); in main()
Dvalue_size.pass.cpp22 std::valarray<int> v(5, 100); in main()
28 std::valarray<double> v(2.5, 100); in main()
34 std::valarray<std::valarray<double> > v(std::valarray<double>(10), 100); in main()
Dsize.pass.cpp22 std::valarray<int> v(100); in main()
28 std::valarray<double> v(100); in main()
34 std::valarray<std::valarray<double> > v(100); in main()
/external/libcxx/test/std/numerics/numarray/template.valarray/valarray.assign/
Dcopy_assign.pass.cpp26 std::valarray<T> v(a, N); in main()
27 std::valarray<T> v2; in main()
37 std::valarray<T> v(a, N); in main()
38 std::valarray<T> v2; in main()
45 typedef std::valarray<double> T; in main()
48 std::valarray<T> v(a, N); in main()
49 std::valarray<T> v2(a, N-2); in main()
Dmove_assign.pass.cpp28 std::valarray<T> v(a, N); in main()
29 std::valarray<T> v2; in main()
40 std::valarray<T> v(a, N); in main()
41 std::valarray<T> v2; in main()
49 typedef std::valarray<double> T; in main()
52 std::valarray<T> v(a, N); in main()
53 std::valarray<T> v2(a, N-2); in main()
/external/libcxx/src/
Dvalarray.cpp17 template valarray<size_t>::valarray(size_t);
18 template valarray<size_t>::~valarray();
19 template void valarray<size_t>::resize(size_t, size_t);
24 valarray<size_t> __indices(__size_.size()); in __init()
/external/libcxx/test/std/numerics/numarray/valarray.nonmembers/valarray.comparison/
Dand_valarray_value.pass.cpp29 std::valarray<T> v1(a1, N); in main()
30 std::valarray<bool> v3 = v1 && 5; in main()
40 std::valarray<T> v1(a1, N); in main()
41 std::valarray<bool> v3 = v1 && 0; in main()
Dor_valarray_value.pass.cpp29 std::valarray<T> v1(a1, N); in main()
30 std::valarray<bool> v3 = v1 || 5; in main()
40 std::valarray<T> v1(a1, N); in main()
41 std::valarray<bool> v3 = v1 || 0; in main()
Dor_value_valarray.pass.cpp29 std::valarray<T> v2(a2, N); in main()
30 std::valarray<bool> v3 = 5 || v2; in main()
40 std::valarray<T> v2(a2, N); in main()
41 std::valarray<bool> v3 = 0 || v2; in main()
Dand_value_valarray.pass.cpp29 std::valarray<T> v2(a2, N); in main()
30 std::valarray<bool> v3 = 5 && v2; in main()
40 std::valarray<T> v2(a2, N); in main()
41 std::valarray<bool> v3 = 0 && v2; in main()

123456789