public class MatrixIndexScalar extends AScalar
| Modifier and Type | Method and Description |
|---|---|
Scalar |
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.
|
MatrixIndexScalar |
exactClone()
Creates a deep clone of an array, using the same class implementation as the original array
|
double |
get()
Returns the double value of a scalar array
|
ImmutableScalar |
immutable()
Returns an immutable version of this array.
|
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 |
isView()
Return true if this array is considered as a view type.
|
AScalar |
mutable()
Coerces this INDArray to a fully mutable format.
|
void |
set(double value)
Sets all elements of an array to a specific double value
|
void |
validate()
Validates the internal data structure of the INDArray.
|
static MatrixIndexScalar |
wrap(AMatrix matrix,
int row,
int col) |
abs, add, add, addAt, addCopy, addInnerProduct, addToArray, applyOp, applyOp, applyOp, applyOp, asDoubleArray, asVector, broadcast, broadcastLike, broadcastLike, broadcastLike, checkDimension, clamp, dense, denseClone, dimensionality, divide, elementCount, elementIterator, elementMax, elementMin, elementProduct, elementsEqual, elementSquaredSum, elementSum, epsilonEquals, epsilonEquals, equals, equals, equals, equalsArray, get, get, get, getElements, getElements, getLongShape, getShape, getShape, getSlices, getTranspose, getTransposeView, hashCode, hasUncountable, innerProduct, innerProduct, innerProduct, innerProduct, isBoolean, isElementConstrained, isZero, iterator, multiply, multiply, negate, nonZeroCount, outerProduct, pow, reduce, reduce, reshape, set, setElements, setElements, slice, slice, sliceCount, sparse, sparseClone, square, sub, sub, subArray, toDoubleArray, toDoubleBuffer, toSliceArray, toStringabsCopy, add, addCopy, addInnerProduct, addInnerProduct, addMultiple, addOuterProduct, addPower, addPower, applyOpCopy, asElementList, broadcastCloneLike, broadcastCopyLike, checkMutable, componentCount, copy, density, divide, divideCopy, elementAbsPowSum, elementPowSum, ensureMutable, equals, equalsArray, exp, fill, get, get, get, get, get, getComponent, getComponents, getElements, getElements, getShapeClone, getSlices, getSliceViews, getTransposeCopy, isDense, isSameShape, isSparse, join, join, log, multiplyCopy, multiplyCopy, negateCopy, reciprocal, reciprocalCopy, reduceSlices, reduceSlices, reorder, reorder, rotateView, scale, scaleAdd, scaleAdd, scaleCopy, set, set, set, set, set, setElements, setInnerProduct, setMultiple, setMultiple, signum, signumCopy, sliceValue, sqrt, squareCopy, sub, subCopy, toArray, toStringFull, toVector, withComponentsfinalize, getClass, notify, notifyAll, wait, wait, waitabsCopy, addCopy, addMultiple, addOuterProduct, addPower, addPower, applyOpCopy, asElementList, broadcastCloneLike, broadcastCopyLike, checkMutable, componentCount, copy, divide, divideCopy, elementAbsPowSum, elementPowSum, ensureMutable, equalsArray, exp, fill, get, get, get, get, get, getComponent, getComponents, getElements, getElements, getShapeClone, getSlices, getSliceViews, getTransposeCopy, isDense, isSameShape, isSparse, join, join, log, multiplyCopy, multiplyCopy, negateCopy, reciprocal, reciprocalCopy, reduceSlices, reduceSlices, reorder, reorder, rotateView, scale, scaleAdd, scaleAdd, scaleCopy, set, set, set, set, set, setElements, setInnerProduct, setMultiple, setMultiple, signum, signumCopy, sliceValue, sqrt, squareCopy, subCopy, toArray, toVector, withComponentsforEach, spliteratorpublic static MatrixIndexScalar wrap(AMatrix matrix, int row, int col)
public double get()
INDArraypublic void set(double value)
INDArraypublic boolean isMutable()
INDArraypublic boolean isFullyMutable()
INDArrayisFullyMutable in interface INDArrayisFullyMutable in class AScalarpublic boolean isView()
INDArraypublic Scalar clone()
INDArraypublic MatrixIndexScalar exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AScalarpublic AScalar mutable()
INDArraypublic ImmutableScalar immutable()
INDArraypublic void validate()
INDArrayCopyright © 2016. All rights reserved.