How to store a function for later evaluation?

Posted by gcc on Stack Overflow See other posts from Stack Overflow or by gcc
Published on 2010-05-28T01:03:26Z Indexed on 2010/05/28 1:21 UTC
Read the original article Hit count: 176

Filed under:
|

A user will provide a function with three unknown values: a, b and c. For example:

sin(a+b)+ln(5)*(log(ab)-32/sqrt(abc))

How should I store the function so as to best be able to work with it?

© Stack Overflow or respective owner

Related posts about c

    Related posts about homework