Evaluate exponential function for single x.
Uses Math387, RegModels; var y: double; begin y := ExpEval([3,-0.5], 1.5); // Res = 3*Exp(-0.5*1.5) = 1.4170996582 end;
#include "Math387.hpp" #include "RegModels.hpp" void __fastcall Example(); { double y = ExpEval(OPENARRAY(double,(3.0, -0.5)),1.5); // y = 3*Exp(-0.5*1.5) = 1.4170996582 }