square#

swordfish.function.square()#

Return the square of X. The data type of the result is always DOUBLE.

Parameters:

X (Constant) – A scalar/pair/vector/matrix.