sq abstract method

void sq()

Calculates a*a for each element.

Element i is calculated with the formula:

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

Implementation

void sq();