sqr(value)

Square of a number.

valueThe input.
return valueThe square of the input.

The input can be any real number, complex number, quantity, or matrix. In case of matrices, the result is computed elmentwise.

sqr(-3)