Home
last modified time | relevance | path

Searched refs:exponents (Results 1 – 25 of 43) sorted by relevance

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/field/
DGF2Polynomial.java7 protected final int[] exponents; field in GF2Polynomial
9 GF2Polynomial(int[] exponents) in GF2Polynomial() argument
11 this.exponents = Arrays.clone(exponents); in GF2Polynomial()
16 return exponents[exponents.length - 1]; in getDegree()
21 return Arrays.clone(exponents); in getExponentsPresent()
35 return Arrays.areEqual(exponents, other.exponents); in equals()
40 return Arrays.hashCode(exponents); in hashCode()
DFiniteFields.java10 public static PolynomialExtensionField getBinaryExtensionField(int[] exponents) in getBinaryExtensionField() argument
12 if (exponents[0] != 0) in getBinaryExtensionField()
16 for (int i = 1; i < exponents.length; ++i) in getBinaryExtensionField()
18 if (exponents[i] <= exponents[i - 1]) in getBinaryExtensionField()
24 return new GenericPolynomialExtensionField(GF_2, new GF2Polynomial(exponents)); in getBinaryExtensionField()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/
DX9ECParameters.java139 int[] exponents = field.getMinimalPolynomial().getExponentsPresent(); in X9ECParameters() local
140 if (exponents.length == 3) in X9ECParameters()
142 this.fieldID = new X9FieldID(exponents[2], exponents[1]); in X9ECParameters()
144 else if (exponents.length == 5) in X9ECParameters()
146 … this.fieldID = new X9FieldID(exponents[4], exponents[1], exponents[2], exponents[3]); in X9ECParameters()
/external/eigen/Eigen/src/Core/
DGlobalFunctions.h132 pow(const Eigen::ArrayBase<Derived>& x, const Eigen::ArrayBase<ExponentDerived>& exponents) in pow() argument
136 exponents.derived() in pow()
161 pow(const Scalar& x, const Eigen::ArrayBase<Derived>& exponents) in pow() argument
164 …internal::plain_constant_type<Derived,Scalar>::type(exponents.rows(), exponents.cols(), x), expone… in pow()
169 pow(const typename Derived::Scalar& x, const Eigen::ArrayBase<Derived>& exponents) in EIGEN_SCALAR_BINARYOP_EXPR_RETURN_TYPE()
172 …nstant_type<Derived,typename Derived::Scalar>::type(exponents.rows(), exponents.cols(), x), expone… in EIGEN_SCALAR_BINARYOP_EXPR_RETURN_TYPE()
/external/guava/guava-tests/benchmark/com/google/common/math/
DLongMathBenchmark.java36 private static final int[] exponents = new int[ARRAY_SIZE]; field in LongMathBenchmark
46 exponents[i] = randomExponent(); in setUp()
62 tmp += LongMath.pow(positive[j], exponents[j]); in pow()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/
DECNamedCurveSpec.java44 int[] exponents = poly.getExponentsPresent(); in convertField() local
45 int[] ks = Arrays.reverse(Arrays.copyOfRange(exponents, 1, exponents.length - 1)); in convertField()
/external/eigen/test/
Darray.cpp113 ArrayType exponents = ArrayType::Constant(rows, cols, RealScalar(2)); in array() local
114 VERIFY_IS_APPROX(Eigen::pow(m1,exponents), m1.square()); in array()
115 VERIFY_IS_APPROX(m1.pow(exponents), m1.square()); in array()
116 VERIFY_IS_APPROX(Eigen::pow(2*m1,exponents), 4*m1.square()); in array()
117 VERIFY_IS_APPROX((2*m1).pow(exponents), 4*m1.square()); in array()
118 VERIFY_IS_APPROX(Eigen::pow(m1,2*exponents), m1.square().square()); in array()
119 VERIFY_IS_APPROX(m1.pow(2*exponents), m1.square().square()); in array()
120 VERIFY_IS_APPROX(Eigen::pow(m1(0,0), exponents), ArrayType::Constant(rows,cols,m1(0,0)*m1(0,0))); in array()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DEC5Util.java249 int[] exponents = poly.getExponentsPresent(); in convertField() local
250 int[] ks = Arrays.reverse(Arrays.copyOfRange(exponents, 1, exponents.length - 1)); in convertField()
/external/wycheproof/doc/
Ddh.md6 Diffie-Hellman keys can be found much faster if the short exponents are used and
77 [OW96]: P. C. van Oorschot, M. J. Wiener, "On Diffie-Hellman key agreement with short exponents",
Dindex.md29 public exponents. Tests do not measure how many bytes can be modified.
Drsa.md94 small public exponents and prefer for example e=65537 .
/external/compiler-rt/lib/builtins/
Dfp_add_impl.inc81 // Shift the significand of b by the difference in exponents, with a sticky
/external/toolchain-utils/cros_utils/
Dstats.py3736 exponents = N.where(N.less(x, -BIG), -BIG, x)
3737 return N.exp(exponents)
3885 exponents = (a2 * j * j)
3886 overflowmask = N.less(exponents, -746)
3889 term = fac * N.exp(exponents)
4012 exponents = (gammln(a + b) - gammln(a) - gammln(b) + a * N.log(x) + b *
4015 exponents = N.where(N.less(exponents, -740), -740, exponents)
4016 bt = N.exp(exponents)
/external/python/cpython2/Doc/library/
Ddecimal.rst90 rules, limits on exponents, flags indicating the results of operations, and trap
940 the range for exponents.
1056 for exponents.
1059 :const:`1`, exponents are printed with a capital :const:`E`; otherwise, a
1395 the exponents of ``x``, ``y`` and ``modulo``. The result is
/external/python/cpython2/Lib/test/decimaltestdata/
DddEncode.decTest241 -- exponents
DdqSubtract.decTest112 -- NB: -xE-8 below were non-exponents pre-ANSI X3-274, and -1E-7 or 0E-7
DddSubtract.decTest112 -- NB: -xE-8 below were non-exponents pre-ANSI X3-274, and -1E-7 or 0E-7
Dbase.decTest523 -- a few larger exponents
1345 -- Edge cases for int32 exponents...
Dsubtract.decTest121 -- NB: -xE-8 below were non-exponents pre-ANSI X3-274, and -1E-7 or 0E-7
Drescale.decTest153 -- +ve exponents ..
DdqQuantize.decTest189 -- +ve exponents ..
/external/protobuf/src/google/protobuf/
Dunittest.proto554 // Using exponents
/external/icu/icu4c/source/test/testdata/
Dnumberformattestspecification.txt115 // JDK doesn't support significant digits in exponents
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/
Dnumberformattestspecification.txt115 // JDK doesn't support significant digits in exponents
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/
Dnumberformattestspecification.txt115 // JDK doesn't support significant digits in exponents

12