- Function Sqr(x)
Sqr
Sqr(
x ! (input) numerical expression
)
Arguments
- x
A scalar numerical expression.
Return Value
The function
Sqr
returns \(x^2\).
Note
The function Sqr
can be used in constraints of nonlinear
mathematical programs.
See also
The functions Power
, Cube
, and Sqrt
. Arithmetic functions
are discussed in full detail in Arithmetic Functions of the Language Reference.