public class Roots extends java.lang.Object
| Constructor and Description |
|---|
Roots() |
| Modifier and Type | Method and Description |
|---|---|
static BigDecimal |
root(BigDecimal A,
int n)
N-th root.
|
static BigInteger |
root(BigInteger A,
int n)
Integer n-th root.
|
static BigDecimal |
sqrt(BigDecimal A)
Square root.
|
static BigDecimalComplex |
sqrt(BigDecimalComplex a)
Complex decimal number square root.
|
static BigInteger |
sqrt(BigInteger A)
Integer square root.
|
static BigInteger |
sqrtInt(BigInteger A)
Integer square root.
|
public Roots()
public static BigInteger root(BigInteger A, int n)
A - big integer.n - long.public static BigInteger sqrt(BigInteger A)
A - big integer.public static BigInteger sqrtInt(BigInteger A)
A - big integer.public static BigDecimal sqrt(BigDecimal A)
A - big decimal.public static BigDecimal root(BigDecimal A, int n)
A - big decimal.n - long.public static BigDecimalComplex sqrt(BigDecimalComplex a)
a - big decimal complex.