HI everyone,
I need to take the derivative of the following function in ruby:
1/(1-exp(-x))
I would like to do this symbolically equivalent to -- Analytically
Is there a ruby command to do this, or gem?
Ted.
HI everyone,
I need to take the derivative of the following function in ruby:
1/(1-exp(-x))
I would like to do this symbolically equivalent to -- Analytically
Is there a ruby command to do this, or gem?
Ted.
Looks like someone started a symbolic math library for Ruby; however, it looks a bit nascent and doesn't yet do derivatives.
My recommendation would be to either use JRuby and therefore access the available Java solutions directly, or wrap external programs, either sympy or the heavy hitters like Maxima or Axiom.