![]() |
Public API Reference |
int
s.
More...
#include <intarray.h>
Inheritance diagram for csIntArray:
Public Methods | |
int | Find (int val) const |
Find a contained number and return its index. More... | |
void | PushFill (int val, int n) |
Push the given value n times on the array. More... | |
void | PushIdentityMapping (int n, int offset=0) |
Push n numbers, ranging 'offset' to 'offset+n-1' in increasing order. More... | |
Static Public Methods | |
csIntArray * | CreateUniformMapping (int val, int n) |
Create an array that is filled n times with the given value. More... | |
csIntArray * | CreateIdentityMapping (int n, int offset=0) |
Create an array that is filled with the values 'offset' to 'offset+n-1'. More... |
int
s.
Definition at line 27 of file intarray.h.
|
Create an array that is filled with the values 'offset' to 'offset+n-1'.
|
|
Create an array that is filled n times with the given value.
|
|
Find a contained number and return its index.
|
|
Push the given value n times on the array.
|
|
Push n numbers, ranging 'offset' to 'offset+n-1' in increasing order.
|