public final class Power extends Tensor
PowerBuilder,
PowerFactory| Modifier and Type | Method and Description |
|---|---|
Tensor |
get(int i)
Returns element at i-th position.
|
TensorBuilder |
getBuilder()
Creates a builder for this tensor.
|
TensorFactory |
getFactory()
Returns a factory for this tensor.
|
Indices |
getIndices()
Returns indices of this tensor.
|
protected int |
hash()
Hash code of this tensor.
|
int |
size()
Returns the number of elements in this tensor.
|
String |
toString(OutputFormat mode)
Returns a string representation of a tensor according to the specified
OutputFormat. |
public Tensor get(int i)
Tensorpublic Indices getIndices()
TensorgetIndices in class Tensorprotected int hash()
Tensorpublic int size()
Tensorpublic String toString(OutputFormat mode)
TensorOutputFormat.public TensorBuilder getBuilder()
TensorTensorBuilder for more
information.getBuilder in class Tensorpublic TensorFactory getFactory()
TensorTensorFactory for more
information.getFactory in class TensorCopyright © 2014. All Rights Reserved.