| Constructor and Description |
|---|
VectorIndexScalar(AVector vector,
int index) |
| Modifier and Type | Method and Description |
|---|---|
DoubleScalar |
clone()
Returns a clone of the array, as a new array which will be fully mutable
and may be of a different class to the original.
|
VectorIndexScalar |
exactClone()
Returns an exact deep clone of an array (i.e.
|
double |
get()
Returns the double value of a scalar array
|
boolean |
isFullyMutable()
Returns true if the INDArray is 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 is a view
|
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.
|
add, add, add, applyOp, applyOp, asVector, broadcast, copyTo, dimensionality, elementCount, elementSquaredSum, elementSum, equals, equals, equals, get, getElements, getLongShape, getShape, getShape, getSlices, hashCode, innerProduct, isElementConstrained, iterator, multiply, multiply, negate, nonZeroCount, outerProduct, reshape, set, setElements, slice, slice, sliceCount, sub, sub, sub, toDoubleBuffer, toStringget, get, getSliceViews, scale, scaleAdd, set, set, set, set, setElements, square, toVectorpublic VectorIndexScalar(AVector vector, int index)
public double get()
INDArraypublic void set(double value)
INDArraypublic boolean isMutable()
INDArraypublic boolean isFullyMutable()
INDArrayisFullyMutable in interface INDArrayisFullyMutable in class AScalarpublic boolean isView()
INDArraypublic DoubleScalar clone()
INDArraypublic VectorIndexScalar exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AScalarpublic void validate()
INDArrayCopyright © 2013. All Rights Reserved.