Home
last modified time | relevance | path

Searched refs:square (Results 1 – 25 of 843) sorted by relevance

12345678910>>...34

/external/eigen/test/
Dproduct.h43 square = RowSquareMatrixType::Random(rows, rows), in product() local
67 VERIFY_IS_APPROX(square*(m1 + m2), square*m1+square*m2); in product()
68 VERIFY_IS_APPROX(square*(m1 - m2), square*m1-square*m2); in product()
71 VERIFY_IS_APPROX(s1*(square*m1), (s1*square)*m1); in product()
72 VERIFY_IS_APPROX(s1*(square*m1), square*(m1*s1)); in product()
91 res = square; in product()
93 VERIFY_IS_APPROX(res, square + m1 * m2.transpose()); in product()
96 VERIFY(areNotApprox(res,square + m2 * m1.transpose())); in product()
103 res = square; in product()
105 VERIFY_IS_APPROX(res, square - (m1 * m2.transpose())); in product()
[all …]
Ddontalign.cpp31 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()
Dmiscmatrices.cpp30 square(v1.asDiagonal()); in miscMatrices() local
31 if(r==r2) VERIFY_IS_APPROX(square(r,r2), v1[r]); in miscMatrices()
32 else VERIFY_IS_MUCH_SMALLER_THAN(square(r,r2), static_cast<Scalar>(1)); in miscMatrices()
33 square = MatrixType::Zero(rows, rows); in miscMatrices()
34 square.diagonal() = VectorType::Ones(rows); in miscMatrices()
35 VERIFY_IS_APPROX(square, MatrixType::Identity(rows, rows)); in miscMatrices()
/external/openssh/
Dsmult_curve25519_ref.c90 static void square(unsigned int out[32],const unsigned int a[32]) in square() function
160 square(b0,a0); in mainloop()
161 square(b0 + 32,a0 + 32); in mainloop()
166 square(r,c1 + 32); in mainloop()
172 square(xzn1b,c1); in mainloop()
194 /* 2 */ square(z2,z); in recip()
195 /* 4 */ square(t1,z2); in recip()
196 /* 8 */ square(t0,t1); in recip()
199 /* 22 */ square(t0,z11); in recip()
202 /* 2^6 - 2^1 */ square(t0,z2_5_0); in recip()
[all …]
/external/boringssl/src/ssl/test/runner/curve25519/
Dmont25519_amd64.go31 func square(out, in *[5]uint64) func
182 square(&z2, x) /* 2 */
183 square(&t, &z2) /* 4 */
184 square(&t, &t) /* 8 */
187 square(&t, &z11) /* 22 */
190 square(&t, &z2_5_0) /* 2^6 - 2^1 */
192 square(&t, &t)
196 square(&t, &z2_10_0) /* 2^11 - 2^1 */
198 square(&t, &t)
202 square(&t, &z2_20_0) /* 2^21 - 2^1 */
[all …]
/external/icu/icu4c/source/data/unit/
Dzh_Hant_HK.txt22 square-centimeter{
27 square-foot{
31 square-inch{
36 square-kilometer{
39 square-meter{
44 square-mile{
212 pound-per-square-inch{
302 square-centimeter{
306 square-foot{
310 square-inch{
[all …]
Den_001.txt14 square-centimeter{
15 dnam{"square centimetres"}
16 one{"{0} square centimetre"}
17 other{"{0} square centimetres"}
18 per{"{0} per square centimetre"}
20 square-kilometer{
21 dnam{"square kilometres"}
22 one{"{0} square kilometre"}
23 other{"{0} square kilometres"}
24 per{"{0} per square kilometre"}
[all …]
Den.txt56 square-centimeter{
57 dnam{"square centimeters"}
58 one{"{0} square centimeter"}
59 other{"{0} square centimeters"}
60 per{"{0} per square centimeter"}
62 square-foot{
63 dnam{"square feet"}
64 one{"{0} square foot"}
65 other{"{0} square feet"}
67 square-inch{
[all …]
Dth.txt52 square-centimeter{
57 square-foot{
61 square-inch{
66 square-kilometer{
71 square-meter{
76 square-mile{
81 square-yard{
479 pound-per-square-inch{
648 square-foot{
651 square-kilometer{
[all …]
Dzh.txt52 square-centimeter{
57 square-foot{
61 square-inch{
66 square-kilometer{
71 square-meter{
76 square-mile{
81 square-yard{
491 pound-per-square-inch{
671 square-centimeter{
676 square-foot{
[all …]
Dyue.txt52 square-centimeter{
57 square-foot{
61 square-inch{
66 square-kilometer{
71 square-meter{
76 square-mile{
81 square-yard{
491 pound-per-square-inch{
670 square-centimeter{
673 square-foot{
[all …]
Dyue_Hans.txt53 square-centimeter{
58 square-foot{
62 square-inch{
67 square-kilometer{
72 square-meter{
77 square-mile{
82 square-yard{
492 pound-per-square-inch{
671 square-centimeter{
674 square-foot{
[all …]
Duz_Cyrl.txt41 square-foot{
45 square-kilometer{
49 square-meter{
53 square-mile{
252 square-foot{
256 square-kilometer{
260 square-meter{
264 square-mile{
463 square-foot{
467 square-kilometer{
[all …]
Dlo.txt52 square-centimeter{
57 square-foot{
61 square-inch{
66 square-kilometer{
71 square-meter{
76 square-mile{
81 square-yard{
82 dnam{"square yards"}
479 pound-per-square-inch{
480 dnam{"pounds per square inch"}
[all …]
Dug.txt27 square-foot{
31 square-kilometer{
35 square-meter{
39 square-mile{
230 square-foot{
234 square-mile{
422 square-foot{
426 square-kilometer{
430 square-meter{
434 square-mile{
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECPoint.java251 ECFieldElement zInv2 = zInv.square(), zInv3 = zInv2.multiply(zInv); in normalize()
560 ECFieldElement lhs = Y.square(); in satisfiesCurveEquation()
571 ECFieldElement Z2 = Z.square(), Z3 = Z.multiply(Z2); in satisfiesCurveEquation()
585 ECFieldElement Z2 = Z.square(), Z4 = Z2.square(), Z6 = Z2.multiply(Z4); in satisfiesCurveEquation()
595 ECFieldElement rhs = X.square().add(A).multiply(X).add(B); in satisfiesCurveEquation()
701 ECFieldElement X3 = gamma.square().subtract(X1).subtract(X2); in add()
737 ECFieldElement vSquared = v.square(); in add()
740 … ECFieldElement A = u.square().multiply(w).subtract(vCubed).subtract(two(vSquaredV2)); in add()
773 ECFieldElement C = dx.square(); in add()
777 X3 = dy.square().subtract(W1).subtract(W2); in add()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/
DECPoint.java253 ECFieldElement zInv2 = zInv.square(), zInv3 = zInv2.multiply(zInv); in normalize()
565 ECFieldElement lhs = Y.square(); in satisfiesCurveEquation()
576 ECFieldElement Z2 = Z.square(), Z3 = Z.multiply(Z2); in satisfiesCurveEquation()
590 ECFieldElement Z2 = Z.square(), Z4 = Z2.square(), Z6 = Z2.multiply(Z4); in satisfiesCurveEquation()
600 ECFieldElement rhs = X.square().add(A).multiply(X).add(B); in satisfiesCurveEquation()
707 ECFieldElement X3 = gamma.square().subtract(X1).subtract(X2); in add()
743 ECFieldElement vSquared = v.square(); in add()
746 … ECFieldElement A = u.square().multiply(w).subtract(vCubed).subtract(two(vSquaredV2)); in add()
779 ECFieldElement C = dx.square(); in add()
783 X3 = dy.square().subtract(W1).subtract(W2); in add()
[all …]
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dgl_utils.h48 inline static void MapWorldSquareToUnitSquare(const BoundingSquare& square) { in MapWorldSquareToUnitSquare() argument
49 glScalef(square.size_, square.size_, 1.0f); in MapWorldSquareToUnitSquare()
50 glTranslatef(square.x_ / square.size_, square.y_ / square.size_, 0.0f); in MapWorldSquareToUnitSquare()
/external/python/cpython2/Doc/howto/
Dargparse.rst184 parser.add_argument("square", help="display a square of a given number")
186 print args.square**2
195 print args.square**2
204 parser.add_argument("square", help="display a square of a given number",
207 print args.square**2
216 usage: prog.py [-h] square
217 prog.py: error: argument square: invalid int value: 'four'
351 parser.add_argument("square", type=int,
352 help="display a square of a given number")
356 answer = args.square**2
[all …]
/external/python/cpython3/Doc/howto/
Dargparse.rst182 parser.add_argument("square", help="display a square of a given number")
184 print(args.square**2)
193 print(args.square**2)
202 parser.add_argument("square", help="display a square of a given number",
205 print(args.square**2)
214 usage: prog.py [-h] square
215 prog.py: error: argument square: invalid int value: 'four'
349 parser.add_argument("square", type=int,
350 help="display a square of a given number")
354 answer = args.square**2
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_MatrixSquareRoot.pbtxt19 summary: "Computes the matrix square root of one or more square matrices:"
27 The matrix square root is computed by first reducing the matrix to
28 quasi-triangular form with the real Schur decomposition. The square root
31 square roots of a real matrix", Linear Algebra Appl., 1987.
34 form square matrices. The output is a tensor of the same shape as the input
35 containing the matrix square root for all input submatrices `[..., :, :]`.
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/
Dstat_utils.cc35 return 1.0 - ((stats.classification().gini().square() + in GiniImpurity()
49 stats->classification().gini().square() + weight * weight + in UpdateGini()
74 float SmoothedGini(float sum, float square, int num_classes) { in SmoothedGini() argument
77 return 1.0 - (square + 2 * sum + num_classes) / (smoothed_sum * smoothed_sum); in SmoothedGini()
80 float WeightedSmoothedGini(float sum, float square, int num_classes) { in WeightedSmoothedGini() argument
81 return sum * SmoothedGini(sum, square, num_classes); in WeightedSmoothedGini()
/external/tensorflow/tensorflow/core/kernels/
Dcwise_op_square.cc19 REGISTER8(UnaryOp, CPU, "Square", functor::square, float, Eigen::half, double,
23 REGISTER4(UnaryOp, GPU, "Square", functor::square, float, Eigen::half, double,
34 UnaryOp<CPUDevice, functor::square<int32>>);
38 REGISTER3(UnaryOp, SYCL, "Square", functor::square, float, double, int64);
44 UnaryOp<CPUDevice, functor::square<int32>>);
/external/tensorflow/tensorflow/contrib/opt/python/training/
Dexternal_optimizer_test.py79 math_ops.square(vector - minimum_location[:2])) / 2.
81 math_ops.square(scalar - minimum_location[2])) / 2.
83 math_ops.square(
105 loss = math_ops.reduce_sum(math_ops.square(vector - minimum_location)) / 2.
149 100 * math_ops.square(
152 math_ops.square(array_ops.strided_slice(x, [0], [d - 1])))),
153 math_ops.square(
236 loss = math_ops.reduce_sum(math_ops.square(vector))
255 loss = math_ops.reduce_sum(math_ops.square(vector))
273 loss = math_ops.reduce_sum(math_ops.square(vector))
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dcwise_ops_unary_test.py200 self._compareBoth(x, np.square, math_ops.square)
236 self._compareBothSparse(x, np.square, math_ops.square)
257 self._compareBoth(x, np.square, math_ops.square)
289 self._compareBothSparse(x, np.square, math_ops.square)
308 self._compareBoth(x, np.square, math_ops.square)
343 self._compareBothSparse(x, np.square, math_ops.square)
359 self._compareBoth(x, np.square, math_ops.square)
385 self._compareBothSparse(x, np.square, math_ops.square)
397 self._compareBoth(x, np.square, math_ops.square)
402 self._compareBothSparse(x, np.square, math_ops.square)
[all …]

12345678910>>...34