private static boolean isZero( NumberArrayOperations<BigFraction, BigFraction[]> nops, BigFraction value) { return nops.getNumberOperators() .booleanUnary(BooleanUnaryOperator.Id.isZero) .booleanOperate(value); }
private static boolean isZero( NumberArrayOperations<VarIntNumber, VarIntNumber[]> nops, VarIntNumber value) { return nops.getNumberOperators() .booleanUnary(BooleanUnaryOperator.Id.isZero) .booleanOperate(value); }