public interface INDArray extends Cloneable
| Modifier and Type | Method and Description |
|---|---|
void |
applyOp(IOp op)
Applies a unary operator to all elements of the array (in-place)
|
void |
applyOp(Op op)
Applies a unary operator to all elements of the array (in-place)
|
AVector |
asVector()
Creates a view of the array as a single vector in row-major order.
|
INDArray |
clone() |
int |
dimensionality() |
long |
elementCount() |
boolean |
equals(INDArray a) |
INDArray |
exactClone() |
double |
get() |
double |
get(int... indexes) |
double |
get(int x) |
double |
get(int x,
int y) |
int[] |
getShape() |
boolean |
isElementConstrained()
Returns true if the IND has additional constraints on element values
|
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
|
INDArray |
reshape(int... dimensions) |
void |
set(double value) |
void |
set(int[] indexes,
double value) |
void |
set(int x,
double value) |
void |
set(int x,
int y,
double value) |
INDArray |
slice(int majorSlice) |
int dimensionality()
int[] getShape()
double get()
double get(int x)
double get(int x,
int y)
double get(int... indexes)
void set(double value)
void set(int x,
double value)
void set(int x,
int y,
double value)
void set(int[] indexes,
double value)
AVector asVector()
INDArray reshape(int... dimensions)
INDArray slice(int majorSlice)
long elementCount()
boolean isMutable()
boolean isFullyMutable()
boolean isElementConstrained()
boolean isView()
INDArray clone()
void applyOp(Op op)
op - void applyOp(IOp op)
op - boolean equals(INDArray a)
INDArray exactClone()
Copyright © 2013. All Rights Reserved.