square

odl.square(x1, out=None)

Calculates the square of each element x_i (i.e., x_i * x_i) of the input array x