#include "MtxExpr.hpp"
#include "Math387.hpp"
void __fastcall VecFun(
TVec*
const x,
TVec*
const f,
const double* c, conts
int c_count,
System::TObject*
const* o,
const int o_count);
{
double* X = X.PValues1D(0);
(*f)[0] = X[0]*Sqrt(X[0]*X[0]+X[1]*X[1]);
(*f)[1] = X[1]*Sqrt(X[0]*X[0]+X[1]*X[1]);
(*f)[2] = X[0]*(X[1]-X[0])*(X[1]-X[0]);
}