Evaluates power function.
function PowerEval(Const B: Array of double; X: double): double; overload;
b[0]*X^b[1] for given value X and parameters in B array.
Evaluate power function for single x.
#include "Math387.hpp" #include "RegModels.hpp" void __fastcall Example(); { double y = PowerEval(OPENARRAY(double,(-5,3.5)),2.0); }
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|