AbstractNdArray

Stay organized with collections Save and categorize content based on your preferences.
public abstract class AbstractNdArray
Known Direct Subclasses
Known Indirect Subclasses

Public Methods

DimensionalSpace
boolean
equals(Object obj)
int
NdArraySequence<U>
scalars()
Returns a sequence of all scalars in this array.
Shape
shape()
abstract U
slice(long position, DimensionalSpace dimensions)

Inherited Methods

Public Methods

public DimensionalSpace dimensions ()

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

public Shape shape ()

public abstract U slice (long position, DimensionalSpace dimensions)