Treat mathematical variables like numbers
Say I have a variable named x (mathematic variable) I would like to be
able to treat this variable like a number, for example say I would like to
multiply this variable by five: I would like to achieve 5X, however this
is a simple example is there a way to do it for more complicated examples
as well? Or will I have to implement this myself?
Edit: I am not asking for code and cannot provide any as this is just
something that I am curious about to see if there is any way to do this in
c++/c already
No comments:
Post a Comment