Esempio n. 1
0
 public StochasticProcess1DVector(StochasticProcess1DVector other) : this(NQuantLibcPINVOKE.new_StochasticProcess1DVector__SWIG_1(StochasticProcess1DVector.getCPtr(other)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public StochasticProcessArray(StochasticProcess1DVector array, Matrix correlation) : this(NQuantLibcPINVOKE.new_StochasticProcessArray(StochasticProcess1DVector.getCPtr(array), Matrix.getCPtr(correlation)), true)
 {
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
 public StochasticProcess1DVectorEnumerator(StochasticProcess1DVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Esempio n. 4
0
 public void SetRange(int index, StochasticProcess1DVector values)
 {
     NQuantLibcPINVOKE.StochasticProcess1DVector_SetRange(swigCPtr, index, StochasticProcess1DVector.getCPtr(values));
     if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
     {
         throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 5
0
        public static StochasticProcess1DVector Repeat(StochasticProcess1D value, int count)
        {
            global::System.IntPtr     cPtr = NQuantLibcPINVOKE.StochasticProcess1DVector_Repeat(StochasticProcess1D.getCPtr(value), count);
            StochasticProcess1DVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StochasticProcess1DVector(cPtr, true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 6
0
        public StochasticProcess1DVector GetRange(int index, int count)
        {
            global::System.IntPtr     cPtr = NQuantLibcPINVOKE.StochasticProcess1DVector_GetRange(swigCPtr, index, count);
            StochasticProcess1DVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new StochasticProcess1DVector(cPtr, true);

            if (NQuantLibcPINVOKE.SWIGPendingException.Pending)
            {
                throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(StochasticProcess1DVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }