예제 #1
0
파일: Value.cs 프로젝트: radekwyrwas/akalib
 public double YieldToWorst(double price, SWIGTYPE_p_int flowindex)
 {
     double ret = AkaApiPINVOKE.Value_YieldToWorst__SWIG_3(swigCPtr, price, SWIGTYPE_p_int.getCPtr(flowindex));
     if (AkaApiPINVOKE.SWIGPendingException.Pending) throw AkaApiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
예제 #2
0
 internal static HandleRef getCPtr(SWIGTYPE_p_int obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
예제 #3
0
파일: Value.cs 프로젝트: radekwyrwas/akalib
 public double PriceToWorst(double yield, SWIGTYPE_p_int flowindex, bool also_to_sinks)
 {
     double ret = AkaApiPINVOKE.Value_PriceToWorst__SWIG_2(swigCPtr, yield, SWIGTYPE_p_int.getCPtr(flowindex), also_to_sinks);
     if (AkaApiPINVOKE.SWIGPendingException.Pending) throw AkaApiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }