示例#1
0
 public override uint ModularRoot(uint value, uint exponent, uint modulus)
 {
     return(IntegerMath.ModularRoot(value, exponent, modulus));
 }
示例#2
0
 public override Rational ModularRoot(Rational value, Rational exponent, Rational modulus)
 {
     return(IntegerMath.ModularRoot((BigInteger)value, (BigInteger)exponent, (BigInteger)modulus));
 }
 public override Int128 ModularRoot(Int128 value, Int128 exponent, Int128 modulus)
 {
     return((Int128)IntegerMath.ModularRoot(value, exponent, modulus));
 }
示例#4
0
 public override ulong ModularRoot(ulong value, ulong exponent, ulong modulus)
 {
     return(IntegerMath.ModularRoot(value, exponent, modulus));
 }
 public override double ModularRoot(double value, double exponent, double modulus)
 {
     return((double)IntegerMath.ModularRoot(ToBigInteger(value), ToBigInteger(exponent), ToBigInteger(modulus)));
 }
 public override Complex ModularRoot(Complex value, Complex exponent, Complex modulus)
 {
     return((Complex)IntegerMath.ModularRoot(ToBigInteger(value), ToBigInteger(exponent), ToBigInteger(modulus)));
 }
 public override BigInteger ModularRoot(BigInteger value, BigInteger exponent, BigInteger modulus)
 {
     return(IntegerMath.ModularRoot(value, exponent, modulus));
 }