File tree 2 files changed +9
-4
lines changed
src/com/jwetherell/algorithms/mathematics
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 5
5
* co-prime)[1] if the only positive integer that divides both of them is 1. That is, the only common positive factor
6
6
* of the two numbers is 1. This is equivalent to their greatest common divisor being 1.
7
7
* <p>
8
- * https ://en.wikipedia.org/wiki/Coprime_integers
8
+ * http ://en.wikipedia.org/wiki/Coprime_integers
9
9
* <br>
10
10
* @author Szymon Stankiewicz <mail@stankiewicz.me>
11
11
* @author Justin Wetherell <phishman3579@gmail.com>
Original file line number Diff line number Diff line change 1
1
package com .jwetherell .algorithms .mathematics ;
2
2
3
3
/**
4
- * Class for modular arithmetic.
5
- *
6
- * @author Szymob Stankiewicz
4
+ * In mathematics, modular arithmetic is a system of arithmetic for integers, where numbers "wrap around"
5
+ * upon reaching a certain value—the modulus (plural moduli). The modern approach to modular arithmetic was
6
+ * developed by Carl Friedrich Gauss in his book Disquisitiones Arithmeticae, published in 1801.
7
+ * <p>
8
+ * http://en.wikipedia.org/wiki/Modular_arithmetic
9
+ * <br>
10
+ * @author Szymon Stankiewicz <mail@stankiewicz.me>
11
+ * @author Justin Wetherell <phishman3579@gmail.com>
7
12
*/
8
13
public class Modular {
9
14
You can’t perform that action at this time.
0 commit comments