• Home
  • Raw
  • Download

Lines Matching refs:CR

55     abstract public CR execute(CR x);  in execute()
158 public UnaryCRFunction inverseMonotone(CR low, CR high) { in inverseMonotone()
169 public UnaryCRFunction monotoneDerivative(CR low, CR high) { in monotoneDerivative()
177 public CR execute(CR x) { in execute()
183 public CR execute(CR x) { in execute()
189 public CR execute(CR x) { in execute()
195 public CR execute(CR x) { in execute()
201 public CR execute(CR x) { in execute()
211 CR one = CR.valueOf(1);
212 public CR execute(CR x) { in execute()
213 CR x2 = x.multiply(x); in execute()
214 CR abs_sin_atan = x2.divide(one.add(x2)).sqrt(); in execute()
215 CR sin_atan = x.select(abs_sin_atan.negate(), abs_sin_atan); in execute()
221 public CR execute(CR x) { in execute()
227 public CR execute(CR x) { in execute()
233 public CR execute(CR x) { in execute()
239 public CR execute(CR x) { in execute()
245 public CR execute(CR x) { in execute()
251 public CR execute(CR x) { in execute()
257 public CR execute(CR x) { in execute()
269 public CR execute(CR x) { in execute()
284 final CR low[] = new CR[1];
285 final CR high[] = new CR[1];
286 final CR f_low[] = new CR[1];
287 final CR f_high[] = new CR[1];
304 inverseMonotone_UnaryCRFunction(UnaryCRFunction func, CR l, CR h) { in inverseMonotone_UnaryCRFunction()
306 CR tmp_f_low = func.execute(l); in inverseMonotone_UnaryCRFunction()
307 CR tmp_f_high = func.execute(h); in inverseMonotone_UnaryCRFunction()
326 class inverseIncreasingCR extends CR {
327 final CR arg;
328 inverseIncreasingCR(CR x) { in inverseIncreasingCR()
417 CR h_cr = CR.valueOf(h).shiftLeft(working_arg_prec); in approximate()
426 CR l_cr = CR.valueOf(l).shiftLeft(working_arg_prec); in approximate()
490 CR guess_cr = CR.valueOf(guess) in approximate()
494 CR f_guess_cr = fn.execute(guess_cr); in approximate()
507 CR l_cr = CR.valueOf(l) in approximate()
509 CR h_cr = CR.valueOf(h) in approximate()
567 public CR execute(CR x) { in execute()
579 final CR low[] = new CR[1]; // endpoints and mispoint of interval
580 final CR mid[] = new CR[1];
581 final CR high[] = new CR[1];
582 final CR f_low[] = new CR[1]; // Corresponding function values.
583 final CR f_mid[] = new CR[1];
584 final CR f_high[] = new CR[1];
596 monotoneDerivative_UnaryCRFunction(UnaryCRFunction func, CR l, CR h) { in monotoneDerivative_UnaryCRFunction()
603 CR difference = h.subtract(l); in monotoneDerivative_UnaryCRFunction()
609 CR appr_diff2 = f_high[0].subtract(f_mid[0].shiftLeft(1)).add(f_low[0]); in monotoneDerivative_UnaryCRFunction()
613 class monotoneDerivativeCR extends CR {
614 CR arg;
615 CR f_arg;
617 monotoneDerivativeCR(CR x) { in monotoneDerivativeCR()
622 CR left_diff = arg.subtract(low[0]); in monotoneDerivativeCR()
624 CR right_diff = high[0].subtract(arg); in monotoneDerivativeCR()
639 CR delta = ONE.shiftLeft(log_delta); in approximate()
641 CR left = arg.subtract(delta); in approximate()
642 CR right = arg.add(delta); in approximate()
643 CR f_left = f[0].execute(left); in approximate()
644 CR f_right = f[0].execute(right); in approximate()
645 CR left_deriv = f_arg.subtract(f_left).shiftRight(log_delta); in approximate()
646 CR right_deriv = f_right.subtract(f_arg).shiftRight(log_delta); in approximate()
664 public CR execute(CR x) { in execute()