sqr(value)

import almafa.engine.builtinFunctions-1

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.

import almafa.engine.builtinFunctions-1;
sqr(-3)