/external/eigen/test/ |
D | product.h | 45 square = RowSquareMatrixType::Random(rows, rows), in product() local 69 VERIFY_IS_APPROX(square*(m1 + m2), square*m1+square*m2); in product() 70 VERIFY_IS_APPROX(square*(m1 - m2), square*m1-square*m2); in product() 73 VERIFY_IS_APPROX(s1*(square*m1), (s1*square)*m1); in product() 74 VERIFY_IS_APPROX(s1*(square*m1), square*(m1*s1)); in product() 93 res = square; in product() 95 VERIFY_IS_APPROX(res, square + m1 * m2.transpose()); in product() 98 VERIFY(areNotApprox(res,square + m2 * m1.transpose())); in product() 105 res = square; in product() 107 VERIFY_IS_APPROX(res, square - (m1 * m2.transpose())); in product() [all …]
|
D | dontalign.cpp | 31 SquareMatrixType square = SquareMatrixType::Random(rows,rows); in dontalign() local 34 VERIFY_IS_APPROX(v, square * square.colPivHouseholderQr().solve(v)); in dontalign() 35 square = square.inverse().eval(); in dontalign() 36 a = square * a; in dontalign() 37 square = square*square; in dontalign() 38 v = square * v; in dontalign() 40 VERIFY(square.determinant() != Scalar(0)); in dontalign()
|
D | miscmatrices.cpp | 31 square(v1.asDiagonal()); in miscMatrices() local 32 if(r==r2) VERIFY_IS_APPROX(square(r,r2), v1[r]); in miscMatrices() 33 else VERIFY_IS_MUCH_SMALLER_THAN(square(r,r2), static_cast<Scalar>(1)); in miscMatrices() 34 square = MatrixType::Zero(rows, rows); in miscMatrices() 35 square.diagonal() = VectorType::Ones(rows); in miscMatrices() 36 VERIFY_IS_APPROX(square, MatrixType::Identity(rows, rows)); in miscMatrices()
|
D | integer_types.cpp | 73 square = SquareMatrixType::Random(rows, rows); in integer_type_tests() local 131 VERIFY_IS_APPROX(square * (m1 + m2), square * m1 + square * m2); in integer_type_tests() 132 …VERIFY_IS_APPROX((m1 + m2).transpose() * square, m1.transpose() * square + m2.transpose() * square… in integer_type_tests()
|
D | cwiseop.cpp | 87 VERIFY_IS_APPROX(m1.cwise().pow(2), m1.cwise().square()); in cwiseops() 108 VERIFY_IS_APPROX(m3.cwise().square(), m1.cwise().abs()); in cwiseops() 109 VERIFY_IS_APPROX(m1.cwise().square().cwise().sqrt(), m1.cwise().abs()); in cwiseops() 112 VERIFY_IS_APPROX(m1.cwise().pow(2), m1.cwise().square()); in cwiseops() 119 VERIFY_IS_APPROX(mones, m1.cwise().sin().cwise().square() + m1.cwise().cos().cwise().square()); in cwiseops()
|
D | adjoint.cpp | 31 square = SquareMatrixType::Random(rows, rows); in adjoint() local 70 …r ? 0 : (std::max)((std::max)(v1.norm(),v2.norm()),(std::max)((square * v2).norm(),(square.adjoint… in adjoint() 71 VERIFY(test_isApproxWithRef(v1.dot(square * v2), (square.adjoint() * v1).dot(v2), ref)); in adjoint()
|
D | basicstuff.cpp | 30 …square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>::Random(rows… in basicStuff() local 74 square.col(r) = square.row(r).eval(); in basicStuff() 77 rv = square.row(r); in basicStuff() 78 cv = square.col(r); in basicStuff()
|
/external/eigen/test/eigen2/ |
D | product.h | 47 square = RowSquareMatrixType::Random(rows, rows), in product() local 73 VERIFY_IS_APPROX(square*(m1 + m2), square*m1+square*m2); in product() 74 VERIFY_IS_APPROX(square*(m1 - m2), square*m1-square*m2); in product() 77 VERIFY_IS_APPROX(s1*(square*m1), (s1*square)*m1); in product() 78 VERIFY_IS_APPROX(s1*(square*m1), square*(m1*s1)); in product() 81 s1 += (square.lazy() * m1)(r,c); in product() 100 res = square; in product() 102 VERIFY_IS_APPROX(res, square + m1 * m2.transpose()); in product() 105 VERIFY(areNotApprox(res,square + m2 * m1.transpose())); in product()
|
D | eigen2_miscmatrices.cpp | 31 square = v1.asDiagonal(); in miscMatrices() local 32 if(r==r2) VERIFY_IS_APPROX(square(r,r2), v1[r]); in miscMatrices() 33 else VERIFY_IS_MUCH_SMALLER_THAN(square(r,r2), static_cast<Scalar>(1)); in miscMatrices() 34 square = MatrixType::Zero(rows, rows); in miscMatrices() 35 square.diagonal() = VectorType::Ones(rows); in miscMatrices() 36 VERIFY_IS_APPROX(square, MatrixType::Identity(rows, rows)); in miscMatrices()
|
D | eigen2_basicstuff.cpp | 28 …square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>::Random(rows… in basicStuff() 71 square.col(r) = square.row(r).eval(); in basicStuff() 74 rv = square.row(r); in basicStuff() 75 cv = square.col(r); in basicStuff()
|
D | eigen2_cwiseop.cpp | 39 …square = Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime>::Random(rows… in cwiseops() 80 VERIFY_IS_APPROX(m1.cwise().pow(2), m1.cwise().square()); in cwiseops() 101 VERIFY_IS_APPROX(m3.cwise().square(), m1.cwise().abs()); in cwiseops() 102 VERIFY_IS_APPROX(m1.cwise().square().cwise().sqrt(), m1.cwise().abs()); in cwiseops() 105 VERIFY_IS_APPROX(m1.cwise().pow(2), m1.cwise().square()); in cwiseops() 112 VERIFY_IS_APPROX(mones, m1.cwise().sin().cwise().square() + m1.cwise().cos().cwise().square()); in cwiseops()
|
/external/chromium_org/ppapi/examples/2d/ |
D | paint_manager_example.cc | 114 pp::Rect square = SquareForPoint(last_x_, last_y_); in OnPaint() local 116 square.x() - paint_bounds.x(), in OnPaint() 117 square.y() - paint_bounds.y(), in OnPaint() 118 square.width(), in OnPaint() 119 square.height(), in OnPaint()
|
/external/chromium_org/ppapi/examples/input/ |
D | pointer_event_input.cc | 132 pp::Rect square = SquareForPoint(last_x_, last_y_); in OnPaint() local 134 square.x() - paint_bounds.x(), in OnPaint() 135 square.y() - paint_bounds.y(), in OnPaint() 136 square.width(), in OnPaint() 137 square.height(), in OnPaint()
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_variance_impl_mmx.asm | 112 pmaddwd mm0, mm0 ; square and accumulate 113 pmaddwd mm2, mm2 ; square and accumulate 136 pmaddwd mm0, mm0 ; square and accumulate 137 pmaddwd mm2, mm2 ; square and accumulate 159 pmaddwd mm0, mm0 ; square and accumulate 160 pmaddwd mm2, mm2 ; square and accumulate 182 pmaddwd mm0, mm0 ; square and accumulate 183 pmaddwd mm2, mm2 ; square and accumulate 205 pmaddwd mm0, mm0 ; square and accumulate 206 pmaddwd mm2, mm2 ; square and accumulate [all …]
|
/external/eigen/unsupported/Eigen/ |
D | MatrixFunctions | 41 * - \ref matrixbase_sqrt "MatrixBase::sqrt()", for computing the matrix square root 80 \param[in] M a square matrix. 97 \param[in] M a square matrix. 188 square roots computed by MatrixBase::sqrt(). 227 \param[in] M argument of matrix function, should be a square matrix. 283 \param[in] M a square matrix. 301 \param[in] M a square matrix. 312 Compute the matrix square root. 318 \param[in] M invertible matrix whose square root is to be computed. 319 \returns expression representing the matrix square root of \p M. [all …]
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
D | p1.cpp | 100 constexpr int square(int x); // expected-note {{declared here}} 110 …: x(square(a)), y(square(a)) // expected-note {{undefined function 'square' cannot be used in a co… in pixel() 115 constexpr int square(int x) { in square() function
|
/external/v8/test/mjsunit/ |
D | keyed-call-generic.js | 49 Number.prototype.square = function() { return this * this; } method in Number 50 Number.prototype.power4 = function() { return this.square().square(); }
|
/external/chromium_org/v8/test/mjsunit/ |
D | keyed-call-generic.js | 49 Number.prototype.square = function() { return this * this; } method in Number 50 Number.prototype.power4 = function() { return this.square().square(); }
|
/external/libvpx/libvpx/vp8/common/x86/ |
D | variance_impl_mmx.asm | 112 pmaddwd mm0, mm0 ; square and accumulate 113 pmaddwd mm2, mm2 ; square and accumulate 136 pmaddwd mm0, mm0 ; square and accumulate 137 pmaddwd mm2, mm2 ; square and accumulate 159 pmaddwd mm0, mm0 ; square and accumulate 160 pmaddwd mm2, mm2 ; square and accumulate 182 pmaddwd mm0, mm0 ; square and accumulate 183 pmaddwd mm2, mm2 ; square and accumulate 205 pmaddwd mm0, mm0 ; square and accumulate 206 pmaddwd mm2, mm2 ; square and accumulate [all …]
|
/external/eigen/doc/snippets/ |
D | TopicAliasing_cwise.cpp | 14 arr = arr.square(); 19 mat = (2 * mat - MatrixXf::Identity(2,2)).array().square();
|
/external/eigen/bench/ |
D | vdw_new.cpp | 26 .cwise().square() in E_VDW() 27 .cwise().square() in E_VDW()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | ECCurve.java | 138 ECFieldElement alpha = x.multiply(x.square().add(a)).add(b); in decompressPoint() 488 yp = yp.square(); in decompressPoint() 493 ECFieldElement beta = xp.add(a).add(b.multiply(xp.square().invert())); in decompressPoint() 541 ECFieldElement w2 = w.square(); in solveQuadradicEquation() 542 z = z.square().add(w2.multiply(t)); in solveQuadradicEquation() 549 gamma = z.square().add(z); in solveQuadradicEquation()
|
D | ECPoint.java | 273 ECFieldElement x3 = gamma.square().subtract(this.x).subtract(b.x); in add() 297 … ECFieldElement gamma = this.x.square().multiply(THREE).add(curve.a).divide(y.multiply(TWO)); in twice() 299 ECFieldElement x3 = gamma.square().subtract(this.x.multiply(TWO)); in twice() 500 … = (ECFieldElement.F2m)lambda.square().add(lambda).add(this.x).add(x2).add(this.curve.getA()); in addSimple() 559 = (ECFieldElement.F2m)lambda.square().add(lambda). in twice() 564 = (ECFieldElement.F2m)this.x.square().add( in twice()
|
/external/llvm/test/Transforms/InstCombine/ |
D | 2010-11-23-Distributed.ll | 6 %square = mul nsw i32 %y, %y 7 %res = sub i32 %mul, %square
|
/external/eigen/demos/mandelbrot/ |
D | mandelbrot.cpp | 76 pzr = pzr.square(); \ in render() 77 pzr -= pzi.square(); \ in render() 83 pix_dont_diverge = ((pzr.square() + pzi.square()) in render()
|