Searched defs:v1 (Results 101 - 125 of 388) sorted by relevance

1234567891011>>

/external/eigen/test/
H A Dproduct.h49 RowVectorType v1 = RowVectorType::Random(rows); local
76 VERIFY_IS_APPROX(v1, identity*v1);
77 VERIFY_IS_APPROX(v1.transpose(), v1.transpose() * identity);
100 vcres.noalias() += m1.transpose() * v1;
101 VERIFY_IS_APPROX(vcres, vc2 + m1.transpose() * v1);
112 vcres.noalias() -= m1.transpose() * v1;
113 VERIFY_IS_APPROX(vcres, vc2 - m1.transpose() * v1);
116 VERIFY_IS_APPROX(tm1.transpose() * v1, m
[all...]
H A Dproduct_selfadjoint.cpp27 VectorType v1 = VectorType::Random(rows), local
42 m2.template selfadjointView<Lower>().rankUpdate(v1,v2);
43 VERIFY_IS_APPROX(m2, (m1 + v1 * v2.adjoint()+ v2 * v1.adjoint()).template triangularView<Lower>().toDenseMatrix());
46 m2.template selfadjointView<Upper>().rankUpdate(-v1,s2*v2,s3);
47 VERIFY_IS_APPROX(m2, (m1 + (s3*(-v1)*(s2*v2).adjoint()+numext::conj(s3)*(s2*v2)*(-v1).adjoint())).template triangularView<Upper>().toDenseMatrix());
56 m2.block(1,1,rows-1,cols-1).template selfadjointView<Lower>().rankUpdate(v1.tail(rows-1),v2.head(cols-1));
58 m3.block(1,1,rows-1,cols-1) += v1.tail(rows-1) * v2.head(cols-1).adjoint()+ v2.head(cols-1) * v1
[all...]
H A Dbasicstuff.cpp31 VectorType v1 = VectorType::Random(rows), local
45 v1.coeffRef(r) = x;
46 VERIFY_IS_APPROX(x, v1.coeff(r));
47 v1(r) = x;
48 VERIFY_IS_APPROX(x, v1(r));
49 v1[r] = x;
50 VERIFY_IS_APPROX(x, v1[r]);
52 VERIFY_IS_APPROX( v1, v1);
53 VERIFY_IS_NOT_APPROX( v1,
[all...]
H A Dblock.cpp51 VectorType v1 = VectorType::Random(rows); local
114 VERIFY_IS_EQUAL(v1.template head<2>(), v1.block(0,0,2,1));
115 VERIFY_IS_EQUAL(v1.template head<2>(), v1.head(2));
116 VERIFY_IS_EQUAL(v1.template head<2>(), v1.segment(0,2));
117 VERIFY_IS_EQUAL(v1.template head<2>(), v1.template segment<2>(0));
119 VERIFY_IS_EQUAL(v1
[all...]
H A Dgeo_quaternion.cpp63 v1 = Vector3::Random(),
81 q2 = AngleAxisx(a, v1.normalized());
102 VERIFY_IS_APPROX(q1*v1,q2*v1);
107 VERIFY_IS_APPROX(q1 * v1, Quaternionx(aa) * v1);
110 // the rotation axis and v1 are almost parallel.
112 && (aa.axis() - v1.normalized()).norm() < 1.99
113 && (aa.axis() + v1.normalized()).norm() < 1.99)
115 VERIFY_IS_NOT_APPROX(q1 * v1, Quaternion
181 v1 = Vector3::Random(); local
[all...]
H A Dhouseholder.cpp41 VectorType v1 = VectorType::Random(rows), v2; local
42 v2 = v1;
43 v1.makeHouseholder(essential, beta, alpha);
44 v1.applyHouseholderOnTheLeft(essential,beta,tmp);
45 VERIFY_IS_APPROX(v1.norm(), v2.norm());
46 if(rows>=2) VERIFY_IS_MUCH_SMALLER_THAN(v1.tail(rows-1).norm(), v1.norm());
47 v1 = VectorType::Random(rows);
48 v2 = v1;
49 v1
[all...]
H A Dproduct_extra.cpp33 RowVectorType v1 = RowVectorType::Random(rows), vrres(rows); local
70 VERIFY_IS_APPROX((-m1.adjoint() * s2) * (s1 * v1.transpose()),
71 (-m1.adjoint()*s2).eval() * (s1 * v1.transpose()).eval());
72 VERIFY_IS_APPROX((-m1.transpose() * s2) * (s1 * v1.adjoint()),
73 (-m1.transpose()*s2).eval() * (s1 * v1.adjoint()).eval());
74 VERIFY_IS_APPROX((-m1.adjoint() * s2) * (s1 * v1.adjoint()),
75 (-m1.adjoint()*s2).eval() * (s1 * v1.adjoint()).eval());
77 VERIFY_IS_APPROX((s1 * v1) * (-m1.conjugate() * s2),
78 (s1 * v1).eval() * (-m1.conjugate()*s2).eval());
79 VERIFY_IS_APPROX((s1 * v1
[all...]
/external/eigen/unsupported/doc/examples/
H A DBVH_Example.cpp22 double minimumOnObjectObject(const Vector2d &v1, const Vector2d &v2) { ++calls; return (v1 - v2).squaredNorm(); } argument
/external/libunwind/tests/
H A Dppc64-test-altivec.c31 register vector signed int v1; local
121 v1 = vec_init ();
130 vec_nor (v1, vec_add (v2, vec_sub (v3, vec_and (v4, vec_or (v5, v6)))));
143 vec_nor (v1,
148 printf ("v1 - ");
149 vec_print (v1);
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe.c128 * Build primitive to render a line with vertices at v0, v1.
134 const char *v1 )
141 prim.v[1] = (struct vertex_header *)v1;
148 * Build primitive to render a triangle with vertices at v0, v1, v2.
154 char *v1,
160 prim.v[1] = (struct vertex_header *)v1;
151 do_triangle( struct draw_context *draw, ushort flags, char *v0, char *v1, char *v2 ) argument
H A Ddraw_pipe_cull.c61 const float *v1 = header->v[1]->data[pos]; local
64 /* edge vectors: e = v0 - v2, f = v1 - v2 */
67 const float fx = v1[0] - v2[0];
68 const float fy = v1[1] - v2[1];
H A Ddraw_pipe_unfilled.c70 struct vertex_header *v1 )
74 tmp.v[1] = v1;
83 struct vertex_header *v1 = header->v[1]; local
87 if ((header->flags & DRAW_PIPE_EDGE_FLAG_1) && v1->edgeflag) point( stage, v1 );
96 struct vertex_header *v1 = header->v[1]; local
103 if ((header->flags & DRAW_PIPE_EDGE_FLAG_0) && v0->edgeflag) line( stage, v0, v1 );
104 if ((header->flags & DRAW_PIPE_EDGE_FLAG_1) && v1->edgeflag) line( stage, v1, v2 );
/external/mesa3d/src/glx/
H A Drender2.c173 GLint uord, GLdouble v1, GLdouble v2, GLint vstr,
199 __GLX_PUT_DOUBLE(20, v1);
217 __GLX_PUT_DOUBLE(24, v1);
251 GLint uord, GLfloat v1, GLfloat v2, GLint vstr, GLint vord,
283 __GLX_PUT_FLOAT(20, v1);
299 __GLX_PUT_FLOAT(24, v1);
172 __indirect_glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustr, GLint uord, GLdouble v1, GLdouble v2, GLint vstr, GLint vord, const GLdouble * pnts) argument
250 __indirect_glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustr, GLint uord, GLfloat v1, GLfloat v2, GLint vstr, GLint vord, const GLfloat * pnts) argument
/external/skia/src/effects/gradients/
H A DSkClampRange.cpp68 void SkClampRange::init(SkGradFixed fx0, SkGradFixed dx0, int count, int v0, int v1) { argument
72 fV1 = v1;
/external/skia/src/sfnt/
H A DSkOTTable_OS_2.h33 struct V1 : SkOTTableOS2_V1 { } v1; member in union:SkOTTableOS2::Version
/external/zlib/src/contrib/iostream3/
H A Dzfstream.h424 T1 v1, member in class:gzomanip2
450 T1 v1, variable
452 : func(f), val1(v1), val2(v2)
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
H A DDormandPrince54StepInterpolator.java78 private double[] v1; field in class:DormandPrince54StepInterpolator
103 v1 = null;
119 if (interpolator.v1 == null) {
121 v1 = null;
129 v1 = interpolator.v1.clone();
151 v1 = null;
173 if (v1 == null) {
174 v1 = new double[interpolatedState.length];
190 v1[
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
H A DTTestImpl.java892 * @param v1 first sample variance
898 protected double df(double v1, double v2, double n1, double n2) { argument
899 return (((v1 / n1) + (v2 / n2)) * ((v1 / n1) + (v2 / n2))) /
900 ((v1 * v1) / (n1 * n1 * (n1 - 1d)) + (v2 * v2) /
924 * @param v1 first sample variance
930 protected double t(double m1, double m2, double v1, double v2, double n1, argument
932 return (m1 - m2) / FastMath.sqrt((v1 / n1) + (v2 / n2));
941 * @param v1 firs
947 homoscedasticT(double m1, double m2, double v1, double v2, double n1, double n2) argument
985 tTest(double m1, double m2, double v1, double v2, double n1, double n2) argument
1010 homoscedasticTTest(double m1, double m2, double v1, double v2, double n1, double n2) argument
[all...]
/external/clang/test/CXX/class/class.mem/
H A Dp1.cpp5 static int v1; // expected-note{{previous declaration is here}} member in struct:S
6 int v1; //expected-error{{duplicate member 'v1'}} member in struct:S
/external/clang/test/CodeGen/
H A Dvectorcall.c4 void __vectorcall v1(int a, int b) {} function
5 // CHECK: define x86_vectorcallcc void @"\01v1@@8"(i32 inreg %a, i32 inreg %b)
6 // X64: define x86_vectorcallcc void @"\01v1@@16"(i32 %a, i32 %b)
/external/clang/test/Headers/
H A Dstddefneeds.cpp14 void* v1 = NULL; // expected-error{{undeclared}} variable
/external/clang/test/Sema/
H A Doffsetof.c31 int v1 = offsetof (struct s1, a) == 0 ? 0 : f(); variable
/external/clang/test/SemaCXX/
H A Daggregate-initialization.cpp38 __v4hi v1 = { (void *)1, 2, 3 }; // expected-error {{cannot initialize a vector element of type 'short' with an rvalue of type 'void *'}} variable
/external/deqp/modules/glshared/
H A DglsShaderPerformanceMeasurer.cpp48 static inline float triangleInterpolate (float v0, float v1, float v2, float x, float y) argument
50 return v0 + (v2-v0)*x + (v1-v0)*y;
/external/google-breakpad/src/testing/test/
H A Dgmock-internal-utils_test.cc589 Chars v1; local
590 const Chars& v2(StlContainerView<Chars>::ConstReference(v1));
591 EXPECT_EQ(&v1, &v2);
593 v1.push_back('a');
594 Chars v3 = StlContainerView<Chars>::Copy(v1);

Completed in 2009 milliseconds

1234567891011>>