Replies: 1 comment
-
Just to be sure it is clear, I agree that the two files probably should be combined, and I'd recommend folding |
Beta Was this translation helpful? Give feedback.
-
Just to be sure it is clear, I agree that the two files probably should be combined, and I'd recommend folding |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Going through all of the macros to clean up the POD in #1244 (and the subsequent PRs that split this), many questions came up. This discussion is about integer functions in
contextInteger.pl
andcontextIntegerFunctions.pl
.It appears that they are contexts that allow some additional functions to be used in the context. No OPL problems use
contextInteger.pl
, so I'm not sure it's useful to have it as a context.contextInteger.pl
provides:primeFactorization.pl
,isPrime
,randomPrime
,gcd
,lcm
,phi
,tau
.gcd
andlcm
are already a number of places (includingPGauxilliaryMacros.pl
.)contextIntegerFunctions.pl
provideP
andC
for computing the number of permutations and combinations. There are many problems that use these functions in the students answers.I think this is high on the priority list, but seems like having these functions available to authors might be helpful.
PGauxilliaryMacros.pl
.contextIntegerFunctions.pl
, but less clear about the other functionality.Beta Was this translation helpful? Give feedback.
All reactions