Home
last modified time | relevance | path

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

/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.java120 int[] exponents = field.getMinimalPolynomial().getExponentsPresent(); in X9ECParameters() local
121 if (exponents.length == 3) in X9ECParameters()
123 this.fieldID = new X9FieldID(exponents[2], exponents[1]); in X9ECParameters()
125 else if (exponents.length == 5) in X9ECParameters()
127 … this.fieldID = new X9FieldID(exponents[4], exponents[1], exponents[2], exponents[3]); in X9ECParameters()
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DDHGenParameterSpecTest.java44 int[] exponents = { Integer.MIN_VALUE, -1, 0, 1, Integer.MAX_VALUE }; in testDHGenParameterSpec() local
47 exponents[i]); in testDHGenParameterSpec()
53 ps.getPrimeSize(), exponents[i]); in testDHGenParameterSpec()
/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/eigen/Eigen/src/Core/
DGlobalFunctions.h61 pow(const Eigen::ArrayBase<Derived>& x, const Eigen::ArrayBase<Derived>& exponents) in pow() argument
65 exponents.derived() in pow()
/external/eigen/test/
Darray.cpp197 ArrayType exponents = ArrayType::Constant(rows, cols, RealScalar(2)); in array_real() local
198 VERIFY_IS_APPROX(Eigen::pow(m1,exponents), m1.square()); in array_real()
/external/compiler-rt/lib/builtins/
Dfp_add_impl.inc81 // Shift the significand of b by the difference in exponents, with a sticky
/external/protobuf/src/google/protobuf/
Dunittest.proto537 // Using exponents
/external/protobuf/
DCHANGES.txt583 * Fixed text_format_test on Windows where floating-point exponents sometimes