java.lang.Object
swim.math.Tensor
swim.math.MutableTensor
- All Implemented Interfaces:
Debug
-
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionMutableTensor
(TensorDims dims, double... array) MutableTensor
(TensorDims dims, double[] array, int offset) MutableTensor
(TensorDims dims, float... array) MutableTensor
(TensorDims dims, float[] array, int offset) protected
MutableTensor
(TensorDims dims, Object array, int offset) -
Method Summary
Modifier and TypeMethodDescription<T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.static MutableTensor
of
(TensorDims dims, int offset, double... array) static MutableTensor
of
(TensorDims dims, int offset, float... array) static MutableTensor
zero
(TensorDims dims) static MutableTensor
zero
(TensorDims dims, Precision prec) Methods inherited from class swim.math.Tensor
add, add, add, add, add, add, add, add, add, add, add, add, cast, cast, cast, combine, combine, combine, combine, combine, combine, combine, combine, combine, combine, combine, combine, copy, copy, copy, copy, dimensions, equals, form, form, getArrayOffset, getDouble, getDoubleArray, getFloat, getFloatArray, getOffset, hashCode, minus, mold, mold, mold, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiplyMatrix, multiplyMatrix, multiplyMatrix, multiplyMatrix, multiplyMatrix, multiplyMatrix, multiplyMatrix, multiplyMatrix, multiplyMatrix, multiplyMatrix, multiplyMatrix, multiplyMatrix, multiplyMatrix, opposite, opposite, opposite, opposite, opposite, opposite, opposite, opposite, opposite, plus, precision, space, space, space, space, subtract, subtract, subtract, subtract, subtract, subtract, subtract, subtract, subtract, subtract, subtract, subtract, times, times, timesMatrix, toString
-
Constructor Details
-
MutableTensor
-
MutableTensor
-
MutableTensor
-
MutableTensor
-
MutableTensor
-
-
Method Details