ruut-functions 0.0.2

A naive implementation of a program to parse math function from string to AST, with the ability to derive and integrate
Documentation

Supported Features

  • Cosine, Sine, Exponential, Natural Logarithm
  • Derivative of the previous functions (including x^sin(x), raising to a function)
  • Evaluate a function at a specific value of x
  • Definite integral (Numerically)

Api

You can create a function using Function::build("xsin(x)"), the argument is a &str. let func = Function::build("xsin(x)"); let derivative = func.derivative(); let y = derivative.evaluate(10.); let integral = func.integral(0., 10.);