public interface FloatTupleArray
Modifier and Type | Interface and Description |
---|---|
static class |
FloatTupleArray.Factory |
Modifier and Type | Method and Description |
---|---|
void |
add(float[][] elements)
Add tuples to the array.
|
void |
add(float[][] values,
int start,
int num)
Add tuples to array.
|
int |
dim()
Get array tuple dimension.
|
float[][] |
elements()
Get the elements of this array.
|
float |
get(int i,
int j)
Get a value.
|
void |
set(int i,
int j,
float val)
Set an array value.
|
int |
size()
Get array size.
|
float[][] |
toArray()
Get array data.
|
void add(float[][] values, int start, int num)
values
- Values to add to array where dimension 2 == dim()
.start
- Index in input array where to start taking tuples.num
- The number of tuples to take.float[][] elements()
void add(float[][] elements)
elements
- Values to add to array where dimension 2 == dim()
.void set(int i, int j, float val)
i
- Tuple row index.j
- Tuple col index.val
- Value to set.float get(int i, int j)
i
- Tuple row index.j
- Tuple col index.i
at tuple index j
.float[][] toArray()
int size()
int dim()
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.