| Modifier and Type | Method and Description |
|---|---|
int |
dimensionality()
Returns the dimensionality of the array (number of dimensions in the array shape)
e.g.
|
long |
elementCount()
Returns the total number of elements in this array.
|
INDArray |
exactClone()
Returns an exact deep clone of an array (i.e.
|
double |
get(int... indexes)
Returns the double value at the specified index position in an array
|
int[] |
getShape()
Returns the shape of the array as an array of ints.
|
boolean |
isView()
Return true if this array is a view type
|
static JoinedArray |
join(INDArray a,
INDArray b,
int dim) |
void |
set(int[] indexes,
double value) |
INDArray |
slice(int majorSlice)
Returns the specified major slice of this array as a view (slice along dimension 0)
|
INDArray |
slice(int dimension,
int index)
Returns a slice view of this array along the specified dimension
|
int |
sliceCount()
returns the number of major slices in this array.
|
void |
validate()
Validates the internal data structure of the INDArray.
|
abs, add, add, applyOp, applyOp, asDoubleArray, asElementList, asVector, broadcast, broadcastCloneLike, broadcastLike, clamp, clone, copyTo, divide, divide, elementIterator, elementSquaredSum, elementSum, ensureMutable, epsilonEquals, epsilonEquals, equals, equals, exp, fill, get, get, get, getElements, getLongShape, getShape, getShapeClone, getSlices, getSlices, getSliceViews, getTranspose, getTransposeCopy, getTransposeView, hashCode, immutable, innerProduct, isBoolean, isElementConstrained, isFullyMutable, isMutable, isSameShape, isZero, iterator, join, log, multiply, multiply, mutable, negate, nonZeroCount, outerProduct, pow, reciprocal, reshape, rotateView, scale, scaleAdd, set, set, set, set, set, setElements, setElements, signum, sqrt, square, sub, sub, subArray, toArray, toDoubleArray, toDoubleBuffer, toString, toVectorpublic static JoinedArray join(INDArray a, INDArray b, int dim)
public int dimensionality()
INDArraypublic int[] getShape()
INDArraypublic double get(int... indexes)
INDArraypublic void set(int[] indexes,
double value)
public INDArray slice(int majorSlice)
INDArraypublic INDArray slice(int dimension, int index)
INDArraypublic int sliceCount()
INDArraypublic long elementCount()
INDArraypublic boolean isView()
INDArraypublic INDArray exactClone()
INDArraypublic void validate()
INDArrayvalidate in interface INDArrayvalidate in class AbstractArray<INDArray>Copyright © 2013. All Rights Reserved.