java.lang.Object
swim.math.RN
- All Implemented Interfaces:
Debug,FN<RNVector,,Double> TensorSpace<RNVector,,Double> VectorModule<RNVector,,Double> VectorSpace<RNVector,Double>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal RNVectorfinal RNVector<T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.final TensorDimsfinal Doublefinal RNVectorof(double... array) final RNVectorfinal Rscalar()final intsize()static RNspace(int n) static RNspace(TensorDims dims) final RNVectortoString()zero()
-
Field Details
-
dims
-
-
Constructor Details
-
RN
-
-
Method Details
-
scalar
- Specified by:
scalarin interfaceTensorSpace<RNVector,Double> - Specified by:
scalarin interfaceVectorModule<RNVector,Double> - Specified by:
scalarin interfaceVectorSpace<RNVector,Double>
-
dimensions
- Specified by:
dimensionsin interfaceTensorSpace<RNVector,Double>
-
size
public final int size() -
zero
- Specified by:
zeroin interfaceTensorSpace<RNVector,Double> - Specified by:
zeroin interfaceVectorModule<RNVector,Double> - Specified by:
zeroin interfaceVectorSpace<RNVector,Double>
-
of
-
of
-
get
-
add
- Specified by:
addin interfaceTensorSpace<RNVector,Double> - Specified by:
addin interfaceVectorModule<RNVector,Double> - Specified by:
addin interfaceVectorSpace<RNVector,Double>
-
opposite
- Specified by:
oppositein interfaceTensorSpace<RNVector,Double> - Specified by:
oppositein interfaceVectorModule<RNVector,Double> - Specified by:
oppositein interfaceVectorSpace<RNVector,Double>
-
subtract
- Specified by:
subtractin interfaceTensorSpace<RNVector,Double> - Specified by:
subtractin interfaceVectorModule<RNVector,Double> - Specified by:
subtractin interfaceVectorSpace<RNVector,Double>
-
multiply
- Specified by:
multiplyin interfaceTensorSpace<RNVector,Double> - Specified by:
multiplyin interfaceVectorModule<RNVector,Double> - Specified by:
multiplyin interfaceVectorSpace<RNVector,Double>
-
combine
- Specified by:
combinein interfaceTensorSpace<RNVector,Double> - Specified by:
combinein interfaceVectorModule<RNVector,Double> - Specified by:
combinein interfaceVectorSpace<RNVector,Double>
-
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
toString
-
space
-
space
-