public StateType(StateType other) : this(CorePINVOKE.new_StateType__SWIG_1(StateType.getCPtr(other)), true) { if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
public Complex(Complex other) : this(CorePINVOKE.new_Complex__SWIG_1(Complex.getCPtr(other)), true) { if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
public StateType(int capacity) : this(CorePINVOKE.new_StateType__SWIG_2(capacity), true) { if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
public void RemoveRange(int index, int count) { CorePINVOKE.ComplexStateType_RemoveRange(swigCPtr, index, count); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
public void Insert(int index, Complex x) { CorePINVOKE.ComplexStateType_Insert(swigCPtr, index, Complex.getCPtr(x)); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
private void setitem(int index, Complex val) { CorePINVOKE.ComplexStateType_setitem(swigCPtr, index, Complex.getCPtr(val)); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
public void Add(Complex x) { CorePINVOKE.ComplexStateType_Add(swigCPtr, Complex.getCPtr(x)); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
private void setitem(int index, double val) { CorePINVOKE.StateType_setitem(swigCPtr, index, val); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
public void SetRange(int index, StateType values) { CorePINVOKE.StateType_SetRange(swigCPtr, index, StateType.getCPtr(values)); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
public void AddRange(StateType values) { CorePINVOKE.StateType_AddRange(swigCPtr, StateType.getCPtr(values)); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
public void Insert(int index, double x) { CorePINVOKE.StateType_Insert(swigCPtr, index, x); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
public void RemoveAt(int index) { CorePINVOKE.StateType_RemoveAt(swigCPtr, index); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
public void Reverse(int index, int count) { CorePINVOKE.StateType_Reverse__SWIG_1(swigCPtr, index, count); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } }
private double getitem(int index) { double ret = CorePINVOKE.StateType_getitem(swigCPtr, index); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Complex Substract(Complex rhs) { Complex ret = new Complex(CorePINVOKE.Complex_Substract(swigCPtr, Complex.getCPtr(rhs)), false); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
private Complex getitem(int index) { Complex ret = new Complex(CorePINVOKE.ComplexStateType_getitem(swigCPtr, index), false); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public int Solve(Ode ode, StateType timePoints, double step) { int ret = CorePINVOKE.Solver_Solve__SWIG_3(swigCPtr, Ode.getCPtr(ode), StateType.getCPtr(timePoints), step); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public Complex Multiply(Complex rhs) { Complex ret = new Complex(CorePINVOKE.Complex_Multiply__SWIG_1(swigCPtr, Complex.getCPtr(rhs)), false); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static StateType Repeat(double value, int count) { IntPtr cPtr = CorePINVOKE.StateType_Repeat(value, count); StateType ret = (cPtr == IntPtr.Zero) ? null : new StateType(cPtr, true); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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 StateType GetRange(int index, int count) { IntPtr cPtr = CorePINVOKE.StateType_GetRange(swigCPtr, index, count); StateType ret = (cPtr == IntPtr.Zero) ? null : new StateType(cPtr, true); if (CorePINVOKE.SWIGPendingException.Pending) { throw CorePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
private void SwigDirectorConnect() { if (SwigDerivedClassHasMethod("system", swigMethodTypes0)) { swigDelegate0 = new SwigDelegateComplexOde_0(SwigDirectorsystem); } if (SwigDerivedClassHasMethod("observer", swigMethodTypes1)) { swigDelegate1 = new SwigDelegateComplexOde_1(SwigDirectorobserver); } CorePINVOKE.ComplexOde_director_connect(swigCPtr, swigDelegate0, swigDelegate1); }
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(); } }
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(); } }
public virtual void Dispose() { lock (this) { if (swigCPtr.Handle != IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; CorePINVOKE.delete_StateType(swigCPtr); } swigCPtr = new HandleRef(null, IntPtr.Zero); } GC.SuppressFinalize(this); } }
public bool Remove(double value) { bool ret = CorePINVOKE.StateType_Remove(swigCPtr, value); return(ret); }
public int LastIndexOf(double value) { int ret = CorePINVOKE.StateType_LastIndexOf(swigCPtr, value); return(ret); }
public bool Contains(double value) { bool ret = CorePINVOKE.StateType_Contains(swigCPtr, value); return(ret); }
public void Reverse() { CorePINVOKE.StateType_Reverse__SWIG_0(swigCPtr); }
public StateType() : this(CorePINVOKE.new_StateType__SWIG_0(), true) { }