WeBWorK Problems

Undefined subroutine error when adding function to context

Re: Undefined subroutine error when adding function to context

by Joel Therrien -
Number of replies: 0
Oh ho! Thanks Davide,

I think that may well be the issue right there. I'll try that and see where it gets me.

And yes, your initial assessment is right: I am looking to have the possibility of having a more formulaic approach for some functions (for example tunneling with energies above or below a barrier use different formulae). That and not having to repeat each equation for every problem is appealing, thus the initial try at rolling my own context.

Joel