Home
last modified time | relevance | path

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

12345678910>>...15

/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/eigen/test/
Dproduct.h44 square = RowSquareMatrixType::Random(rows, rows), in product() local
68 VERIFY_IS_APPROX(square*(m1 + m2), square*m1+square*m2); in product()
69 VERIFY_IS_APPROX(square*(m1 - m2), square*m1-square*m2); in product()
72 VERIFY_IS_APPROX(s1*(square*m1), (s1*square)*m1); in product()
73 VERIFY_IS_APPROX(s1*(square*m1), square*(m1*s1)); in product()
92 res = square; in product()
94 VERIFY_IS_APPROX(res, square + m1 * m2.transpose()); in product()
97 VERIFY(areNotApprox(res,square + m2 * m1.transpose())); in product()
104 res = square; in product()
106 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()
Dadjoint.cpp18 static void run(const Vec& v1, const Vec& v2, Vec& v3, const Mat& square, Scalar s1, Scalar s2) { in run()
23 VERIFY(test_isApproxWithRef(v1.dot(square * v2), (square.adjoint() * v1).dot(v2), 0)); in run()
29 static void run(const Vec& v1, const Vec& v2, Vec& v3, const Mat& square, Scalar s1, Scalar s2) { in run()
47 …r ? 0 : (std::max)((std::max)(v1.norm(),v2.norm()),(std::max)((square * v2).norm(),(square.adjoint… in run()
48 …VERIFY(internal::isMuchSmallerThan(abs(v1.dot(square * v2) - (square.adjoint() * v1).dot(v2)), ref… in run()
74 square = SquareMatrixType::Random(rows, rows); in adjoint() local
95 adjoint_specific<NumTraits<Scalar>::IsInteger>::run(v1, v2, v3, square, s1, s2); in adjoint()
/external/eigen/test/eigen2/
Dproduct.h46 square = RowSquareMatrixType::Random(rows, rows), in product() local
70 VERIFY_IS_APPROX(square*(m1 + m2), square*m1+square*m2); in product()
71 VERIFY_IS_APPROX(square*(m1 - m2), square*m1-square*m2); in product()
74 VERIFY_IS_APPROX(s1*(square*m1), (s1*square)*m1); in product()
75 VERIFY_IS_APPROX(s1*(square*m1), square*(m1*s1)); in product()
78 s1 += (square.lazy() * m1)(r,c); in product()
97 res = square; in product()
99 VERIFY_IS_APPROX(res, square + m1 * m2.transpose()); in product()
102 VERIFY(areNotApprox(res,square + m2 * m1.transpose())); in product()
Deigen2_miscmatrices.cpp31 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()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECPoint.java270 ECFieldElement zInv2 = zInv.square(), zInv3 = zInv2.multiply(zInv); in normalize()
548 ECFieldElement lhs = Y.square(); in satisfiesCurveEquation()
559 ECFieldElement Z2 = Z.square(), Z3 = Z.multiply(Z2); in satisfiesCurveEquation()
573 ECFieldElement Z2 = Z.square(), Z4 = Z2.square(), Z6 = Z2.multiply(Z4); in satisfiesCurveEquation()
583 ECFieldElement rhs = X.square().add(A).multiply(X).add(B); in satisfiesCurveEquation()
703 ECFieldElement X3 = gamma.square().subtract(X1).subtract(X2); in add()
739 ECFieldElement vSquared = v.square(); in add()
742 … ECFieldElement A = u.square().multiply(w).subtract(vCubed).subtract(two(vSquaredV2)); in add()
775 ECFieldElement C = dx.square(); in add()
779 X3 = dy.square().subtract(W1).subtract(W2); in add()
[all …]
/external/icu/icu4c/source/data/unit/
Den_001.txt20 square-centimeter{
21 dnam{"square centimetres"}
22 one{"{0} square centimetre"}
23 other{"{0} square centimetres"}
24 per{"{0} per square centimetre"}
26 square-kilometer{
27 dnam{"square kilometres"}
28 one{"{0} square kilometre"}
29 other{"{0} square kilometres"}
31 square-meter{
[all …]
Dzh_Hant_HK.txt28 square-centimeter{
33 square-foot{
37 square-inch{
42 square-meter{
202 pound-per-square-inch{
278 square-foot{
281 square-mile{
374 square-centimeter{
379 square-foot{
383 square-inch{
[all …]
Dzh.txt58 square-centimeter{
63 square-foot{
67 square-inch{
72 square-kilometer{
76 square-meter{
81 square-mile{
85 square-yard{
440 pound-per-square-inch{
606 square-foot{
609 square-kilometer{
[all …]
Dth.txt58 square-centimeter{
63 square-foot{
67 square-inch{
72 square-kilometer{
76 square-meter{
81 square-mile{
85 square-yard{
440 pound-per-square-inch{
610 square-foot{
613 square-kilometer{
[all …]
Den.txt62 square-centimeter{
63 dnam{"square centimeters"}
64 one{"{0} square centimeter"}
65 other{"{0} square centimeters"}
66 per{"{0} per square centimeter"}
68 square-foot{
69 dnam{"square feet"}
70 one{"{0} square foot"}
71 other{"{0} square feet"}
73 square-inch{
[all …]
Dzh_Hant.txt59 square-centimeter{
64 square-foot{
68 square-inch{
73 square-kilometer{
77 square-meter{
82 square-mile{
86 square-yard{
453 pound-per-square-inch{
632 square-centimeter{
635 square-foot{
[all …]
Dlo.txt58 square-centimeter{
63 square-foot{
67 square-inch{
72 square-kilometer{
76 square-meter{
81 square-mile{
85 square-yard{
86 dnam{"square yards"}
440 pound-per-square-inch{
441 dnam{"pounds per square inch"}
[all …]
Duz_Cyrl.txt47 square-foot{
51 square-kilometer{
55 square-meter{
59 square-mile{
258 square-foot{
262 square-kilometer{
266 square-meter{
270 square-mile{
469 square-foot{
473 square-kilometer{
[all …]
Dja.txt58 square-centimeter{
63 square-foot{
67 square-inch{
72 square-kilometer{
76 square-meter{
81 square-mile{
85 square-yard{
452 pound-per-square-inch{
632 square-centimeter{
635 square-foot{
[all …]
Dug.txt33 square-foot{
37 square-kilometer{
41 square-meter{
45 square-mile{
236 square-foot{
240 square-mile{
428 square-foot{
432 square-kilometer{
436 square-meter{
440 square-mile{
Dhy.txt67 square-centimeter{
72 square-foot{
77 square-inch{
82 square-kilometer{
87 square-meter{
92 square-mile{
97 square-yard{
515 pound-per-square-inch{
715 square-foot{
719 square-kilometer{
[all …]
Dkm.txt58 square-centimeter{
63 square-foot{
67 square-inch{
72 square-kilometer{
76 square-meter{
81 square-mile{
85 square-yard{
440 pound-per-square-inch{
610 square-foot{
613 square-kilometer{
[all …]
Dmn.txt62 square-centimeter{
67 square-foot{
72 square-inch{
77 square-kilometer{
82 square-meter{
87 square-mile{
92 square-yard{
489 pound-per-square-inch{
674 square-foot{
678 square-kilometer{
[all …]
Dmy.txt58 square-centimeter{
63 square-foot{
67 square-inch{
72 square-kilometer{
76 square-meter{
80 square-mile{
84 square-yard{
439 pound-per-square-inch{
609 square-foot{
612 square-kilometer{
[all …]
Dml.txt67 square-centimeter{
73 square-foot{
78 square-inch{
84 square-kilometer{
89 square-meter{
95 square-mile{
100 square-yard{
532 pound-per-square-inch{
741 square-foot{
745 square-kilometer{
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
DSecP224K1FieldElement.java114 public ECFieldElement square() in square() method in SecP224K1FieldElement
117 SecP224K1Field.square(x, z); in square()
155 SecP224K1Field.square(x1, x2); in sqrt()
158 SecP224K1Field.square(x2, x3); in sqrt()
161 SecP224K1Field.square(x3, x4); in sqrt()
197 SecP224K1Field.square(t1, t1); in sqrt()
200 SecP224K1Field.square(t1, t2); in sqrt()
213 SecP224K1Field.square(t1, t2); in sqrt()

12345678910>>...15