1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-06-22 00:42:02 +01:00

overhaul of the function class

This commit is contained in:
2015-02-24 17:00:19 +00:00
parent b061e9093f
commit 465499626b
23 changed files with 326 additions and 103 deletions

View File

@ -17,14 +17,14 @@ int main(int argc, char* argv[])
}
source = argv[1];
CompiledDoubleFunction f(1, source);
CompiledDoubleFunction f(source, 1);
cout << "-- Program:" << endl << f << endl;
cout << "-- Values:" << endl;
for (double x = 0.0; x < 10.0; x += 0.5)
{
cout << "f(" << right << setw(6) << strFrom<double>(x) << ")= "
<< f(x) << endl;
<< f(&x) << endl;
}
return EXIT_SUCCESS;