| 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 the double value of a scalar array
|
add, add, add, applyOp, applyOp, asVector, broadcast, copyTo, dimensionality, elementCount, equals, equals, equals, get, getElements, getLongShape, getShape, getShape, getSlices, hashCode, innerProduct, isElementConstrained, iterator, multiply, nonZeroCount, outerProduct, reshape, set, setElements, slice, sliceCount, sub, sub, sub, toString, validateget, get, scale, set, set, set, set, setElements, squarepublic VectorIndexScalar(AVector vector, int index)
public double get()
INDArraypublic void set(double value)
IScalarpublic 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 AScalarCopyright © 2013. All Rights Reserved.