Hi dudes, I have the next code in C++:
for (long i=0; i < num_iter ; i++)
{
bp->bpgt(data[i%8], &data[i%8][3]);
if( bp->mse(&data[i%8][3]) < thresh)
break;
}
where bpgt is a procedure, and mse is a function, thresh is a Double type, data is a bi-dimensional matrix of Double types.
void bpgt(double *in,double *tgt);
double mse(double *tgt);
double data[][4]={
0,0,0,0,
0,0,1,1,
1,1,1,1 };
I've tried to pass it to Delphi code:
for i := 0 to FNum_Iter - 1 do begin
FBPN.bpgt(FData[i mod 8], ^FData[i mod 8,3]);
if FBPN.mse(@FData[i mod 8, 3]) < FThresh then
Break;
end;
but I've failed, because I'm a newbie in C++ and I dont know to translate the "&" operator. May Someone help me?
Thanks in advance.