| Modifier and Type | Method and Description |
|---|---|
static ImmutableScalar |
create(AScalar a) |
static ImmutableScalar |
create(double value) |
AScalar |
exactClone()
Returns an exact deep clone of an array (i.e.
|
double |
get()
Returns the double value of a scalar array
|
void |
getElements(double[] dest,
int offset)
Gets all elements of the array, copying them into a double array
|
ImmutableScalar |
immutable() |
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 a view type
|
Scalar |
mutable() |
void |
set(double value)
Sets all elements of an array to a specific double value
|
abs, add, add, add, applyOp, applyOp, asDoubleArray, asVector, broadcast, clamp, clone, copyTo, dimensionality, divide, elementCount, elementIterator, elementSquaredSum, elementSum, epsilonEquals, epsilonEquals, equals, equals, equals, get, getLongShape, getShape, getShape, getSlices, getTranspose, getTransposeView, hashCode, innerProduct, innerProduct, isElementConstrained, isZero, iterator, multiply, multiply, negate, nonZeroCount, outerProduct, pow, reshape, set, setElements, slice, slice, sliceCount, square, sub, sub, sub, toDoubleArray, toDoubleBuffer, toString, validateasElementList, broadcastCloneLike, broadcastLike, divide, ensureMutable, exp, fill, get, get, getSliceViews, getTransposeCopy, isBoolean, isSameShape, log, reciprocal, scale, scaleAdd, set, set, set, set, setElements, signum, sqrt, toArray, toVectorfinalize, getClass, notify, notifyAll, wait, wait, waitasElementList, broadcastCloneLike, broadcastLike, divide, ensureMutable, exp, fill, get, get, getSliceViews, getTransposeCopy, isBoolean, isSameShape, log, reciprocal, scale, scaleAdd, set, set, set, set, setElements, signum, sqrt, toArray, toVectorpublic static ImmutableScalar create(double value)
public static ImmutableScalar create(AScalar a)
public boolean isMutable()
INDArraypublic boolean isFullyMutable()
INDArrayisFullyMutable in interface INDArrayisFullyMutable in class AScalarpublic boolean isView()
INDArraypublic double get()
INDArraypublic void getElements(double[] dest,
int offset)
INDArraygetElements in interface INDArraygetElements in class AScalarpublic void set(double value)
INDArraypublic AScalar exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AScalarpublic Scalar mutable()
public ImmutableScalar immutable()
Copyright © 2013. All Rights Reserved.