- java.lang.Object
-
- swim.math.TensorArray<V,S>
-
- All Implemented Interfaces:
swim.codec.Debug
public class TensorArray<V,S> extends Object implements swim.codec.Debug
-
-
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 booleancanEqual(TensorArray<?,?> that)voiddebug(swim.codec.Output<?> output)TensorDimsdimensions()booleanequals(Object other)Vget(int i)inthashCode()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)StringtoString()
-
-
-
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 void debug(swim.codec.Output<?> output)
- Specified by:
debugin interfaceswim.codec.Debug
-
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)
-
-