Evaluate exponential function for multiple values at the same time.
#include "Math387.hpp" #include "RegModels.hpp" #include "MtxExpr.hpp" void __fastcall Example(TLineSeries* Series1); { sVector X,Y; X.Size(100,false); X.Ramp(-5.0, 0.05); // x= -5.0, -4.95, ... -0.05 ExpEval(OPENARRAY(double,(3.0, -0.5)),X,Y); DrawValues(X,Y,Series1,false); }
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|