minusAssign

abstract operator fun Tensor<T>.minusAssign(value: T)

Subtracts the scalar value from each element of this tensor.

Parameters

value

the number to be subtracted from each element of this tensor.


abstract operator fun Tensor<T>.minusAssign(arg: StructureND<T>)

Each element of the tensor arg is subtracted from each element of this tensor.

Parameters

arg

tensor to be subtracted.