abs method Null safety

void abs()

Calculates absolute value for each element.

Element i is calculated with the formula:

x[i] = x[i].abs();

Implementation

void abs();