Computes sign of x eltment-wise sign(x) = 0 if x=0 sign(x) =-1 if x<0 sign(x) = 1 if x>0 */
| 445 | sign(x) = 1 if x>0 |
| 446 | */ |
| 447 | VARP _Sign(VARP x) { |
| 448 | return _Unary(x, UnaryOpOperation_SIGN); |
| 449 | } |
| 450 | |
| 451 | /*Computes the trignometric inverse tangent of x element-wise. |
| 452 | The atan operation returns the inverse of tan, such that if y = tan(x) then, x = atan(y). |