Lines Matching refs:degree
44 private ReedSolomonGenerator(int degree) { in ReedSolomonGenerator() argument
45 if (degree < 1 || degree > 255) in ReedSolomonGenerator()
50 byte[] coefficients = new byte[degree]; in ReedSolomonGenerator()
51 coefficients[degree - 1] = 1; // Start off with the monomial x^0 in ReedSolomonGenerator()
57 for (int i = 0; i < degree; i++) { in ReedSolomonGenerator()
67 polynomialMultiply = new byte[256][degree]; in ReedSolomonGenerator()
69 for (int j = 0; j < degree; j++) in ReedSolomonGenerator()
79 int degree = polynomialMultiply[0].length; in getRemainder() local
80 assert result.length == degree; in getRemainder() local
85 for (int j = 0; j < degree - 1; j++) in getRemainder()
87 result[degree - 1] = table[degree - 1]; in getRemainder()