public double solve(UnaryFunctionDelegate function, double xAccuracy, double guess, double xMin, double xMax) { double ret = NQuantLibcPINVOKE.Brent_solve__SWIG_1(swigCPtr, UnaryFunctionDelegate.getCPtr(function), xAccuracy, guess, xMin, xMax); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public double solve(UnaryFunctionDelegate function, double xAccuracy, double guess, double step) { double ret = NQuantLibcPINVOKE.FalsePosition_solve__SWIG_0(swigCPtr, UnaryFunctionDelegate.getCPtr(function), xAccuracy, guess, step); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public UnaryFunction(UnaryFunctionDelegate arg0) : this(NQuantLibcPINVOKE.new_UnaryFunction(UnaryFunctionDelegate.getCPtr(arg0)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
public ExtendedOrnsteinUhlenbeckProcess(double speed, double sigma, double x0, UnaryFunctionDelegate function) : this(NQuantLibcPINVOKE.new_ExtendedOrnsteinUhlenbeckProcess__SWIG_4(speed, sigma, x0, UnaryFunctionDelegate.getCPtr(function)), true) { if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }