Home
last modified time | relevance | path

Searched refs:vecB (Results 1 – 7 of 7) sorted by relevance

/external/chromium-trace/catapult/tracing/third_party/gl-matrix/spec/gl-matrix/
Dvec3-spec.js26 var out, vecA, vecB, result;
28 beforeEach(function() { vecA = [1, 2, 3]; vecB = [4, 5, 6]; out = [0, 0, 0]; });
32 …beforeEach(function(){ vecA = [0, 1, 0]; vecB = [0, 0, 0]; result = vec3.rotateX(out, vecA, vecB, …
36 …beforeEach(function(){ vecA = [2, 7, 0]; vecB = [2, 5, 0]; result = vec3.rotateX(out, vecA, vecB, …
43 …beforeEach(function(){ vecA = [1, 0, 0]; vecB = [0, 0, 0]; result = vec3.rotateY(out, vecA, vecB, …
47 …beforeEach(function(){ vecA = [-2, 3, 10]; vecB = [-4, 3, 10]; result = vec3.rotateY(out, vecA, ve…
54 …beforeEach(function(){ vecA = [0, 1, 0]; vecB = [0, 0, 0]; result = vec3.rotateZ(out, vecA, vecB, …
58 …beforeEach(function(){ vecA = [0, 6, -5]; vecB = [0, 0, -5]; result = vec3.rotateZ(out, vecA, vecB
192 beforeEach(function() { result = vec3.add(out, vecA, vecB); });
197 it("should not modify vecB", function() { expect(vecB).toBeEqualish([4, 5, 6]); });
[all …]
Dvec4-spec.js25 var out, vecA, vecB, result;
27 beforeEach(function() { vecA = [1, 2, 3, 4]; vecB = [5, 6, 7, 8]; out = [0, 0, 0, 0]; });
58 beforeEach(function() { result = vec4.add(out, vecA, vecB); });
63 it("should not modify vecB", function() { expect(vecB).toBeEqualish([5, 6, 7, 8]); });
67 beforeEach(function() { result = vec4.add(vecA, vecA, vecB); });
71 it("should not modify vecB", function() { expect(vecB).toBeEqualish([5, 6, 7, 8]); });
75 beforeEach(function() { result = vec4.add(vecB, vecA, vecB); });
77 … it("should place values into vecB", function() { expect(vecB).toBeEqualish([6, 8, 10, 12]); });
78 it("should return vecB", function() { expect(result).toBe(vecB); });
87 beforeEach(function() { result = vec4.subtract(out, vecA, vecB); });
[all …]
Dvec2-spec.js24 var out, vecA, vecB, result;
26 beforeEach(function() { vecA = [1, 2]; vecB = [3, 4]; out = [0, 0]; });
57 beforeEach(function() { result = vec2.add(out, vecA, vecB); });
62 it("should not modify vecB", function() { expect(vecB).toBeEqualish([3, 4]); });
66 beforeEach(function() { result = vec2.add(vecA, vecA, vecB); });
70 it("should not modify vecB", function() { expect(vecB).toBeEqualish([3, 4]); });
74 beforeEach(function() { result = vec2.add(vecB, vecA, vecB); });
76 it("should place values into vecB", function() { expect(vecB).toBeEqualish([4, 6]); });
77 it("should return vecB", function() { expect(result).toBe(vecB); });
86 beforeEach(function() { result = vec2.subtract(out, vecA, vecB); });
[all …]
/external/eigen/test/
Dcholesky.cpp76 VectorType vecB = VectorType::Random(rows), vecX(rows); in cholesky() local
96 vecX = chollo.solve(vecB); in cholesky()
97 VERIFY_IS_APPROX(symm * vecX, vecB); in cholesky()
104 vecX = cholup.solve(vecB); in cholesky()
105 VERIFY_IS_APPROX(symm * vecX, vecB); in cholesky()
148 vecX = ldltlo.solve(vecB); in cholesky()
149 VERIFY_IS_APPROX(symm * vecX, vecB); in cholesky()
155 vecX = ldltup.solve(vecB); in cholesky()
156 VERIFY_IS_APPROX(symm * vecX, vecB); in cholesky()
192 vecB = A * vecX; in cholesky()
[all …]
/external/eigen/test/eigen2/
Deigen2_cholesky.cpp33 VectorType vecB = VectorType::Random(rows), vecX(rows); in cholesky() local
48 convert<VectorType>(vecB, gVecB); in cholesky()
49 convert<VectorType>(vecB, gVecX); in cholesky()
54 symm.llt().solve(vecB, &vecX); in cholesky()
58 VERIFY_IS_APPROX(vecB, _vecB); in cholesky()
73 ldlt.solve(vecB, &vecX); in cholesky()
74 VERIFY_IS_APPROX(symm * vecX, vecB); in cholesky()
83 chol.solve(vecB, &vecX); in cholesky()
84 VERIFY_IS_APPROX(symm * vecX, vecB); in cholesky()
/external/vixl/examples/
Dadd2-vectors.cc114 uint8_t vecB[] = {16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, in main() local
122 assert(ARRAY_SIZE(vecA) == ARRAY_SIZE(vecB)); in main()
126 vecC[i] = vecA[i] + vecB[i]; in main()
131 uintptr_t vecB_addr = reinterpret_cast<uintptr_t>(vecB); in main()
141 PrintVector(vecB, ARRAY_SIZE(vecB)); in main()
/external/valgrind/VEX/priv/
Dguest_ppc_toIR.c17965 static IRTemp _get_quad_modulo_or_carry(IRExpr * vecA, IRExpr * vecB, in _get_quad_modulo_or_carry() argument
17976 IRExpr * _vecB_low64 = unop( Iop_V128to64, vecB ); in _get_quad_modulo_or_carry()
17978 IRExpr * _vecB_high64 = unop( Iop_V128HIto64, vecB ); in _get_quad_modulo_or_carry()