public abstract class AScalar extends Object implements INDArray
| Constructor and Description |
|---|
AScalar() |
| Modifier and Type | Method and Description |
|---|---|
AVector |
asVector() |
int |
dimensionality() |
long |
elementCount() |
abstract double |
get() |
double |
get(int... indexes) |
int[] |
getShape() |
boolean |
isMutable()
Returns true if the NDArray is mutable (at least partially)
|
INDArray |
reshape(int... dimensions) |
void |
set(double value) |
INDArray |
slice(int position) |
public abstract double get()
public void set(double value)
public int dimensionality()
dimensionality in interface INDArraypublic boolean isMutable()
INDArraypublic long elementCount()
elementCount in interface INDArrayCopyright © 2013. All Rights Reserved.