Example #1
0
 public ModInt <ModT> Decr(ModInt <ModT> val) => val--;
Example #2
0
 public ModInt <ModT> Not(ModInt <ModT> val) => throw new NotImplementedException();
Example #3
0
 public ModInt <ModT> Neg(ModInt <ModT> val) => - val;
Example #4
0
 public ModInt <ModT> Incr(ModInt <ModT> val) => val++;
Example #5
0
 public ModInt <ModT> Shr(ModInt <ModT> val, int cnt) => throw new NotImplementedException();
Example #6
0
 public ModInt <ModT> Mod(ModInt <ModT> a, ModInt <ModT> b) => throw new NotImplementedException();
Example #7
0
 public bool Neq(ModInt <ModT> a, ModInt <ModT> b) => a != b;
Example #8
0
 public bool Gte(ModInt <ModT> a, ModInt <ModT> b) => throw new NotImplementedException();
Example #9
0
 public bool Eq(ModInt <ModT> a, ModInt <ModT> b) => a == b;
Example #10
0
 public ModInt <ModT> Div(ModInt <ModT> a, ModInt <ModT> b) => a / b;
Example #11
0
 public ModInt <ModT> Mul(ModInt <ModT> a, ModInt <ModT> b) => a * b;
Example #12
0
 public ModInt <ModT> Sub(ModInt <ModT> a, ModInt <ModT> b) => a - b;
Example #13
0
 public ModInt <ModT> Add(ModInt <ModT> a, ModInt <ModT> b) => a + b;