- java.lang.Object
-
- swim.math.TensorArray<V,S>
-
-
Constructor Summary
Constructors Constructor Description TensorArray(TensorSpace<TensorArray<V,S>,S> space, Object... array)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(TensorArray<?,?> that)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.TensorDims
dimensions()
boolean
equals(Object other)
V
get(int i)
int
hashCode()
TensorArray<V,S>
minus(TensorArray<V,S> that)
TensorArray<V,S>
opposite()
TensorArray<V,S>
plus(TensorArray<V,S> that)
TensorSpace<TensorArray<V,S>,S>
space()
static <V,S>
TensorArraySpace<TensorArray<V,S>,V,S>space(TensorSpace<V,S> next, int n)
static <V,S>
TensorArraySpace<TensorArray<V,S>,V,S>space(TensorSpace<V,S> next, TensorDims dims)
TensorArray<V,S>
times(S scalar)
String
toString()
-
-
-
Constructor Detail
-
TensorArray
public TensorArray(TensorSpace<TensorArray<V,S>,S> space, Object... array)
-
-
Method Detail
-
space
public final TensorSpace<TensorArray<V,S>,S> space()
-
dimensions
public final TensorDims dimensions()
-
get
public final V get(int i)
-
plus
public TensorArray<V,S> plus(TensorArray<V,S> that)
-
opposite
public TensorArray<V,S> opposite()
-
minus
public TensorArray<V,S> minus(TensorArray<V,S> that)
-
times
public TensorArray<V,S> times(S scalar)
-
canEqual
protected boolean canEqual(TensorArray<?,?> that)
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
space
public static <V,S> TensorArraySpace<TensorArray<V,S>,V,S> space(TensorSpace<V,S> next, TensorDims dims)
-
space
public static <V,S> TensorArraySpace<TensorArray<V,S>,V,S> space(TensorSpace<V,S> next, int n)
-
-