21 for (
int i = 0; i < me.
Size(); i++)
31 for (
int i = 0; i < me.
Size(); i++)
40 int i, size = me.
Size();
41 unsigned int seed = 0;
43 for (i = 0; i < size; i++)
48 return me[rand()/(RAND_MAX/size)];
57 for (i = 0; i < n; i++)
62 for (j = 0, i = 1; i < n; i++)
72 for (
int i = 0; i < TheList.Size(); i++)
78 return TheList.Size()-1;
83 for (
int i = 0; i < TheList.Size(); i++)
97 for (i = 0; i <
Size(); i++)
102 for (i = 0; i <
Size(); i++)
113 for (
int i = 0; i < TheList.Size(); i++)
int Lookup(IntegerSet &s)
int Size() const
Logical size of the array.
void Recreate(const int n, const int *p)
void AddColumnsInRow(int r, int ncol)
void MakeI(int nrows)
Next 7 methods are used together with the default constructor.
T * GetData()
Returns the data.
void AddConnections(int r, const int *c, int nc)
int operator==(IntegerSet &s)
int Insert(IntegerSet &s)
void Sort()
Sorts the array.
void mfem_error(const char *msg)
void SetSize(int nsize)
Change logical size of the array, keep existing entries.