gnu.lists
public class GeneralArray extends AbstractSequence implements Array
Constructor Summary | |
---|---|
GeneralArray() | |
GeneralArray(int[] dimensions) |
Method Summary | |
---|---|
int | createPos(int index, boolean isAfter) |
Object | get(int index) |
Object | get(int[] indexes) |
int | getEffectiveIndex(int[] indexes) Calculate corresponding index in base array. |
int | getLowBound(int dim) |
Object | getRowMajor(int index) |
int | getSize(int dim) |
static Array | makeSimple(int[] lowBounds, int[] dimensions, SimpleVector base) |
int | rank() |
Object | set(int[] indexes, Object value) |
int | size() See java.util.Collection. |
static void | toString(Array array, StringBuffer sbuf) |
String | toString() |
Array | transpose(int[] lowBounds, int[] dimensions, int offset0, int[] factors) |