public abstract class
AbstractNdArray
Known Direct Subclasses
AbstractDenseNdArray<T, U extends NdArray<T>>
|
Known Indirect Subclasses |
Public Methods
DimensionalSpace | |
boolean |
equals(Object obj)
|
int |
hashCode()
|
NdArraySequence<U> |
scalars()
Returns a sequence of all scalars in this array.
|
Shape |
shape()
|
abstract U |
slice(long position, DimensionalSpace dimensions)
|
Inherited Methods
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
abstract NdArray<T> | |
abstract NdArraySequence<? extends NdArray<T>> |
elements(int dimensionIdx)
Returns a sequence of all elements at a given dimension.
|
abstract boolean |
equals(Object obj)
Checks equality between n-dimensional arrays.
|
abstract NdArray<T> |
get(long... coordinates)
Returns the N-dimensional element of this array at the given coordinates.
|
abstract T |
getObject(long... coordinates)
Returns the value of the scalar found at the given coordinates.
|
abstract NdArray<T> | |
abstract NdArraySequence<? extends NdArray<T>> |
scalars()
Returns a sequence of all scalars in this array.
|
abstract NdArray<T> | |
abstract NdArray<T> |
setObject(T value, long... coordinates)
Assigns the value of the scalar found at the given coordinates.
|
abstract NdArray<T> | |
abstract NdArray<T> |
Public Methods
public boolean equals (Object obj)
public int hashCode ()
public NdArraySequence<U> scalars ()
Returns a sequence of all scalars in this array.
This is equivalent to call elements(shape().numDimensions() - 1)
Returns
- an
NdArray
sequence