コード例 #1
0
 public void setHistory(string name, RealTimeSeries fixings)
 {
     NQuantLibcPINVOKE.IndexManager_setHistory(swigCPtr, name, RealTimeSeries.getCPtr(fixings));
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
        public RealTimeSeries calculate(RealTimeSeries arg0)
        {
            RealTimeSeries ret = new RealTimeSeries(NQuantLibcPINVOKE.ConstantEstimator_calculate(swigCPtr, RealTimeSeries.getCPtr(arg0)), true);

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