mul method Null safety

void mul(
  1. Tensor<T> right
)

Multiplies elements.

Element i is calculated with the formula:

x[i] = x[i] * right[i];

Throws ArgumentError if tensor shapes are not equal.

Implementation

void mul(Tensor<T> right);