java.lang.Object
swim.math.TensorArraySpace<T,V,S>
- All Implemented Interfaces:
TensorSpace<T,S>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <V,S> TensorArraySpace<V[], V, S> create(Class<V> type, TensorSpace<V, S> next, int n) static <V,S> TensorArraySpace<V[], V, S> create(Class<V> type, TensorSpace<V, S> next, TensorDims dims) form(TensorForm<V> next) protected Object[]newArray(int length) abstract TensorSpace<V,S> next()abstract Tabstract Object[]zero()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface swim.math.TensorSpace
dimensions, scalar
-
Constructor Details
-
TensorArraySpace
public TensorArraySpace()
-
-
Method Details
-
next
-
of
-
toArray
-
form
-
newArray
-
zero
- Specified by:
zeroin interfaceTensorSpace<T,V>
-
add
- Specified by:
addin interfaceTensorSpace<T,V>
-
opposite
- Specified by:
oppositein interfaceTensorSpace<T,V>
-
subtract
- Specified by:
subtractin interfaceTensorSpace<T,V>
-
multiply
- Specified by:
multiplyin interfaceTensorSpace<T,V>
-
combine
- Specified by:
combinein interfaceTensorSpace<T,V>
-
create
public static <V,S> TensorArraySpace<V[],V, createS> (Class<V> type, TensorSpace<V, S> next, TensorDims dims) -
create
-