mpfr FreshEval_mp(std::shared_ptr<Variable> const& diff_variable) const override { if(differential_variable_ == diff_variable) { return mpfr(1); } else { return mpfr(0); } }
ClassTestInit() { bertini::DefaultPrecision(CLASS_TEST_MPFR_DEFAULT_DIGITS); xnum_mpfr.precision(CLASS_TEST_MPFR_DEFAULT_DIGITS); ynum_mpfr.precision(CLASS_TEST_MPFR_DEFAULT_DIGITS); znum_mpfr.precision(CLASS_TEST_MPFR_DEFAULT_DIGITS); anum_mpfr.precision(CLASS_TEST_MPFR_DEFAULT_DIGITS); bnum_mpfr.precision(CLASS_TEST_MPFR_DEFAULT_DIGITS); threshold_clearance_mp.precision(CLASS_TEST_MPFR_DEFAULT_DIGITS); xnum_mpfr = mpfr(xstr_real, xstr_imag); ynum_mpfr = mpfr(ystr_real, ystr_imag); znum_mpfr = mpfr(zstr_real, zstr_imag); anum_mpfr = mpfr(astr_real, astr_imag); bnum_mpfr = mpfr(bstr_real, bstr_imag); pnum_mpfr = mpfr(pstr_real, pstr_imag); threshold_clearance_mp = bertini::mpfr_float("1e-27"); }
void FreshEval_mp(mpfr& evaluation_value, std::shared_ptr<Variable> const& diff_variable) const override { evaluation_value = mpfr(boost::multiprecision::mpfr_float(true_value_real_),boost::multiprecision::mpfr_float(true_value_imag_)); }
mpfr FreshEval_mp(std::shared_ptr<Variable> const& diff_variable) const override { return mpfr(boost::multiprecision::mpfr_float(true_value_real_),boost::multiprecision::mpfr_float(true_value_imag_)); }
void FreshEval_mp(mpfr& evaluation_value, std::shared_ptr<Variable> const& diff_variable) const override { evaluation_value = mpfr(highest_precision_value_); }
mpfr FreshEval_mp(std::shared_ptr<Variable> const& diff_variable) const override { return mpfr(highest_precision_value_); }
void FreshEval_mp(mpfr& evaluation_value, std::shared_ptr<Variable> const& diff_variable) const override { evaluation_value = mpfr(true_value_,0); }
mpfr FreshEval_mp(std::shared_ptr<Variable> const& diff_variable) const override { return mpfr(true_value_,0); }