/external/eigen/test/eigen2/ |
product.h | 55 ColVectorType vc2 = ColVectorType::Random(cols), vcres(cols); local 107 vcres = vc2; 109 VERIFY_IS_APPROX(vcres, vc2 + m1.transpose() * v1);
|
/external/eigen/test/ |
product.h | 50 ColVectorType vc2 = ColVectorType::Random(cols), vcres(cols); local 99 vcres = vc2; 101 VERIFY_IS_APPROX(vcres, vc2 + m1.transpose() * v1); 111 vcres = vc2; 113 VERIFY_IS_APPROX(vcres, vc2 - m1.transpose() * v1);
|
product_extra.cpp | 34 ColVectorType vc2 = ColVectorType::Random(cols), vcres(cols); local 56 VERIFY_IS_APPROX((-m1.conjugate() * s2) * (s1 * vc2), 57 (-m1.conjugate()*s2).eval() * (s1 * vc2).eval()); 58 VERIFY_IS_APPROX((-m1 * s2) * (s1 * vc2.conjugate()), 59 (-m1*s2).eval() * (s1 * vc2.conjugate()).eval()); 60 VERIFY_IS_APPROX((-m1.conjugate() * s2) * (s1 * vc2.conjugate()), 61 (-m1.conjugate()*s2).eval() * (s1 * vc2.conjugate()).eval()); 63 VERIFY_IS_APPROX((s1 * vc2.transpose()) * (-m1.adjoint() * s2), 64 (s1 * vc2.transpose()).eval() * (-m1.adjoint()*s2).eval()); 65 VERIFY_IS_APPROX((s1 * vc2.adjoint()) * (-m1.transpose() * s2) [all...] |
/external/valgrind/main/drd/ |
drd_segment.c | 209 HChar *vc1, *vc2; local 212 vc2 = DRD_(vc_aprint)(&sg2->vc); 215 "Merging segments with vector clocks %s and %s\n", vc1, vc2); 217 VG_(free)(vc2);
|
drd_vc.c | 104 VectorClock vc2; local 105 DRD_(vc_init)(&vc2, &vcelem, 1); 106 DRD_(vc_combine)(vc, &vc2); 107 DRD_(vc_cleanup)(&vc2); 112 * @return True if vector clocks vc1 and vc2 are ordered, and false otherwise. 116 const VectorClock* const vc2) 118 return DRD_(vc_lte)(vc1, vc2) || DRD_(vc_lte)(vc2, vc1);
|
/external/valgrind/main/drd/tests/ |
unit_vc.c | 60 VectorClock vc2; local 69 DRD_(vc_init)(&vc2, vc2elem, sizeof(vc2elem)/sizeof(vc2elem[0])); 75 DRD_(vc_combine)(&vc3, &vc2); 79 fprintf(stderr, "\nvc2: %s", (str = DRD_(vc_aprint)(&vc2))); 84 fprintf(stderr, "vc_lte(vc1, vc2) = %d, vc_lte(vc1, vc3) = %d," 85 " vc_lte(vc2, vc3) = %d\nvc_lte(", 86 DRD_(vc_lte)(&vc1, &vc2), DRD_(vc_lte)(&vc1, &vc3), 87 DRD_(vc_lte)(&vc2, &vc3)); 102 DRD_(vc_cleanup)(&vc2);
|