public ComplexStateType(ComplexStateType other) : this(CorePINVOKE.new_ComplexStateType__SWIG_1(ComplexStateType.getCPtr(other)), true) { if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
public ComplexStateTypeEnumerator(ComplexStateType collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
protected override void observer(ComplexStateType x, double t) { if (OdeObserver != null) { OdeObserver(x, t); } }
protected override void system(ComplexStateType x, ComplexStateType dxdt, double t) { if (OdeSystem != null) { OdeSystem(x, dxdt, t); } }
public void SetRange(int index, ComplexStateType values) { CorePINVOKE.ComplexStateType_SetRange(swigCPtr, index, ComplexStateType.getCPtr(values)); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
public static ComplexStateType Repeat(Complex value, int count) { IntPtr cPtr = CorePINVOKE.ComplexStateType_Repeat(Complex.getCPtr(value), count); ComplexStateType ret = (cPtr == IntPtr.Zero) ? null : new ComplexStateType(cPtr, true); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public ComplexStateType GetRange(int index, int count) { IntPtr cPtr = CorePINVOKE.ComplexStateType_GetRange(swigCPtr, index, count); ComplexStateType ret = (cPtr == IntPtr.Zero) ? null : new ComplexStateType(cPtr, true); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
protected virtual void observer(ComplexStateType x, double t) { if (SwigDerivedClassHasMethod("observer", swigMethodTypes1)) { CorePINVOKE.ComplexOde_observerSwigExplicitComplexOde(swigCPtr, ComplexStateType.getCPtr(x), t); } else { CorePINVOKE.ComplexOde_observer(swigCPtr, ComplexStateType.getCPtr(x), t); } if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
protected virtual void system(ComplexStateType x, ComplexStateType dxdt, double t) { if (SwigDerivedClassHasMethod("system", swigMethodTypes0)) { CorePINVOKE.ComplexOde_systemSwigExplicitComplexOde(swigCPtr, ComplexStateType.getCPtr(x), ComplexStateType.getCPtr(dxdt), t); } else { CorePINVOKE.ComplexOde_system(swigCPtr, ComplexStateType.getCPtr(x), ComplexStateType.getCPtr(dxdt), t); } if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
internal static HandleRef getCPtr(ComplexStateType obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }