source: altifloat/src/cout_div.h

Last change on this file was 147, checked in by jbrlod, 9 years ago

add divergence term in cost function

File size: 277 bytes
Line 
1forward(YREAL Div_d)
2{
3  YS1=Div_d + YS1_Div(Yi,Yj,YTemps);
4  /*  if (Yi==74 && Yj==35)
5      printf("(%d,%d,%d):%g\n",Yi,Yj,YTemps,YS1);*/
6}
7
8backward(YREAL Div_d)
9{
10  YJ1I1=1;
11  /*  if (Yi==74 && Yj==35 && YG1 > 1e-15)
12      printf("(%d,%d,%d):%g\n",Yi,Yj,YTemps,YG1);*/
13}
14
Note: See TracBrowser for help on using the repository browser.