timesAssign

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

Multiplies the scalar value by each element of this tensor.

Parameters

value

the number to be multiplied by each element of this tensor.


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

Each element of the tensor arg is multiplied by each element of this tensor.

Parameters

arg

tensor to be multiplied.