sin method Null safety

void sin()

Calculates sin for each element.

Element i is calculated with the formula:

x[i] = sin(x[i]);

Implementation

void sin();