public final class BigIntegers
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static F<java.math.BigInteger,java.math.BigInteger> |
abs
Absolute value.
|
static F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>> |
add
Curried Integer addition.
|
static F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>> |
multiply
Curried Integer multiplication.
|
static F<java.math.BigInteger,java.math.BigInteger> |
negate
Negation.
|
static F<java.math.BigInteger,F<java.lang.Integer,java.math.BigInteger>> |
power
Power.
|
static F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>> |
remainder
Remainder.
|
static F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>> |
subtract
Curried Integer subtraction.
|
Modifier and Type | Method and Description |
---|---|
static java.math.BigInteger |
product(List<java.math.BigInteger> ints)
Returns the product of a list of big integers.
|
static java.math.BigInteger |
sum(List<java.math.BigInteger> ints)
Sums a list of big integers.
|
public static final F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>> add
public static final F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>> multiply
public static final F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>> subtract
public static final F<java.math.BigInteger,java.math.BigInteger> negate
public static final F<java.math.BigInteger,java.math.BigInteger> abs
public static final F<java.math.BigInteger,F<java.math.BigInteger,java.math.BigInteger>> remainder
public static java.math.BigInteger sum(List<java.math.BigInteger> ints)
ints
- A list of big integers to sum.public static java.math.BigInteger product(List<java.math.BigInteger> ints)
ints
- A list of big integers to multiply together.