예제 #1
0
        public static Coupon as_coupon(CashFlow cf)
        {
            Coupon ret = new Coupon(NQuantLibcPINVOKE.as_coupon(CashFlow.getCPtr(cf)), true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }