public void setHistory(string name, RealTimeSeries fixings) { NQuantLibcPINVOKE.IndexManager_setHistory(swigCPtr, name, RealTimeSeries.getCPtr(fixings)); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } }
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); }