Package com.yahoo.tensor.impl
Class TensorAddressAny
java.lang.Object
com.yahoo.tensor.TensorAddress
com.yahoo.tensor.impl.TensorAddressAny
- All Implemented Interfaces:
Comparable<TensorAddress>
Parent of tensor address family centered around each dimension as int.
A positive number represents a numeric index usable as a direect addressing.
- 1 is representing an invalid/null address
Other negative numbers are an enumeration maintained in
Label
- Author:
- baldersheim
-
Nested Class Summary
Nested classes/interfaces inherited from class com.yahoo.tensor.TensorAddress
TensorAddress.Builder, TensorAddress.PartialBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlabel
(int i) Returns the i'th label in thisstatic TensorAddress
of()
static TensorAddress
of
(int label) static TensorAddress
of
(int... labels) static TensorAddress
of
(int label0, int label1) static TensorAddress
of
(int label0, int label1, int label2) static TensorAddress
of
(int label0, int label1, int label2, int label3) static TensorAddress
of
(long... labels) static TensorAddress
of
(long label0, long label1, long label2) static TensorAddress
of
(long label0, long label1, long label2, long label3) static TensorAddress
static TensorAddress
static TensorAddress
static TensorAddress
static TensorAddress
static TensorAddress
ofUnsafe
(long... labels) Methods inherited from class com.yahoo.tensor.TensorAddress
compareTo, fullAddressOf, isEmpty, labelToString, mappedPartialAddress, numericLabel, ofLabels, partialCopy, size, toString, toString, withLabel
-
Constructor Details
-
TensorAddressAny
public TensorAddressAny()
-
-
Method Details
-
label
Description copied from class:TensorAddress
Returns the i'th label in this- Specified by:
label
in classTensorAddress
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
of
-
ofUnsafe
-