DotNet Reference
.Net Reference
DoubleVector.cs
Go to the documentation of this file.
13 public partial class DoubleVector : global::System.IDisposable, global::System.Collections.IEnumerable, global::System.Collections.Generic.IList<double>
24 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
43 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
142 global::System.Collections.Generic.IEnumerator<double> global::System.Collections.Generic.IEnumerable<double>.GetEnumerator() {
242 public DoubleVector() : this(operations_research_linear_solverPINVOKE.new_DoubleVector__SWIG_0(), true) {
245 public DoubleVector(DoubleVector other) : this(operations_research_linear_solverPINVOKE.new_DoubleVector__SWIG_1(DoubleVector.getCPtr(other)), true) {
246 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
249 public DoubleVector(int capacity) : this(operations_research_linear_solverPINVOKE.new_DoubleVector__SWIG_2(capacity), true) {
250 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
254 double ret = operations_research_linear_solverPINVOKE.DoubleVector_getitemcopy(swigCPtr, index);
255 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
261 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
267 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
271 operations_research_linear_solverPINVOKE.DoubleVector_AddRange(swigCPtr, DoubleVector.getCPtr(values));
272 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
276 global::System.IntPtr cPtr = operations_research_linear_solverPINVOKE.DoubleVector_GetRange(swigCPtr, index, count);
278 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
284 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
288 operations_research_linear_solverPINVOKE.DoubleVector_InsertRange(swigCPtr, index, DoubleVector.getCPtr(values));
289 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
294 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
299 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
303 global::System.IntPtr cPtr = operations_research_linear_solverPINVOKE.DoubleVector_Repeat(value, count);
305 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
315 if (operations_research_linear_solverPINVOKE.SWIGPendingException.Pending) throw operations_research_linear_solverPINVOKE.SWIGPendingException.Retrieve();
319 operations_research_linear_solverPINVOKE.DoubleVector_SetRange(swigCPtr, index, DoubleVector.getCPtr(values));
static void DoubleVector_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
static global::System.IntPtr DoubleVector_Repeat(double jarg1, int jarg2)
static int DoubleVector_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
void CopyTo(double[] array, int arrayIndex)
Definition: DoubleVector.cs:113
void Dispose()
Definition: DoubleVector.cs:214
bool Contains(double value)
Definition: DoubleVector.cs:323
void Reset()
Definition: DoubleVector.cs:206
void SetRange(int index, DoubleVector values)
Definition: DoubleVector.cs:318
void Insert(int index, double x)
Definition: DoubleVector.cs:282
static bool DoubleVector_Remove(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
DoubleVector(DoubleVector other)
Definition: DoubleVector.cs:245
Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever t...
Definition: DoubleVector.cs:161
static void delete_DoubleVector(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool Pending
Definition: operations_research_linear_solverPINVOKE.cs:133
static DoubleVector Repeat(double value, int count)
Definition: DoubleVector.cs:302
bool Remove(double value)
Definition: DoubleVector.cs:338
static double DoubleVector_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
DoubleVectorEnumerator GetEnumerator()
Definition: DoubleVector.cs:150
Definition: operations_research_linear_solverPINVOKE.cs:13
DoubleVector(int capacity)
Definition: DoubleVector.cs:249
static global::System.IntPtr DoubleVector_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
void RemoveRange(int index, int count)
Definition: DoubleVector.cs:297
static int DoubleVector_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
double Current
Definition: DoubleVector.cs:175
static void DoubleVector_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
void InsertRange(int index, DoubleVector values)
Definition: DoubleVector.cs:287
DoubleVectorEnumerator(DoubleVector collection)
Definition: DoubleVector.cs:167
DoubleVector(global::System.Collections.IEnumerable c)
Definition: DoubleVector.cs:48
void Reverse(int index, int count)
Definition: DoubleVector.cs:313
static void DoubleVector_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static void DoubleVector_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
DoubleVector(global::System.Collections.Generic.IEnumerable< double > c)
Definition: DoubleVector.cs:56
int IndexOf(double value)
Definition: DoubleVector.cs:328
Definition: operations_research_linear_solverPINVOKE.cs:127
DoubleVector GetRange(int index, int count)
Definition: DoubleVector.cs:275
static uint DoubleVector_size(global::System.Runtime.InteropServices.HandleRef jarg1)
static void DoubleVector_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1)
void RemoveAt(int index)
Definition: DoubleVector.cs:292
static void DoubleVector_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3)
bool MoveNext()
Definition: DoubleVector.cs:194
int LastIndexOf(double value)
Definition: DoubleVector.cs:333
void CopyTo(int index, double[] array, int arrayIndex, int count)
Definition: DoubleVector.cs:118
static global::System.Exception Retrieve()
Definition: operations_research_linear_solverPINVOKE.cs:152
static bool DoubleVector_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
void CopyTo(double[] array)
Definition: DoubleVector.cs:108
static void DoubleVector_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
virtual void Dispose(bool disposing)
Definition: DoubleVector.cs:36
static void DoubleVector_Add(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2)
static void DoubleVector_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3)
bool IsSynchronized
Definition: DoubleVector.cs:102
void AddRange(DoubleVector values)
Definition: DoubleVector.cs:270
static void DoubleVector_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)