divScalar method Null safety

void divScalar(
  1. num value,
  2. {bool noNan = false,
  3. bool swapArguments = false}
)

Divides elements.

Example

// Element i will be:
//     y[i]=1/x[i]
tensor.divScalar(1, swapArguments:true);

Implementation

void divScalar(num value, {bool noNan = false, bool swapArguments = false});