T - The type of array slicespublic abstract class AbstractArray<T> extends Object implements INDArray, Iterable<T>
| Constructor and Description |
|---|
AbstractArray() |
| Modifier and Type | Method and Description |
|---|---|
void |
abs()
Replaces all elements of this array with their absolute values, according to Math.abs(double)
|
INDArray |
absCopy()
Returns a copy of the array with the abs operator applied to each element
|
void |
add(AScalar a)
Subtracts a scalar from every element of this array
|
void |
add(double a)
Adds a double value to all elements in this array.
|
void |
add(INDArray a)
Adds all the elements of another array to this array, in an elementwise order.
|
void |
addAt(long i,
double v)
Adds to a mutable array, indexed by element position in row major order.
|
INDArray |
addCopy(double d)
Creates a new array equal to this array with a constant value added to every element
|
INDArray |
addCopy(INDArray a)
Creates a new array equal to the sum of this array with another array.
|
void |
addInnerProduct(AMatrix a,
INDArray b)
Adds the inner product of a matrix and an array to this array
|
void |
addInnerProduct(AVector a,
INDArray b)
Adds the inner product of a vector and an array to this array
|
void |
addInnerProduct(INDArray a,
INDArray b)
Adds the inner product of two arrays to this array.
|
void |
addMultiple(INDArray src,
double factor)
Adds a scaled multiple of another array to this array
|
void |
addOuterProduct(INDArray a,
INDArray b)
Adds the outer product of two arrays to this array.
|
void |
addPower(INDArray src,
double exponent)
Adds an array with all elements raised to the specified power
|
void |
addPower(INDArray src,
double exponent,
double factor)
Adds an array with all elements raised to the specified power and scaled by the given factor
|
void |
addToArray(double[] data,
int offset)
Adds all the elements of this array to a double array, in row-major order
|
void |
applyOp(IOperator op)
Applies a unary operator to all elements of the array (in-place)
|
void |
applyOp(Op op)
Applies a unary operator to all elements of the array (in-place)
|
void |
applyOp(Op2 op,
double b)
Applies a binary operator to this array and a double value.
|
void |
applyOp(Op2 op,
INDArray b)
Applies a binary operator to this array and a second array.
|
INDArray |
applyOpCopy(Op op)
Applies a unary operator to all elements of the array (creating a new array)
|
double[] |
asDoubleArray()
Returns the underlying double array representing the densely packed elements of this array
Returns null if there is no such array
|
List<Double> |
asElementList()
Returns a List
|
AVector |
asVector()
Constructs a view of all elements in the array as a single vector in row-major order.
|
INDArray |
broadcast(int... targetShape)
Returns a view of this array broadcasted up to a larger shape
|
INDArray |
broadcastCloneLike(INDArray target)
Creates a mutable clone of the array, broadcasted upwards if necessary to match the shape of the target.
|
INDArray |
broadcastCopyLike(INDArray target)
Creates a copy of the array, broadcasted upwards if necessary to match the shape of the target
Like broadCastCloneLike, but does not guarantee a mutable clone - hence may be faster
when used with immutable or specialized arrays
|
AMatrix |
broadcastLike(AMatrix target)
Broadcasts an array to match the shape of the target matrix
|
AVector |
broadcastLike(AVector target)
Broadcasts an array to match the shape of the target vector
|
INDArray |
broadcastLike(INDArray target)
Broadcasts an array to match the shape of the target
|
protected void |
checkDimension(int dimension)
Checks if an array has the specified dimension.
|
void |
checkMutable()
Checks if an array is mutable.
|
void |
clamp(double min,
double max)
Clamps all the elements of this array within the specified [min,max] range
|
INDArray |
clone()
Returns a clone of the array data, as a new array which will be fully mutable
and may be of a different class to the original.
|
int |
componentCount()
Returns the number of components of this array.
|
INDArray |
copy()
Returns a defensive copy of the array data.
|
INDArray |
dense()
Coerces this INDArray to a dense format, without changing its element values.
|
INDArray |
denseClone()
Creates a fully mutable dense clone of this array.
|
double |
density() |
void |
divide(double factor)
Divides all elements by a given factor
|
void |
divide(INDArray a)
Divides all elements in place by the equivalent elements in a second array
|
INDArray |
divideCopy(INDArray a)
Divides all elements by the equivalent elements in a second array.
|
double |
elementAbsPowSum(double p)
Returns the sum of the absolute values of all the elements raised to a specified power
|
Iterator<Double> |
elementIterator()
Returns an iterator over all elements in this array, in row-major order
|
double |
elementMax()
Returns the maximum element value in this array.
|
double |
elementMin()
Returns the maximum element value in this array.
|
double |
elementPowSum(double p)
Returns the sum of all the elements raised to a specified power
|
double |
elementProduct()
Returns the product of all elements in the array.
|
boolean |
elementsEqual(double value)
Returns true if all elements are equal to a specific value
|
double |
elementSquaredSum()
Returns the sum of squared elements in this array.
|
double |
elementSum()
Returns the sum of all elements in this array.
|
INDArray |
ensureMutable()
Ensures the array is a fully mutable, efficient representation that is not
a view.
|
boolean |
epsilonEquals(INDArray a)
Tests if this array is approximately equal to another array.
|
boolean |
epsilonEquals(INDArray a,
double epsilon)
Tests is this array is approximately equal to another array, up to a given tolerance (epsilon)
The arrays must have the same shape
|
boolean |
equals(AVector a) |
boolean |
equals(INDArray a)
Checks if two arrays are equal exactly in terms of both value and shape
|
boolean |
equals(Object o) |
boolean |
equalsArray(double[] data)
Returns true if the elements in this array exactly match the elements in the given array, in
row-major order
|
boolean |
equalsArray(double[] data,
int offset)
Returns true if the elements in this array exactly match the elements in the given array, in
row-major order
|
void |
exp()
Computes the function e^x (in-place) for all array elements
|
void |
fill(double value)
Fills this array with a single double value.
|
abstract double |
get()
Returns the double value of a scalar array
|
double |
get(AIndex ix)
Returns the double value at the specified position in the array
|
double |
get(Index ix)
Returns the double value at the specified position in the array
|
abstract double |
get(int i)
Returns the double value at the specified position in a 1D vector
|
abstract double |
get(int i,
int j)
Returns the double value at the specified position in a 2D matrix
|
double |
get(long i)
Returns the double value at the specified position in a 1D vector
|
double |
get(long[] xs)
Returns the double value at the specified index position in an array
|
double |
get(long x,
long y)
Returns the double value at the specified position in a 2D matrix
|
INDArray |
getComponent(int k)
Gets a component from the array at the specified index
Will throw an error if components are not supported, or if the component is out of bounds as defined by 0 <= k |
INDArray[] |
getComponents()
Gets all components in a new array, with length componentCount();
|
double[] |
getElements()
Gets all elements of the array as a Java double[] array
|
void |
getElements(double[] arr)
Copies all the elements of this INDArray to the specified double array
|
void |
getElements(double[] dest,
int offset)
Gets all elements of the array, copying them into a double array at the specified offset
|
void |
getElements(Object[] dest,
int offset)
Gets all elements of the array, copying them into an object array at the specified offset
|
long[] |
getLongShape()
Returns the shape of the array as an array of longs.
|
int |
getShape(int dim)
Returns the dimension size for a specific dimension in the array's shape
|
int[] |
getShapeClone()
Returns the shape of the array as an array of ints, guaranteed to be a new array
i.e.
|
List<?> |
getSlices()
Returns a list of all major slices of this array.
|
List<?> |
getSlices(int dimension)
Returns a list of all slices of this array along a given dimension.
|
List<INDArray> |
getSliceViews()
Returns a list of slices as mutable INDArray views.
|
INDArray |
getTranspose()
Returns the transpose of this array.
|
INDArray |
getTransposeCopy()
Returns a transposed copy of the array.
|
INDArray |
getTransposeView()
Returns a transposed view of the array.
|
int |
hashCode() |
boolean |
hasUncountable()
Returns true if any element is this array is NaN or infinite
|
INDArray |
immutable()
Returns an immutable version of this array.
|
INDArray |
innerProduct(AScalar s)
Calculates the inner product of this array with a scalar
|
INDArray |
innerProduct(AVector a)
Computes the inner product of this array with a vector
|
INDArray |
innerProduct(double a)
Calculates the inner product of this array with a double value
|
INDArray |
innerProduct(INDArray a)
Calculates the inner product of this array with another array.
|
boolean |
isBoolean()
Returns true if the array is boolean (contains only 0.0 or 1.0 values)
|
boolean |
isDense()
Returns true if the array is in a dense format.
|
boolean |
isElementConstrained()
Returns true if this array has some constraints on element values
|
boolean |
isFullyMutable()
If this method returns true, the INDArray is guaranteed to be fully mutable
in all positions i.e.
|
boolean |
isMutable()
Returns true if the INDArray is mutable (at least partially)
|
boolean |
isSameShape(INDArray a)
Returns true if this array is the same shape as another array
|
boolean |
isSparse()
Returns true if the array is in a sparse format
|
boolean |
isZero()
Returns true if the array is zero (all elements equal to zero)
|
Iterator<T> |
iterator() |
INDArray |
join(INDArray a)
Joins an array with another array along the major dimension
|
INDArray |
join(INDArray a,
int dimension)
Joins an array with another array along a specified dimension
|
void |
log()
Computes the natural logarithm (in-place) for all array elements
|
void |
multiply(double d)
Multiplies all elements of the array in place by a given double value
|
void |
multiply(INDArray a)
Multiplies all elements by the equivalent elements in a second array, i.e.
|
INDArray |
multiplyCopy(double d)
Returns a copy of the array with all elements multiplied by a single constant value
|
INDArray |
multiplyCopy(INDArray a)
Multiplies all elements by the equivalent elements in a second array, i.e.
|
INDArray |
mutable()
Coerces this INDArray to a fully mutable format.
|
void |
negate()
Negates all elements in the array in place
|
INDArray |
negateCopy()
Negates all elements in the array, returning a new array
|
long |
nonZeroCount()
Returns the number of non-zero elements in the array.
|
INDArray |
outerProduct(INDArray a)
Calculates the outer product of this array with another array.
|
void |
pow(double exponent)
Raises all elements of the array to a specified power in place
|
void |
reciprocal()
Replaces all elements in the array with their reciprocal
|
INDArray |
reciprocalCopy()
Returns a new array where every element is the reciprocal of the corresponding element in this array
|
double |
reduce(Op2 op)
Reduces over all elements of the array in row-major order.
|
double |
reduce(Op2 op,
double init)
Reduces over all elements of the array in row-major order.
|
AVector |
reduceSlices(Op2 op)
Reduces each slice of the array by the given operator
|
AVector |
reduceSlices(Op2 op,
double init)
Reduces each slice of the array by the given operator
Uses the specified init value for reduction of each slice
|
INDArray |
reorder(int[] order)
Returns a re-ordered array by taking the specified order of slices along dimension 0
|
INDArray |
reorder(int dim,
int[] order)
Returns a re-ordered array by taking the specified order of slices along a given dimension
May or may not use views of underlying slices (i.e.
|
INDArray |
reshape(int... targetShape)
Returns a new array by rearranging the elements of this array into the desired shape
Truncates or zero-pads the elements as required to fill the new shape
|
INDArray |
rotateView(int dimension,
int shift)
Returns rotated view of this array
|
void |
scale(double d)
Scales all elements of the array in place by a given double value
|
void |
scaleAdd(double factor,
double constant)
Scales all elements of the array by a given double value and adds a constant value
|
void |
scaleAdd(double factor,
INDArray b,
double bfactor,
double constant)
Scales all elements of the array by a given double value, adds a scaled second array and adds a constant value
|
INDArray |
scaleCopy(double d)
Scales all elements of the array by a given double value, returning a new array
|
void |
set(double value)
Sets all elements of an array to a specific double value
|
void |
set(INDArray a)
Sets this array to the element values contained in another array.
|
void |
set(int x,
double value)
Sets a value at a given position in a mutable 1D array
|
void |
set(int x,
int y,
double value)
Sets a value at a given position in a mutable 2D array
|
void |
set(long[] xs,
double value)
Sets the element at the given indexed position in a mutable array
|
void |
set(Object o)
Sets this array to the element values contained in the given object.
|
void |
setElements(double... values)
Sets all elements in an array using the given double values
|
void |
setElements(double[] values,
int offset)
Sets all elements in an array using the given double values
|
void |
setElements(int pos,
double[] values,
int offset,
int length)
Sets elements in an array using the given double values.
|
void |
setInnerProduct(INDArray a,
INDArray b)
Sets this array to the inner product of two arrays.
|
void |
setMultiple(INDArray a,
double b)
Sets this array to be the multiple of another array.
|
void |
setMultiple(INDArray a,
INDArray b)
Sets this array to the element-wise multiple of two arrays.
|
void |
signum()
Calculates the signum of all elements of this mutable array
Sets each component of the array to its sign value (-1, 0 or 1)
|
INDArray |
signumCopy()
Returns a copy of the array with the signum operator applied to each element
|
Object |
sliceValue(int i)
Returns the value of a major slice of this array (slice along dimension 0)
Like 'slice', except returns a Double value for slices of 1D vectors
|
INDArray |
sparse()
Coerces this INDArray to a sparse format, without changing its element values.
|
INDArray |
sparseClone()
Creates a fully mutable clone of this array.
|
void |
sqrt()
Computes the square root of all elements in the array
|
void |
square()
Squares all elements of the array in place
|
INDArray |
squareCopy()
Squares all elements of the array, returning a new array
|
void |
sub(AScalar a)
Subtracts a scalar from every element of this array
|
void |
sub(double a)
Subtracts a double value from all elements in this array
|
void |
sub(INDArray a)
Subtracts all the elements of another array from this array, in an elementwise order.
|
INDArray |
subArray(int[] offsets,
int[] shape)
Returns a subarray view of a larger array
|
INDArray |
subCopy(INDArray a)
Creates a new array equal to the subtraction of another array from this array
|
Array |
toArray()
Coerces the array into a packed mutable Array instance
May return the same array if it is already a dense Array instance
|
double[] |
toDoubleArray()
Copies the elements of this array to a new double[] array.
|
void |
toDoubleBuffer(DoubleBuffer dest)
Copies the elements of this INDArray to the specified double buffer
|
INDArray[] |
toSliceArray()
Copies the slices of this array to a new INDArray[]
|
String |
toString() |
String |
toStringFull() |
Vector |
toVector()
Coerces the array into a flattened dense Vector, in row-major order
May return the same array if it is already a Vector instance
|
void |
validate()
Validates the internal data structure of the INDArray.
|
INDArray |
withComponents(INDArray... cs)
Returns a new array of the same shape/structure as the original but with the specified components.
|
finalize, getClass, notify, notifyAll, wait, wait, waitdimensionality, elementCount, exactClone, get, getShape, isView, set, slice, slice, sliceCountforEach, spliteratorpublic abstract double get()
INDArraypublic abstract double get(int i)
INDArraypublic double get(long i)
INDArraypublic abstract double get(int i,
int j)
INDArraypublic double get(long x,
long y)
INDArraypublic double get(long[] xs)
INDArraypublic double get(AIndex ix)
INDArraypublic double get(Index ix)
INDArraypublic int getShape(int dim)
INDArraypublic int[] getShapeClone()
INDArraygetShapeClone in interface INDArraypublic long[] getLongShape()
INDArraygetLongShape in interface INDArraypublic boolean epsilonEquals(INDArray a)
INDArrayepsilonEquals in interface INDArraypublic boolean epsilonEquals(INDArray a, double epsilon)
INDArrayepsilonEquals in interface INDArraypublic boolean isBoolean()
INDArraypublic boolean isSparse()
INDArraypublic boolean isDense()
INDArraypublic boolean isMutable()
INDArraypublic boolean isFullyMutable()
INDArrayisFullyMutable in interface INDArraypublic void applyOp(Op op)
INDArraypublic void applyOp(IOperator op)
INDArraypublic void applyOp(Op2 op, INDArray b)
INDArraypublic void applyOp(Op2 op, double b)
INDArraypublic void multiply(double d)
INDArraypublic INDArray multiplyCopy(double d)
INDArraymultiplyCopy in interface INDArrayd - A scalar factorpublic INDArray applyOpCopy(Op op)
INDArrayapplyOpCopy in interface INDArraypublic double reduce(Op2 op, double init)
INDArraypublic double reduce(Op2 op)
INDArraypublic boolean isElementConstrained()
INDArrayisElementConstrained in interface INDArraypublic boolean isSameShape(INDArray a)
INDArrayisSameShape in interface INDArraypublic AVector asVector()
INDArraypublic void setElements(double[] values,
int offset)
INDArraysetElements in interface INDArrayvalues - Element values in a double[] array. There must be at least as many element values as elements in this array.offset - Position in the values array from which to start taking values.public void setElements(int pos,
double[] values,
int offset,
int length)
INDArraysetElements in interface INDArraypos - Offset into this array, expressed in terms of number of elements in row major ordervalues - Element values in a double[] array. There must be at least as many element values as elements in this array.offset - Position in the values array from which to start taking values.length - Number of elements to set.public boolean isZero()
INDArraypublic INDArray ensureMutable()
INDArrayensureMutable in interface INDArraypublic void fill(double value)
INDArraypublic INDArray innerProduct(double a)
INDArrayinnerProduct in interface INDArraypublic INDArray innerProduct(INDArray a)
INDArrayinnerProduct in interface INDArraypublic INDArray innerProduct(AScalar s)
INDArrayinnerProduct in interface INDArraypublic INDArray innerProduct(AVector a)
INDArrayinnerProduct in interface INDArraya - A vectorpublic INDArray outerProduct(INDArray a)
INDArrayouterProduct in interface INDArraypublic INDArray getTranspose()
INDArraygetTranspose in interface INDArraypublic INDArray getTransposeView()
INDArraygetTransposeView in interface INDArraypublic INDArray getTransposeCopy()
INDArraygetTransposeCopy in interface INDArraypublic final void scale(double d)
INDArraypublic void scaleAdd(double factor,
double constant)
INDArraypublic void scaleAdd(double factor,
INDArray b,
double bfactor,
double constant)
INDArraypublic void addMultiple(INDArray src, double factor)
INDArrayaddMultiple in interface INDArraypublic void addPower(INDArray src, double exponent)
INDArraypublic void addPower(INDArray src, double exponent, double factor)
INDArraypublic void addInnerProduct(INDArray a, INDArray b)
INDArrayaddInnerProduct in interface INDArraypublic void addInnerProduct(AMatrix a, INDArray b)
a - b - public void addInnerProduct(AVector a, INDArray b)
a - b - public void addOuterProduct(INDArray a, INDArray b)
INDArrayaddOuterProduct in interface INDArraypublic void setInnerProduct(INDArray a, INDArray b)
INDArraysetInnerProduct in interface INDArraypublic void setMultiple(INDArray a, INDArray b)
INDArraysetMultiple in interface INDArraypublic void setMultiple(INDArray a, double b)
INDArraysetMultiple in interface INDArraypublic INDArray addCopy(double d)
INDArraypublic void set(double value)
INDArraypublic void set(int x,
double value)
INDArraypublic void set(int x,
int y,
double value)
INDArraypublic void set(long[] xs,
double value)
INDArraypublic void set(INDArray a)
INDArraypublic void clamp(double min,
double max)
INDArraypublic void set(Object o)
INDArraypublic void setElements(double... values)
INDArraysetElements in interface INDArrayvalues - Element values in a double[] array. There must be at least as many element values as elements in this array.public void square()
INDArraypublic INDArray squareCopy()
INDArraysquareCopy in interface INDArraypublic INDArray absCopy()
INDArraypublic INDArray reciprocalCopy()
INDArrayreciprocalCopy in interface INDArraypublic INDArray signumCopy()
INDArraysignumCopy in interface INDArraypublic Iterator<Double> elementIterator()
INDArrayelementIterator in interface INDArraypublic boolean equalsArray(double[] data)
INDArrayequalsArray in interface INDArraydata - Array of double element values to check for equalitypublic String toStringFull()
public INDArray clone()
INDArraypublic INDArray copy()
INDArraypublic INDArray scaleCopy(double d)
INDArraypublic INDArray negateCopy()
INDArraynegateCopy in interface INDArraypublic boolean equals(INDArray a)
INDArraypublic boolean equals(AVector a)
public boolean equalsArray(double[] data,
int offset)
INDArrayequalsArray in interface INDArraydata - Array of double element values to check for equalityoffset - Offset into the data arraypublic void add(INDArray a)
INDArraypublic final void sub(AScalar a)
a - public final void add(AScalar a)
a - public void add(double a)
INDArraypublic void addAt(long i,
double v)
INDArraypublic INDArray addCopy(INDArray a)
INDArraypublic INDArray subCopy(INDArray a)
INDArraypublic INDArray multiplyCopy(INDArray a)
INDArraymultiplyCopy in interface INDArraypublic INDArray divideCopy(INDArray a)
INDArraydivideCopy in interface INDArraypublic void addToArray(double[] data,
int offset)
INDArrayaddToArray in interface INDArraypublic void pow(double exponent)
INDArraypublic void sub(double a)
INDArraypublic void multiply(INDArray a)
INDArraypublic void divide(INDArray a)
INDArraypublic void divide(double factor)
INDArraypublic long nonZeroCount()
INDArraynonZeroCount in interface INDArraypublic double density()
public double elementSum()
INDArrayelementSum in interface INDArraypublic double elementProduct()
INDArrayelementProduct in interface INDArraypublic double elementMax()
INDArrayelementMax in interface INDArraypublic boolean elementsEqual(double value)
INDArrayelementsEqual in interface INDArraypublic double elementMin()
INDArrayelementMin in interface INDArraypublic double elementSquaredSum()
INDArrayelementSquaredSum in interface INDArraypublic void sub(INDArray a)
INDArraypublic void negate()
INDArraypublic void reciprocal()
INDArrayreciprocal in interface INDArraypublic void abs()
INDArraypublic void sqrt()
INDArraypublic void log()
INDArraypublic void exp()
INDArraypublic void signum()
INDArraypublic INDArray reshape(int... targetShape)
INDArraypublic INDArray reorder(int dim, int[] order)
INDArraypublic INDArray reorder(int[] order)
INDArraypublic List<?> getSlices(int dimension)
INDArraypublic List<?> getSlices()
INDArraypublic List<INDArray> getSliceViews()
INDArraygetSliceViews in interface INDArraypublic int componentCount()
INDArraycomponentCount in interface INDArraypublic INDArray getComponent(int k)
INDArraygetComponent in interface INDArraypublic INDArray[] getComponents()
INDArraygetComponents in interface INDArraypublic INDArray withComponents(INDArray... cs)
INDArraywithComponents in interface INDArraypublic INDArray subArray(int[] offsets, int[] shape)
INDArraypublic INDArray join(INDArray a, int dimension)
INDArraypublic INDArray join(INDArray a)
INDArraypublic INDArray rotateView(int dimension, int shift)
INDArrayrotateView in interface INDArraypublic Vector toVector()
INDArraypublic Array toArray()
INDArraypublic List<Double> asElementList()
INDArrayasElementList in interface INDArraypublic final double[] getElements()
INDArraygetElements in interface INDArraypublic void getElements(double[] dest,
int offset)
INDArraygetElements in interface INDArraypublic void getElements(Object[] dest, int offset)
INDArraygetElements in interface INDArraypublic void getElements(double[] arr)
INDArraygetElements in interface INDArraypublic void toDoubleBuffer(DoubleBuffer dest)
INDArraytoDoubleBuffer in interface INDArraypublic double[] toDoubleArray()
INDArraytoDoubleArray in interface INDArraypublic double[] asDoubleArray()
INDArrayasDoubleArray in interface INDArraypublic INDArray[] toSliceArray()
INDArraytoSliceArray in interface INDArraypublic Object sliceValue(int i)
INDArraysliceValue in interface INDArraypublic INDArray broadcast(int... targetShape)
INDArraypublic INDArray immutable()
INDArraypublic INDArray mutable()
INDArraypublic INDArray sparse()
INDArraypublic INDArray sparseClone()
INDArraysparseClone in interface INDArraypublic INDArray dense()
INDArraypublic INDArray denseClone()
INDArraydenseClone in interface INDArraypublic INDArray broadcastLike(INDArray target)
INDArraybroadcastLike in interface INDArraytarget - The target arraypublic AMatrix broadcastLike(AMatrix target)
INDArraybroadcastLike in interface INDArraytarget - The target matrixpublic AVector broadcastLike(AVector target)
INDArraybroadcastLike in interface INDArraytarget - The target vectorpublic INDArray broadcastCloneLike(INDArray target)
INDArraybroadcastCloneLike in interface INDArraytarget - The target arraypublic INDArray broadcastCopyLike(INDArray target)
INDArraybroadcastCopyLike in interface INDArraytarget - The target arraypublic void validate()
INDArrayprotected void checkDimension(int dimension)
dimension - public void checkMutable()
INDArraycheckMutable in interface INDArraypublic boolean hasUncountable()
hasUncountable in interface INDArraypublic double elementPowSum(double p)
elementPowSum in interface INDArraypublic double elementAbsPowSum(double p)
elementAbsPowSum in interface INDArraypublic AVector reduceSlices(Op2 op)
INDArrayreduceSlices in interface INDArraypublic AVector reduceSlices(Op2 op, double init)
INDArrayreduceSlices in interface INDArrayCopyright © 2016. All rights reserved.