Adjoint operators |
(4) |
(5) |
void zpad1_lop(bool adj, bool add, int nd, int np, float *data, float *padd) { int p,d; sf_adjnull(adj,add,nd,np,data,padd); for (d=0; d < nd; d++) { p = d + (np-nd)/2; if (adj) data[d] += padd[p]; else padd[p] += data[d]; } } |
Adjoint operators |