Home
last modified time | relevance | path

Searched refs:Matrix2x2 (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/pstl/test/std/numerics/numeric.ops/
Dtransform_scan.pass.cpp169 … test_matrix<Matrix2x2<int32_t>, Matrix2x2<int32_t>>([](const Matrix2x2<int32_t> x) { return x; }, in main()
170Matrix2x2<int32_t>(), multiply_matrix<int32_t>, in main()
171 Matrix2x2<int32_t>(-666, 666)); in main()
Dscan.pass.cpp190 …test_matrix<Matrix2x2<int32_t>, Matrix2x2<int32_t>>(Matrix2x2<int32_t>(), multiply_matrix<int32_t>, in main()
191 Matrix2x2<int32_t>(-666, 666)); in main()
/external/llvm-project/pstl/test/support/
Dutils.h646 struct Matrix2x2 struct
649 Matrix2x2() : a{{1, 0}, {0, 1}} {} in Matrix2x2() argument
650 Matrix2x2(T x, T y) : a{{0, x}, {x, y}} {} in Matrix2x2() argument
652 Matrix2x2(const Matrix2x2& m) : a{{m.a[0][0], m.a[0][1]}, {m.a[1][0], m.a[1][1]}} {} in Matrix2x2() function
653 Matrix2x2&
654 operator=(const Matrix2x2& m)
664 operator==(const Matrix2x2<T>& left, const Matrix2x2<T>& right)
671 Matrix2x2<T>
672 multiply_matrix(const Matrix2x2<T>& left, const Matrix2x2<T>& right) in multiply_matrix()
674 Matrix2x2<T> result; in multiply_matrix()