plusAssign

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

Adds the scalar value to each element of this tensor.

Parameters

value

the number to be added to each element of this tensor.


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

Each element of the tensor arg is added to each element of this tensor.

Parameters

arg

tensor to be added.