On Saturday, 15 June 2013 at 02:05:00 UTC, Carlos wrote:
I'm interested in this kind of functionalities; Does D have something on this ?I thought about something like a "eval" function that would use specified algorithms. something likes this import std.stdio, std.math, std.eval; void main() { eval(Real; a+b^^x+c=56){ algor.brute(&result); } writeln("Positive value is : ", result); }
It's not clear what that would do from your example. I presume a, b and c are defined somewhere and eval solves for x?
