Thanks a lot for releasing the code. I have two quick questions about the following lines in forward.cu:
double min_value = -(BB/AA) * (BB/4.) + CC;
float power = -0.5f * min_value;
if (power > 0.0f){
power = 0.0f;
}
My understanding is that min_value is that G(t) = alpha_k exp(power ). Why power is set to zero if it is positive? power > 0 means -(BB/AA) * (BB/4.) + CC<0, i.e., BB^2-4AA*CC>0. Then why the effect of power is ignored in this case?
Thanks a lot for releasing the code. I have two quick questions about the following lines in forward.cu:
My understanding is that
min_value
is that G(t) = alpha_k exp(power ). Whypower
is set to zero if it is positive?power > 0
means-(BB/AA) * (BB/4.) + CC<0
, i.e.,BB^2-4AA*CC>0
. Then why the effect of power is ignored in this case?Thanks a lot.