| Modifier and Type | Field and Description |
|---|---|
double |
value |
| Constructor and Description |
|---|
DoubleScalar(double value) |
| Modifier and Type | Method and Description |
|---|---|
void |
abs() |
void |
add(AScalar s) |
void |
add(double d) |
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.
|
static DoubleScalar |
create(AScalar a) |
static DoubleScalar |
create(double value) |
DoubleScalar |
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
|
boolean |
isView()
Return true if this is a view
|
void |
multiply(double factor)
Multiplies all elements of the array by a given double value
|
void |
negate() |
void |
set(double value)
Sets all elements of an array to a specific double value
|
void |
sub(double d) |
add, applyOp, applyOp, asVector, broadcast, clamp, copyTo, dimensionality, elementCount, elementSquaredSum, elementSum, epsilonEquals, epsilonEquals, equals, equals, equals, get, getLongShape, getShape, getShape, getSlices, getTranspose, getTransposeView, hashCode, innerProduct, isElementConstrained, isFullyMutable, isMutable, iterator, multiply, nonZeroCount, outerProduct, pow, reshape, set, setElements, slice, slice, sliceCount, square, sub, sub, toDoubleBuffer, toString, validateget, get, getSliceViews, reciprocal, scale, scaleAdd, set, set, set, set, setElements, toVectorfinalize, getClass, notify, notifyAll, wait, wait, waitget, get, getSliceViews, reciprocal, scale, scaleAdd, set, set, set, set, setElements, toVectorpublic static DoubleScalar create(double value)
public static DoubleScalar create(AScalar a)
public double get()
INDArraypublic void set(double value)
INDArraypublic void add(double d)
public void sub(double d)
public void multiply(double factor)
INDArraypublic void negate()
public boolean isView()
INDArraypublic DoubleScalar clone()
INDArraypublic void getElements(double[] dest,
int offset)
INDArraygetElements in interface INDArraygetElements in class AScalarpublic DoubleScalar exactClone()
INDArrayexactClone in interface INDArrayexactClone in class AScalarCopyright © 2013. All Rights Reserved.