sqr
Square (X^2).
Syntax
Section titled “Syntax”Y = sqr(X)Description
Section titled “Description”Returns X.^2 element-wise. Slightly faster than X.^2 because it avoids the general-power code path.
Example
Section titled “Example”sqr(5) % 25